Quantitative Finance Stack Exchange is a question and answer site for finance professionals and academics. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Esper and its .NET port NEsper are components that enable Complex Event Processing (CEP) and Event Stream Processing (ESP) engines. They are especially suitable for trading applications. They can, among other things, make it easier to deal with data-bursts and threading and they use a query language tailored for event processing.

I'm am interested in:

  • drawbacks of (N)Esper in a trading environment, when compared to alternatives (eg. competing ESP/CEP, Database or custom)
  • the type of problems one may encounter when building a trading application around (N)Esper.
share|improve this question
It would be helpful to know what your own experience is with Esper or other CEP platforms. – chrisaycock Feb 18 '11 at 17:41
What exactly do you hope to gain from NEsper that Rx doesn't give you? – Dmitri Nesteruk Jan 10 '12 at 20:37
up vote 6 down vote accepted

See Marco's list of CEP vendors.

I'm currently using StreamInsight, Microsoft's new CEP engine.

I'd rate it as slightly better than NEsper, for the following reasons:

  • Supports LINQ natively within Visual Studio.
  • Better documentation (in my opinion).
  • Good samples.
  • Complete training course (see the StreamInsight blog).
  • The LINQ is compiled into IL code for speed.
  • The engine behind StreamInsight was developed by the same people on the SQL server team, they have applied a lot of the SQL algebra optimizations to make StreamInsight faster.
  • Faster - it has its own built in memory management to meet minimum latency requirements.


share|improve this answer

My vote is on StreamInsight too. We have used Esper but have dropped it in favor of StreamInsight as we find is much easier to work with. Less strange problems as we always had with Esper. StreamInsight seems to go the last mile with the implementation, everything just feels much more polished.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.