SlideShare a Scribd company logo
1 of 10
Distributed
Complex Event Processing

Fernand Paraiso, Lionel Seinturier,
         Romain Rouvoy

    INRIA Lille – Nord Europe
      Project-team ADAM
Use case: The Museum
Architecture
 Configuration: 4 zones  3 guardians  3 visitors
 Alert: Whenever a visitor enters a zone not covered
   by a guardian

Objective
 Propagating events across several CEP engines
   Running on separated JVMs
   Connected through SCA bindings (JMS, REST…)




    DiCEPE: Distributed Complex Event Processing Engine
Museum: Architecture Overview

                                      Binding REST




  Guardian composite



                                                      Alert-system composite


 Visitor composite               Binding JMS


DiCEPE: Distributed Complex Event Processing Engine
Museum: Architecture Details                                           frascati
                                                                                   binding.rest
                                                                                        or
                                                                                   binding.jms



      guardian                         stmt                            engineWire
                                                     guardian-stmt                                      guarded
        gui         engine
run


                                     logview

                                                     stat-guardian
                 Guardian composite
                                                                                                  Esper-engine
                                                                                                                  alert-stmt
                                                                                                     alert




                             stmt                                     engineWire
                                      visitor-stmt


       visitor
                                               logview           stat-visitor
        gui      engine
run
                                                                                                    visited
                              stmt
                                      group-stmt
       Visitor composite

        DiCEPE: Distributed Complex Event Processing Engine
Museum: Visitor Composite                                              "{
                                                                           'GuardedLocation':
                                                                           { 'zone':'1','count':'1'}}"

                                                                        <guardedLocation>
                                                                                  <count>1</count>
                                                                                  <zone>1</zone>
                                                                        </guardedLocation>




                               stmt                           engineWire
                                       visitor-stmt


          Client
                                               logview   stat-visitor
                                                                             frascati
    run   visitor   engine
                                                                           binding.rest
                                stmt                                            or
                                       group-stmt                          binding.jms
           Visitor composite



DiCEPE: Distributed Complex Event Processing Engine
DiCEPE: Supported Bindings
REST (HTTP)
 Events pushed into CEP via HTTP POST
 Support for multiple representations: XML, JSON…
 WADL interface description available
 Based on existing SCA binding: <binding.rest uri=“…“/>
 Implemented with CXF communication stack
JMS
 Events pushed into JMS channels
 CEP engine subscribe to and publish into the channels
 Based on existing SCA binding: <binding.jms jndiURL=“…“/>
 Implemented with JORAM middleware




       DiCEPE: Distributed Complex Event Processing Engine
DiCEPE: Dynamic Reconfiguration
Support for reconfiguring CEP engines
 Dynamic reconfiguration at runtime
 Manageable from FraSCAti Explorer


CRUD reconfigurations currently supported
 EPL statements
 Statement listeners
 Remote bindings




    DiCEPE: Distributed Complex Event Processing Engine
DiCEPE open support for CEP Engines
A simple «push» interface
 public interface Notification<T> {
     void notify(T event);
 }
Associated to an SCA constraining type
 <constrainingType name=“cep-engine”>
   <service name=“notification”>
     <interface.java interface=“soceda.cep.Notification”/>
   </service>
   <!-- … -->
 </constrainingtype>
One component implementation by CEP library
 Esper (EPL) available
 Etalis (Prolog) under tests
    DiCEPE: Distributed Complex Event Processing Engine
Demonstration

                          Questions?




DiCEPE: Distributed Complex Event Processing Engine
Perspectives

Including support for the WS-Notification standard
  REST and JMS protocols are already supported
  Using <sca:binding.ws uri=“…”/>

Including more semantics into events
  POJO and XML documents are already
    supported
  Reflecting events as RDF triples

More Related Content

Similar to 1106 soc eda-nice-dicep

Gaweł mikołajczyk. holistic identity based networking approach – an irreducib...
Gaweł mikołajczyk. holistic identity based networking approach – an irreducib...Gaweł mikołajczyk. holistic identity based networking approach – an irreducib...
Gaweł mikołajczyk. holistic identity based networking approach – an irreducib...
Yury Chemerkin
 

Similar to 1106 soc eda-nice-dicep (20)

Apache CloudStack AlpesJUG
Apache CloudStack AlpesJUGApache CloudStack AlpesJUG
Apache CloudStack AlpesJUG
 
Vastsky xen summit20100428
Vastsky xen summit20100428Vastsky xen summit20100428
Vastsky xen summit20100428
 
Vastsky xen summit20100428
Vastsky xen summit20100428Vastsky xen summit20100428
Vastsky xen summit20100428
 
Gaweł mikołajczyk. holistic identity based networking approach – an irreducib...
Gaweł mikołajczyk. holistic identity based networking approach – an irreducib...Gaweł mikołajczyk. holistic identity based networking approach – an irreducib...
Gaweł mikołajczyk. holistic identity based networking approach – an irreducib...
 
JUSG - Event Driven Architectures by Alexander Schatten
JUSG - Event Driven Architectures by Alexander SchattenJUSG - Event Driven Architectures by Alexander Schatten
JUSG - Event Driven Architectures by Alexander Schatten
 
Akka (BeJUG)
Akka (BeJUG)Akka (BeJUG)
Akka (BeJUG)
 
UNDOCUMENTED Vyatta vRouter: Unbreakable VPN Tunneling (MEMO)
UNDOCUMENTED Vyatta vRouter: Unbreakable VPN Tunneling (MEMO) UNDOCUMENTED Vyatta vRouter: Unbreakable VPN Tunneling (MEMO)
UNDOCUMENTED Vyatta vRouter: Unbreakable VPN Tunneling (MEMO)
 
Contrail Enabler for agile cloud services
Contrail Enabler for agile cloud servicesContrail Enabler for agile cloud services
Contrail Enabler for agile cloud services
 
Spark-on-Yarn: The Road Ahead-(Marcelo Vanzin, Cloudera)
Spark-on-Yarn: The Road Ahead-(Marcelo Vanzin, Cloudera)Spark-on-Yarn: The Road Ahead-(Marcelo Vanzin, Cloudera)
Spark-on-Yarn: The Road Ahead-(Marcelo Vanzin, Cloudera)
 
Spark on YARN: The Road Ahead
Spark on YARN: The Road AheadSpark on YARN: The Road Ahead
Spark on YARN: The Road Ahead
 
GlassFish v3 Prelude Aquarium Paris
GlassFish v3 Prelude Aquarium ParisGlassFish v3 Prelude Aquarium Paris
GlassFish v3 Prelude Aquarium Paris
 
(APP310) Scheduling Using Apache Mesos in the Cloud | AWS re:Invent 2014
(APP310) Scheduling Using Apache Mesos in the Cloud | AWS re:Invent 2014(APP310) Scheduling Using Apache Mesos in the Cloud | AWS re:Invent 2014
(APP310) Scheduling Using Apache Mesos in the Cloud | AWS re:Invent 2014
 
The Potential Impact of Software Defined Networking SDN on Security
The Potential Impact of Software Defined Networking SDN on SecurityThe Potential Impact of Software Defined Networking SDN on Security
The Potential Impact of Software Defined Networking SDN on Security
 
Faster & Greater Messaging System HornetQ zzz
Faster & Greater Messaging System HornetQ zzzFaster & Greater Messaging System HornetQ zzz
Faster & Greater Messaging System HornetQ zzz
 
12th Japan CloudStack User Group Meetup MidoNet with scalable virtual router
12th Japan CloudStack User Group Meetup   MidoNet with scalable virtual router12th Japan CloudStack User Group Meetup   MidoNet with scalable virtual router
12th Japan CloudStack User Group Meetup MidoNet with scalable virtual router
 
12th Japan CloudStack User Group Meetup
12th Japan CloudStack User Group Meetup12th Japan CloudStack User Group Meetup
12th Japan CloudStack User Group Meetup
 
Windows Azure Interoperability
Windows Azure InteroperabilityWindows Azure Interoperability
Windows Azure Interoperability
 
Reactive Microservices with JRuby and Docker
Reactive Microservices with JRuby and DockerReactive Microservices with JRuby and Docker
Reactive Microservices with JRuby and Docker
 
How Yelp does Service Discovery
How Yelp does Service DiscoveryHow Yelp does Service Discovery
How Yelp does Service Discovery
 
Kommons
KommonsKommons
Kommons
 

More from Fawaz Fernand PARAISO

soCloud: distributed multi-cloud platform for deploying, executing and managi...
soCloud: distributed multi-cloud platform for deploying, executing and managi...soCloud: distributed multi-cloud platform for deploying, executing and managi...
soCloud: distributed multi-cloud platform for deploying, executing and managi...
Fawaz Fernand PARAISO
 

More from Fawaz Fernand PARAISO (10)

Paraiso cloud2016.key
Paraiso   cloud2016.keyParaiso   cloud2016.key
Paraiso cloud2016.key
 
Introduction to cloud computing
Introduction to cloud computingIntroduction to cloud computing
Introduction to cloud computing
 
Moteur CEP
Moteur CEPMoteur CEP
Moteur CEP
 
soCloud: a multi-cloud paas
soCloud: a multi-cloud paassoCloud: a multi-cloud paas
soCloud: a multi-cloud paas
 
Multi cloud PaaS
Multi cloud PaaSMulti cloud PaaS
Multi cloud PaaS
 
Soceda : integration of ws notification in distributed complex event processing
Soceda : integration of ws notification in distributed complex event processing Soceda : integration of ws notification in distributed complex event processing
Soceda : integration of ws notification in distributed complex event processing
 
soCloud: distributed multi-cloud platform for deploying, executing and managi...
soCloud: distributed multi-cloud platform for deploying, executing and managi...soCloud: distributed multi-cloud platform for deploying, executing and managi...
soCloud: distributed multi-cloud platform for deploying, executing and managi...
 
Managing elasticity across Multi-cloud providers
Managing elasticity across Multi-cloud providersManaging elasticity across Multi-cloud providers
Managing elasticity across Multi-cloud providers
 
A middleware platform_to_federate_complex_event_processing
A middleware platform_to_federate_complex_event_processingA middleware platform_to_federate_complex_event_processing
A middleware platform_to_federate_complex_event_processing
 
A Federated Multi-Cloud PaaS Infrasctructure
A Federated Multi-Cloud PaaS InfrasctructureA Federated Multi-Cloud PaaS Infrasctructure
A Federated Multi-Cloud PaaS Infrasctructure
 

Recently uploaded

Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
panagenda
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Victor Rentea
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
WSO2
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Safe Software
 

Recently uploaded (20)

DBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor PresentationDBX First Quarter 2024 Investor Presentation
DBX First Quarter 2024 Investor Presentation
 
Why Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire businessWhy Teams call analytics are critical to your entire business
Why Teams call analytics are critical to your entire business
 
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024Finding Java's Hidden Performance Traps @ DevoxxUK 2024
Finding Java's Hidden Performance Traps @ DevoxxUK 2024
 
FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024FWD Group - Insurer Innovation Award 2024
FWD Group - Insurer Innovation Award 2024
 
ICT role in 21st century education and its challenges
ICT role in 21st century education and its challengesICT role in 21st century education and its challenges
ICT role in 21st century education and its challenges
 
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWEREMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
EMPOWERMENT TECHNOLOGY GRADE 11 QUARTER 2 REVIEWER
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
Apidays New York 2024 - Accelerating FinTech Innovation by Vasa Krishnan, Fin...
 
AWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of TerraformAWS Community Day CPH - Three problems of Terraform
AWS Community Day CPH - Three problems of Terraform
 
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ..."I see eyes in my soup": How Delivery Hero implemented the safety system for ...
"I see eyes in my soup": How Delivery Hero implemented the safety system for ...
 
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin WoodPolkadot JAM Slides - Token2049 - By Dr. Gavin Wood
Polkadot JAM Slides - Token2049 - By Dr. Gavin Wood
 
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
Apidays New York 2024 - APIs in 2030: The Risk of Technological Sleepwalk by ...
 
Architecting Cloud Native Applications
Architecting Cloud Native ApplicationsArchitecting Cloud Native Applications
Architecting Cloud Native Applications
 
Corporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptxCorporate and higher education May webinar.pptx
Corporate and higher education May webinar.pptx
 
Six Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal OntologySix Myths about Ontologies: The Basics of Formal Ontology
Six Myths about Ontologies: The Basics of Formal Ontology
 
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers:  A Deep Dive into Serverless Spatial Data and FMECloud Frontiers:  A Deep Dive into Serverless Spatial Data and FME
Cloud Frontiers: A Deep Dive into Serverless Spatial Data and FME
 
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost SavingRepurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
Repurposing LNG terminals for Hydrogen Ammonia: Feasibility and Cost Saving
 
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
Connector Corner: Accelerate revenue generation using UiPath API-centric busi...
 
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdfRising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
Rising Above_ Dubai Floods and the Fortitude of Dubai International Airport.pdf
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 

1106 soc eda-nice-dicep

  • 1. Distributed Complex Event Processing Fernand Paraiso, Lionel Seinturier, Romain Rouvoy INRIA Lille – Nord Europe Project-team ADAM
  • 2. Use case: The Museum Architecture Configuration: 4 zones  3 guardians  3 visitors Alert: Whenever a visitor enters a zone not covered by a guardian Objective Propagating events across several CEP engines  Running on separated JVMs  Connected through SCA bindings (JMS, REST…) DiCEPE: Distributed Complex Event Processing Engine
  • 3. Museum: Architecture Overview Binding REST Guardian composite Alert-system composite Visitor composite Binding JMS DiCEPE: Distributed Complex Event Processing Engine
  • 4. Museum: Architecture Details frascati binding.rest or binding.jms guardian stmt engineWire guardian-stmt guarded gui engine run logview stat-guardian Guardian composite Esper-engine alert-stmt alert stmt engineWire visitor-stmt visitor logview stat-visitor gui engine run visited stmt group-stmt Visitor composite DiCEPE: Distributed Complex Event Processing Engine
  • 5. Museum: Visitor Composite "{ 'GuardedLocation': { 'zone':'1','count':'1'}}" <guardedLocation> <count>1</count> <zone>1</zone> </guardedLocation> stmt engineWire visitor-stmt Client logview stat-visitor frascati run visitor engine binding.rest stmt or group-stmt binding.jms Visitor composite DiCEPE: Distributed Complex Event Processing Engine
  • 6. DiCEPE: Supported Bindings REST (HTTP) Events pushed into CEP via HTTP POST Support for multiple representations: XML, JSON… WADL interface description available Based on existing SCA binding: <binding.rest uri=“…“/> Implemented with CXF communication stack JMS Events pushed into JMS channels CEP engine subscribe to and publish into the channels Based on existing SCA binding: <binding.jms jndiURL=“…“/> Implemented with JORAM middleware DiCEPE: Distributed Complex Event Processing Engine
  • 7. DiCEPE: Dynamic Reconfiguration Support for reconfiguring CEP engines Dynamic reconfiguration at runtime Manageable from FraSCAti Explorer CRUD reconfigurations currently supported EPL statements Statement listeners Remote bindings DiCEPE: Distributed Complex Event Processing Engine
  • 8. DiCEPE open support for CEP Engines A simple «push» interface public interface Notification<T> { void notify(T event); } Associated to an SCA constraining type <constrainingType name=“cep-engine”> <service name=“notification”> <interface.java interface=“soceda.cep.Notification”/> </service> <!-- … --> </constrainingtype> One component implementation by CEP library Esper (EPL) available Etalis (Prolog) under tests DiCEPE: Distributed Complex Event Processing Engine
  • 9. Demonstration Questions? DiCEPE: Distributed Complex Event Processing Engine
  • 10. Perspectives Including support for the WS-Notification standard REST and JMS protocols are already supported Using <sca:binding.ws uri=“…”/> Including more semantics into events POJO and XML documents are already supported Reflecting events as RDF triples