The Real-Time Web is coming...
“They sort of laugh at me and go, ‘It’s
O.K. if it’s a few minutes’ old,’” he said.
“And I’m like, ‘No, no, it needs to be
Basic EPL queries:
select avg(price) from
price>80) where timer:within(60
insert into CombinedEvent(transactionId, customerId,
supplierId, latencyAC, latencyBC, latencyAB)
select C.transactionId, customerId, supplierId,
C.timestamp - A.timestamp, C.timestamp -
B.timestamp, B.timestamp - A.timestamp
from TxnEventA.win:time(30 minutes) A,
TxnEventB.win:time(30 minutes) B,
TxnEventC.win:time(30 minutes) C
where A.transactionId = B.transactionId and
B.transactionId = C.transactionId
Where’s the speed?
Esper exceeds over 500,000 event/sec
on a dual CPU 2GHz Intel based
hardware... with 1000 statements
registered in the system - this tops at
70 Mbit/s at 85% CPU usage.
- 2007 benchmark
“Nearly everyone on Wall Street is wondering how
hedge funds and large banks like Goldman Sachs are
making so much money so soon after the ﬁnancial
system nearly collapsed. High-frequency
trading is one answer.”
Charles Duhigg, New York Times