SlideShare a Scribd company logo
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 security
jstogdill
 
Deserts
DesertsDeserts
Deserts
ldearden
 
Network Security Data Visualization
Network Security Data VisualizationNetwork Security Data Visualization
Network Security Data Visualization
ssusercb4686
 
Scaling my sql_in_3d
Scaling my sql_in_3dScaling my sql_in_3d
Scaling my sql_in_3d
sarahnovotny
 
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
 
Highway to heaven - XConf Manchester 2015
Highway to heaven - XConf Manchester 2015Highway to heaven - XConf Manchester 2015
Highway to heaven - XConf Manchester 2015
Christian Deger
 
Visualization of info sec analysis
Visualization of info sec analysisVisualization of info sec analysis
Visualization of info sec analysis
Ben Acord
 
Sandbox kiev
Sandbox kievSandbox kiev
Sandbox kiev
uisgslide
 
Predicting & influencing with kanban metrics
Predicting & influencing with kanban metricsPredicting & influencing with kanban metrics
Predicting & influencing with kanban metrics
Adam Scott
 
Predicting & Influencing with Kanban Metrics
Predicting & Influencing with Kanban MetricsPredicting & Influencing with Kanban Metrics
Predicting & Influencing with Kanban Metrics
Steve Purkis
 
Lets Roll
Lets RollLets Roll
Lets Roll
edgerlyj1
 
Faster websites
Faster websitesFaster websites
Faster websites
marcoemrich
 
Fighting affluenza epidemic in america
Fighting affluenza epidemic in americaFighting affluenza epidemic in america
Fighting affluenza epidemic in america
davisme314
 
CEI Email 3.14.03
CEI Email 3.14.03CEI Email 3.14.03
CEI Email 3.14.03
Obama White House
 
Brand MySelf Project
Brand MySelf Project Brand MySelf Project
Brand MySelf Project
DurandTorrence
 
Why Hacking Isn't Always Bad
Why Hacking Isn't Always BadWhy Hacking Isn't Always Bad
Why Hacking Isn't Always Bad
Carrie 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
 
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...
 
Highway to heaven - XConf Manchester 2015
Highway to heaven - XConf Manchester 2015Highway to heaven - XConf Manchester 2015
Highway to heaven - XConf Manchester 2015
 
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 Interactive
Matthew McCullough
 
All About GitHub Pull Requests
All About GitHub Pull RequestsAll About GitHub Pull Requests
All About GitHub Pull Requests
Matthew McCullough
 
Adam Smith Builds an App
Adam Smith Builds an AppAdam Smith Builds an App
Adam Smith Builds an App
Matthew McCullough
 
Git's Filter Branch Command
Git's Filter Branch CommandGit's Filter Branch Command
Git's Filter Branch Command
Matthew 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 My
Matthew 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 JUG
Matthew McCullough
 
Finding Things in Git
Finding Things in GitFinding Things in Git
Finding Things in Git
Matthew McCullough
 
Git and GitHub for RallyOn
Git and GitHub for RallyOnGit and GitHub for RallyOn
Git and GitHub for RallyOn
Matthew 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 GitHub
Matthew McCullough
 
Git Notes and GitHub
Git Notes and GitHubGit Notes and GitHub
Git Notes and GitHub
Matthew McCullough
 
Intro to Git and GitHub
Intro to Git and GitHubIntro to Git and GitHub
Intro to Git and GitHub
Matthew 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 JUG
Matthew McCullough
 
Git Going for the Transylvania JUG
Git Going for the Transylvania JUGGit Going for the Transylvania JUG
Git Going for the Transylvania JUG
Matthew McCullough
 
Transylvania JUG Pre-Meeting Announcements
Transylvania JUG Pre-Meeting AnnouncementsTransylvania JUG Pre-Meeting Announcements
Transylvania JUG Pre-Meeting Announcements
Matthew 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 JUG
Matthew 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 JUG
Matthew McCullough
 
JQuery Mobile
JQuery MobileJQuery Mobile
JQuery Mobile
Matthew McCullough
 
R Data Analysis Software
R Data Analysis SoftwareR Data Analysis Software
R Data Analysis Software
Matthew McCullough
 
Please, Stop Using Git
Please, Stop Using GitPlease, Stop Using Git
Please, Stop Using Git
Matthew McCullough
 
Dr. Strangedev
Dr. StrangedevDr. Strangedev
Dr. Strangedev
Matthew 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

June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
Levi Shapiro
 
Chapter -12, Antibiotics (One Page Notes).pdf
Chapter -12, Antibiotics (One Page Notes).pdfChapter -12, Antibiotics (One Page Notes).pdf
Chapter -12, Antibiotics (One Page Notes).pdf
Kartik Tiwari
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
Pavel ( NSTU)
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
Vivekanand Anglo Vedic Academy
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
Jisc
 
The Diamond Necklace by Guy De Maupassant.pptx
The Diamond Necklace by Guy De Maupassant.pptxThe Diamond Necklace by Guy De Maupassant.pptx
The Diamond Necklace by Guy De Maupassant.pptx
DhatriParmar
 
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th SemesterGuidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Atul Kumar Singh
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
SACHIN R KONDAGURI
 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
Atul Kumar Singh
 
Best Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDABest Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDA
deeptiverma2406
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
MysoreMuleSoftMeetup
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
EduSkills OECD
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
Mohd Adib Abd Muin, Senior Lecturer at Universiti Utara Malaysia
 
A Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptxA Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptx
thanhdowork
 
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama UniversityNatural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Akanksha trivedi rama nursing college kanpur.
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
camakaiclarkmusic
 
Multithreading_in_C++ - std::thread, race condition
Multithreading_in_C++ - std::thread, race conditionMultithreading_in_C++ - std::thread, race condition
Multithreading_in_C++ - std::thread, race condition
Mohammed Sikander
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
TechSoup
 
Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
vaibhavrinwa19
 
Embracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic ImperativeEmbracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic Imperative
Peter Windle
 

Recently uploaded (20)

June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
June 3, 2024 Anti-Semitism Letter Sent to MIT President Kornbluth and MIT Cor...
 
Chapter -12, Antibiotics (One Page Notes).pdf
Chapter -12, Antibiotics (One Page Notes).pdfChapter -12, Antibiotics (One Page Notes).pdf
Chapter -12, Antibiotics (One Page Notes).pdf
 
Synthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptxSynthetic Fiber Construction in lab .pptx
Synthetic Fiber Construction in lab .pptx
 
The French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free downloadThe French Revolution Class 9 Study Material pdf free download
The French Revolution Class 9 Study Material pdf free download
 
The approach at University of Liverpool.pptx
The approach at University of Liverpool.pptxThe approach at University of Liverpool.pptx
The approach at University of Liverpool.pptx
 
The Diamond Necklace by Guy De Maupassant.pptx
The Diamond Necklace by Guy De Maupassant.pptxThe Diamond Necklace by Guy De Maupassant.pptx
The Diamond Necklace by Guy De Maupassant.pptx
 
Guidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th SemesterGuidance_and_Counselling.pdf B.Ed. 4th Semester
Guidance_and_Counselling.pdf B.Ed. 4th Semester
 
"Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe..."Protectable subject matters, Protection in biotechnology, Protection of othe...
"Protectable subject matters, Protection in biotechnology, Protection of othe...
 
Language Across the Curriculm LAC B.Ed.
Language Across the  Curriculm LAC B.Ed.Language Across the  Curriculm LAC B.Ed.
Language Across the Curriculm LAC B.Ed.
 
Best Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDABest Digital Marketing Institute In NOIDA
Best Digital Marketing Institute In NOIDA
 
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
Mule 4.6 & Java 17 Upgrade | MuleSoft Mysore Meetup #46
 
Francesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptxFrancesca Gottschalk - How can education support child empowerment.pptx
Francesca Gottschalk - How can education support child empowerment.pptx
 
Chapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptxChapter 3 - Islamic Banking Products and Services.pptx
Chapter 3 - Islamic Banking Products and Services.pptx
 
A Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptxA Survey of Techniques for Maximizing LLM Performance.pptx
A Survey of Techniques for Maximizing LLM Performance.pptx
 
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama UniversityNatural birth techniques - Mrs.Akanksha Trivedi Rama University
Natural birth techniques - Mrs.Akanksha Trivedi Rama University
 
CACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdfCACJapan - GROUP Presentation 1- Wk 4.pdf
CACJapan - GROUP Presentation 1- Wk 4.pdf
 
Multithreading_in_C++ - std::thread, race condition
Multithreading_in_C++ - std::thread, race conditionMultithreading_in_C++ - std::thread, race condition
Multithreading_in_C++ - std::thread, race condition
 
Introduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp NetworkIntroduction to AI for Nonprofits with Tapp Network
Introduction to AI for Nonprofits with Tapp Network
 
Acetabularia Information For Class 9 .docx
Acetabularia Information For Class 9  .docxAcetabularia Information For Class 9  .docx
Acetabularia Information For Class 9 .docx
 
Embracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic ImperativeEmbracing GenAI - A Strategic Imperative
Embracing GenAI - A Strategic Imperative
 

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