• Share
  • Email
  • Embed
  • Like
  • Save
  • Private Content
Complex Event Processing
 

Complex Event Processing

on

  • 1,144 views

Andy Ennamorato at Ignite night at the Denver Open Source Users Group

Andy Ennamorato at Ignite night at the Denver Open Source Users Group

Statistics

Views

Total Views
1,144
Views on SlideShare
1,141
Embed Views
3

Actions

Likes
0
Downloads
0
Comments
0

2 Embeds 3

http://www.slideshare.net 2
https://www.linkedin.com 1

Accessibility

Upload Details

Uploaded via as Adobe PDF

Usage Rights

© All Rights Reserved

Report content

Flagged as inappropriate Flag as inappropriate
Flag as inappropriate

Select your reason for flagging this presentation as inappropriate.

Cancel
  • Full Name Full Name Comment goes here.
    Are you sure you want to
    Your message goes here
    Processing…
Post Comment
Edit your comment

    Complex Event Processing Complex Event Processing Presentation Transcript

    • Complex Event Processing Queries ... on Speed!
    • WARNING
    • Relationships
    • Each item (bride’s shoes, boutonniere, church bells) signifies a larger event - a wedding
    • Query Data
    • Data Data Data Data Data Data Data Data Data Data Data Query
    • Do your queries look like this?
    • Should your queries look more like this?
    • 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 every second.’” Larry Page
    • Basic EPL queries: select avg(price) from StockTickEvent.win:time(30 sec) every StockTickEvent(symbol="IBM", price>80) where timer:within(60 seconds) simple, huh?
    • Ummm... 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 http://esper.codehaus.org/tutorials/tutorial/transaction_casestudy.html
    • 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
    • Competitive Advantage “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 financial system nearly collapsed. High-frequency trading is one answer.” Charles Duhigg, New York Times http://www.nytimes.com/2009/07/24/business/24trading.html
    • Learn http://espertech.com
    • Thank You http://www.flickr.com/photos/dittaeva/ http://commons.wikimedia.org/wiki/ 3193192563/ File:Traffic_seen_from_top_of_Arc_de_Tr iomphe.JPG http://www.flickr.com/photos/ pinksherbet/3372160289/ http://www.flickr.com/photos/rutlo/ 3164449930/ http://www.flickr.com/photos/ hortulus_aptus/3789340877 http://commons.wikimedia.org/wiki/ File:Nebraska_State_Historical_Society_ http://www.flickr.com/photos/ Historical_Marker.jpg jenniferchong/3673356796 http://commons.wikimedia.org/wiki/ http://www.flickr.com/photos/klearchos/ File:US_Navy_070824- 620451334 N-0684R-060_An_F- A-18C_Hornet_breaks_the_sound_barrie http://commons.wikimedia.org/wiki/ r_while_making_a_high- File:Schema_database_simplified_ADD_ speed_pass_close_to_the_Nimitz- NEA_march2009-2.jpg class_aircraft_carrier_USS_John_C._Ste nnis_(CVN_74) http://commons.wikimedia.org/wiki/ _during_an_air_power_demonstration.jp File:Oracle_Databases.jpg g