Feeds

ESP and CEP...what's the difference?

Patterns and exceptions

Boost IT visibility and business value

Comment If you talk to some vendors you could be forgiven for thinking that ESP (event stream processing) and CEP (complex event processing) are one and the same.

Indeed, I have previously suggested that CEP is a misnomer because the events in event processing are actually quite simple entities. This is true, but it is not the whole truth.

A typical ESP application is one such as algorithmic trading (stock tick information comes in, you apply calculations and rules and decide on whether to buy or sell). That is, you have an event, a condition and an action. The event, in this case, is very simple. Similarly, RFID inputs are simple events.

However, CEP is about what we might call über-events or, more specifically, patterns of events. In fraud detection, for example, the fraud "event" may in fact be made up of a sequence of inter-related events which, while simple on an individual basis, are complex when combined. Further, the individual events that make up such a complex event may be spread out over time, so a CEP engine needs to be able to handle long running processes. Moreover, the sequence in which these events can appear may vary so CEP needs to be able to handle non-linear events.

To cut a long story short, CEP is a superset of ESP.

The fact that CEP handles processes raises another question: couldn't you do all of this using business process management (BPM) or, for that matter, a rules engine? No, actually you couldn't.

AptSoft, which is a CEP vendor, has a particularly good user story that illustrates why and where CEP works and BPM and rules engines don't. Its customer is an airport and its application is baggage handling (not baggage tracking, which is an RFID application).

Now, in essence, this is quite simple: luggage goes from baggage handling to a plane, or from a plane to a plane, or from a plane to baggage handling. Clearly you could model this using a BPM process. However, what you would be modelling is a perfect day. And we all know that airports don't have perfect days - planes are delayed all the time, the luggage ramp breaks down, whatever - so the key to baggage handling is dealing with exceptions. Further, the exceptions are always different and have to be managed in real-time, which is why you need a CEP engine that has been designed specifically for this sort of (or any similar) scenario.

Going back to our original discussion point, it is worth noting that AptSoft does not compete in the ESP market. It is confident that it could do, say, algorithmic trading but as there are various companies already addressing this market it feels it is better placed in focusing on truly complex environments where its technology gives it an edge.

Copyright © 2006, IT-Analysis.com

Boost IT visibility and business value

More from The Register

next story
NO MORE ALL CAPS and other pleasures of Visual Studio 14
Unpicking a packed preview that breaks down ASP.NET
KDE releases ice-cream coloured Plasma 5 just in time for summer
Melty but refreshing - popular rival to Mint's Cinnamon's still a work in progress
Leaked Windows Phone 8.1 Update specs tease details of Nokia's next mobes
New screen sizes, dual SIMs, voice over LTE, and more
Another day, another Firefox: Version 31 is upon us ALREADY
Web devs, Mozilla really wants you to like this one
Put down that Oracle database patch: It could cost $23,000 per CPU
On-by-default INMEMORY tech a boon for developers ... as long as they can afford it
Secure microkernel that uses maths to be 'bug free' goes open source
Hacker-repelling, drone-protecting code will soon be yours to tweak as you see fit
Mozilla keeps its Beard, hopes anti-gay marriage troubles are now over
Plenty on new CEO's todo list – starting with Firefox's slipping grasp
prev story

Whitepapers

Implementing global e-invoicing with guaranteed legal certainty
Explaining the role local tax compliance plays in successful supply chain management and e-business and how leading global brands are addressing this.
Consolidation: The Foundation for IT Business Transformation
In this whitepaper learn how effective consolidation of IT and business resources can enable multiple, meaningful business benefits.
Backing up Big Data
Solving backup challenges and “protect everything from everywhere,” as we move into the era of big data management and the adoption of BYOD.
Boost IT visibility and business value
How building a great service catalog relieves pressure points and demonstrates the value of IT service management.
Why and how to choose the right cloud vendor
The benefits of cloud-based storage in your processes. Eliminate onsite, disk-based backup and archiving in favor of cloud-based data protection.