SlideShare a Scribd company logo
1 of 20
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

More Related Content

Similar to Complex Event Processing

Agility and security
Agility and securityAgility and security
Agility and securityjstogdill
 
[Azure Council Experts (ACE) 第12回定例会] Microsoft Azureアップデート情報 (2015/06/18-201...
[Azure Council Experts (ACE) 第12回定例会] Microsoft Azureアップデート情報 (2015/06/18-201...[Azure Council Experts (ACE) 第12回定例会] Microsoft Azureアップデート情報 (2015/06/18-201...
[Azure Council Experts (ACE) 第12回定例会] Microsoft Azureアップデート情報 (2015/06/18-201...Naoki (Neo) SATO
 
Network Security Data Visualization
Network Security Data VisualizationNetwork Security Data Visualization
Network Security Data Visualizationssusercb4686
 
Scaling my sql_in_3d
Scaling my sql_in_3dScaling my sql_in_3d
Scaling my sql_in_3dsarahnovotny
 
Mobile web development without developing a mobile site
Mobile web development without developing a mobile siteMobile web development without developing a mobile site
Mobile web development without developing a mobile siteourmaninjapan
 
Crossing the Production Barrier: Development at Scale
Crossing the Production Barrier: Development at ScaleCrossing the Production Barrier: Development at Scale
Crossing the Production Barrier: Development at Scalejgoulah
 
The Multipack Presents: "Wrestling With Asp.Net And Web Standards" by Anthony...
The Multipack Presents: "Wrestling With Asp.Net And Web Standards" by Anthony...The Multipack Presents: "Wrestling With Asp.Net And Web Standards" by Anthony...
The Multipack Presents: "Wrestling With Asp.Net And Web Standards" by Anthony...Anthony Williams
 
Visualization of info sec analysis
Visualization of info sec analysisVisualization of info sec analysis
Visualization of info sec analysisBen Acord
 
Sandbox kiev
Sandbox kievSandbox kiev
Sandbox kievuisgslide
 
Predicting & influencing with kanban metrics
Predicting & influencing with kanban metricsPredicting & influencing with kanban metrics
Predicting & influencing with kanban metricsAdam Scott
 
Predicting & Influencing with Kanban Metrics
Predicting & Influencing with Kanban MetricsPredicting & Influencing with Kanban Metrics
Predicting & Influencing with Kanban MetricsSteve Purkis
 
Fighting affluenza epidemic in america
Fighting affluenza epidemic in americaFighting affluenza epidemic in america
Fighting affluenza epidemic in americadavisme314
 
Why Hacking Isn't Always Bad
Why Hacking Isn't Always BadWhy Hacking Isn't Always Bad
Why Hacking Isn't Always BadCarrie Kelly
 

Similar to Complex Event Processing (20)

Final ppt
Final pptFinal ppt
Final ppt
 
Agility and security
Agility and securityAgility and security
Agility and security
 
Deserts
DesertsDeserts
Deserts
 
[Azure Council Experts (ACE) 第12回定例会] Microsoft Azureアップデート情報 (2015/06/18-201...
[Azure Council Experts (ACE) 第12回定例会] Microsoft Azureアップデート情報 (2015/06/18-201...[Azure Council Experts (ACE) 第12回定例会] Microsoft Azureアップデート情報 (2015/06/18-201...
[Azure Council Experts (ACE) 第12回定例会] Microsoft Azureアップデート情報 (2015/06/18-201...
 
Network Security Data Visualization
Network Security Data VisualizationNetwork Security Data Visualization
Network Security Data Visualization
 
Slide show koby
Slide show kobySlide show koby
Slide show koby
 
Scaling my sql_in_3d
Scaling my sql_in_3dScaling my sql_in_3d
Scaling my sql_in_3d
 
Mobile web development without developing a mobile site
Mobile web development without developing a mobile siteMobile web development without developing a mobile site
Mobile web development without developing a mobile site
 
Crossing the Production Barrier: Development at Scale
Crossing the Production Barrier: Development at ScaleCrossing the Production Barrier: Development at Scale
Crossing the Production Barrier: Development at Scale
 
The Multipack Presents: "Wrestling With Asp.Net And Web Standards" by Anthony...
The Multipack Presents: "Wrestling With Asp.Net And Web Standards" by Anthony...The Multipack Presents: "Wrestling With Asp.Net And Web Standards" by Anthony...
The Multipack Presents: "Wrestling With Asp.Net And Web Standards" by Anthony...
 
Visualization of info sec analysis
Visualization of info sec analysisVisualization of info sec analysis
Visualization of info sec analysis
 
Sandbox kiev
Sandbox kievSandbox kiev
Sandbox kiev
 
Predicting & influencing with kanban metrics
Predicting & influencing with kanban metricsPredicting & influencing with kanban metrics
Predicting & influencing with kanban metrics
 
Predicting & Influencing with Kanban Metrics
Predicting & Influencing with Kanban MetricsPredicting & Influencing with Kanban Metrics
Predicting & Influencing with Kanban Metrics
 
Lets Roll
Lets RollLets Roll
Lets Roll
 
Faster websites
Faster websitesFaster websites
Faster websites
 
Fighting affluenza epidemic in america
Fighting affluenza epidemic in americaFighting affluenza epidemic in america
Fighting affluenza epidemic in america
 
CEI Email 3.14.03
CEI Email 3.14.03CEI Email 3.14.03
CEI Email 3.14.03
 
Brand MySelf Project
Brand MySelf Project Brand MySelf Project
Brand MySelf Project
 
Why Hacking Isn't Always Bad
Why Hacking Isn't Always BadWhy Hacking Isn't Always Bad
Why Hacking Isn't Always Bad
 

More from Matthew McCullough

Using Git and GitHub Effectively at Emerge Interactive
Using Git and GitHub Effectively at Emerge InteractiveUsing Git and GitHub Effectively at Emerge Interactive
Using Git and GitHub Effectively at Emerge InteractiveMatthew McCullough
 
All About GitHub Pull Requests
All About GitHub Pull RequestsAll About GitHub Pull Requests
All About GitHub Pull RequestsMatthew McCullough
 
Git Graphs, Hashes, and Compression, Oh My
Git Graphs, Hashes, and Compression, Oh MyGit Graphs, Hashes, and Compression, Oh My
Git Graphs, Hashes, and Compression, Oh MyMatthew McCullough
 
Git and GitHub at the San Francisco JUG
 Git and GitHub at the San Francisco JUG Git and GitHub at the San Francisco JUG
Git and GitHub at the San Francisco JUGMatthew McCullough
 
Migrating from Subversion to Git and GitHub
Migrating from Subversion to Git and GitHubMigrating from Subversion to Git and GitHub
Migrating from Subversion to Git and GitHubMatthew McCullough
 
Build Lifecycle Craftsmanship for the Transylvania JUG
Build Lifecycle Craftsmanship for the Transylvania JUGBuild Lifecycle Craftsmanship for the Transylvania JUG
Build Lifecycle Craftsmanship for the Transylvania JUGMatthew McCullough
 
Git Going for the Transylvania JUG
Git Going for the Transylvania JUGGit Going for the Transylvania JUG
Git Going for the Transylvania JUGMatthew McCullough
 
Transylvania JUG Pre-Meeting Announcements
Transylvania JUG Pre-Meeting AnnouncementsTransylvania JUG Pre-Meeting Announcements
Transylvania JUG Pre-Meeting AnnouncementsMatthew McCullough
 
Game Theory for Software Developers at the Boulder JUG
Game Theory for Software Developers at the Boulder JUGGame Theory for Software Developers at the Boulder JUG
Game Theory for Software Developers at the Boulder JUGMatthew McCullough
 
Cascading Through Hadoop for the Boulder JUG
Cascading Through Hadoop for the Boulder JUGCascading Through Hadoop for the Boulder JUG
Cascading Through Hadoop for the Boulder JUGMatthew McCullough
 

More from Matthew McCullough (20)

Using Git and GitHub Effectively at Emerge Interactive
Using Git and GitHub Effectively at Emerge InteractiveUsing Git and GitHub Effectively at Emerge Interactive
Using Git and GitHub Effectively at Emerge Interactive
 
All About GitHub Pull Requests
All About GitHub Pull RequestsAll About GitHub Pull Requests
All About GitHub Pull Requests
 
Adam Smith Builds an App
Adam Smith Builds an AppAdam Smith Builds an App
Adam Smith Builds an App
 
Git's Filter Branch Command
Git's Filter Branch CommandGit's Filter Branch Command
Git's Filter Branch Command
 
Git Graphs, Hashes, and Compression, Oh My
Git Graphs, Hashes, and Compression, Oh MyGit Graphs, Hashes, and Compression, Oh My
Git Graphs, Hashes, and Compression, Oh My
 
Git and GitHub at the San Francisco JUG
 Git and GitHub at the San Francisco JUG Git and GitHub at the San Francisco JUG
Git and GitHub at the San Francisco JUG
 
Finding Things in Git
Finding Things in GitFinding Things in Git
Finding Things in Git
 
Git and GitHub for RallyOn
Git and GitHub for RallyOnGit and GitHub for RallyOn
Git and GitHub for RallyOn
 
Migrating from Subversion to Git and GitHub
Migrating from Subversion to Git and GitHubMigrating from Subversion to Git and GitHub
Migrating from Subversion to Git and GitHub
 
Git Notes and GitHub
Git Notes and GitHubGit Notes and GitHub
Git Notes and GitHub
 
Intro to Git and GitHub
Intro to Git and GitHubIntro to Git and GitHub
Intro to Git and GitHub
 
Build Lifecycle Craftsmanship for the Transylvania JUG
Build Lifecycle Craftsmanship for the Transylvania JUGBuild Lifecycle Craftsmanship for the Transylvania JUG
Build Lifecycle Craftsmanship for the Transylvania JUG
 
Git Going for the Transylvania JUG
Git Going for the Transylvania JUGGit Going for the Transylvania JUG
Git Going for the Transylvania JUG
 
Transylvania JUG Pre-Meeting Announcements
Transylvania JUG Pre-Meeting AnnouncementsTransylvania JUG Pre-Meeting Announcements
Transylvania JUG Pre-Meeting Announcements
 
Game Theory for Software Developers at the Boulder JUG
Game Theory for Software Developers at the Boulder JUGGame Theory for Software Developers at the Boulder JUG
Game Theory for Software Developers at the Boulder JUG
 
Cascading Through Hadoop for the Boulder JUG
Cascading Through Hadoop for the Boulder JUGCascading Through Hadoop for the Boulder JUG
Cascading Through Hadoop for the Boulder JUG
 
JQuery Mobile
JQuery MobileJQuery Mobile
JQuery Mobile
 
R Data Analysis Software
R Data Analysis SoftwareR Data Analysis Software
R Data Analysis Software
 
Please, Stop Using Git
Please, Stop Using GitPlease, Stop Using Git
Please, Stop Using Git
 
Dr. Strangedev
Dr. StrangedevDr. Strangedev
Dr. Strangedev
 

Recently uploaded

How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxCeline George
 
How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17Celine George
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsKarakKing
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentationcamerronhm
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Pooja Bhuva
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxmarlenawright1
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxheathfieldcps1
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024Elizabeth Walsh
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSCeline George
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.christianmathematics
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfNirmal Dwivedi
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - Englishneillewis46
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxJisc
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...Amil baba
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxPooja Bhuva
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.MaryamAhmad92
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxDenish Jangid
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...pradhanghanshyam7136
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxJisc
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptxMaritesTamaniVerdade
 

Recently uploaded (20)

How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptx
 
How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17How to Add New Custom Addons Path in Odoo 17
How to Add New Custom Addons Path in Odoo 17
 
Salient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functionsSalient Features of India constitution especially power and functions
Salient Features of India constitution especially power and functions
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
 
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptxHMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
HMCS Vancouver Pre-Deployment Brief - May 2024 (Web Version).pptx
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
How to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POSHow to Manage Global Discount in Odoo 17 POS
How to Manage Global Discount in Odoo 17 POS
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
NO1 Top Black Magic Specialist In Lahore Black magic In Pakistan Kala Ilam Ex...
 
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptxExploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
Exploring_the_Narrative_Style_of_Amitav_Ghoshs_Gun_Island.pptx
 
ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.ICT role in 21st century education and it's challenges.
ICT role in 21st century education and it's challenges.
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 

Complex Event Processing

  • 4. Each item (bride’s shoes, boutonniere, church bells) signifies a larger event - a wedding
  • 5.
  • 7. Data Data Data Data Data Data Data Data Data Data Data Query
  • 8. Do your queries look like this?
  • 9. Should your queries look more like this?
  • 10. 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
  • 11.
  • 12.
  • 13.
  • 14. 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?
  • 15. 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
  • 16. 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
  • 17.
  • 18. 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
  • 20. 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