Top Banner
Laboratory for Advanced Collaboration LAC A Middleware for Data-centric and Dynamic Distributed Complex Event Processing for IoT Real-time Analytics in the Cloud Gustavo B. Baptista, Felipe Carvalho, Sergio Colcher and Markus Endler Department of Informatics – Pontifical Catholic University of Rio de Janeiro (PUC-Rio) Rio de Janeiro, Brazil. {gbaptista,fcarvalho,colcher,endler}@inf.puc-rio.br
21

A Middleware for Data-centric and Dynamic Distributed Complex … · 2016-07-12 · 4 Data-Centric Paradigm § Data Distribution Service for Real-Time Systems (OMG -DDS) • Fully

Apr 17, 2020

Download

Documents

dariahiddleston
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: A Middleware for Data-centric and Dynamic Distributed Complex … · 2016-07-12 · 4 Data-Centric Paradigm § Data Distribution Service for Real-Time Systems (OMG -DDS) • Fully

Laboratory for Advanced Collaboration

LAC

AMiddlewareforData-centricandDynamicDistributedComplexEventProcessingfor

IoTReal-timeAnalyticsintheCloud

Gustavo B. Baptista, Felipe Carvalho, Sergio Colcher and Markus Endler

Department of Informatics – Pontifical Catholic University of Rio de Janeiro (PUC-Rio)

Rio de Janeiro, Brazil.{gbaptista,fcarvalho,colcher,endler}@inf.puc-rio.br

Page 2: A Middleware for Data-centric and Dynamic Distributed Complex … · 2016-07-12 · 4 Data-Centric Paradigm § Data Distribution Service for Real-Time Systems (OMG -DDS) • Fully

2

Introduction

§ IoTbigdatareal-timeanalyticssystems• Massiveamountsofdata• Streamsproducedbydistributeddatasources

§ ReactiveParadigm• DistributedCEPSystemsareverysuitable

• Challenges indeployingandmanagingprocessinglogicatexecutiontime

• 24x7availability

Page 3: A Middleware for Data-centric and Dynamic Distributed Complex … · 2016-07-12 · 4 Data-Centric Paradigm § Data Distribution Service for Real-Time Systems (OMG -DDS) • Fully

3

Data-centricParadigm

§ Data-centricParadigm• Themeanofinteractionisdata.(vs.message-centric,isthemessage)

• Themiddleware§ Hasthedefinitionofstructureanddata§ Awareofcontents (i.e.instances)ofstructures§ Imposesrulesonstructures, changesandaccess§ Managesdistributedstate

• Data-centricPublish-Subscribe (DCPS)§ GlobalSharedDataSpace§ Logicaldecentralized spacemaintainedbyallpeers§ Containsthestructureandinstancesofdata§ Nodesread/writedata§ Infrastructure ensuresallparticipantsaconsistentandup-to-dateview

Page 4: A Middleware for Data-centric and Dynamic Distributed Complex … · 2016-07-12 · 4 Data-Centric Paradigm § Data Distribution Service for Real-Time Systems (OMG -DDS) • Fully

4

Data-CentricParadigm

§ DataDistributionServiceforReal-TimeSystems(OMG-DDS)• Fullydistributedpeer-to-peer (i.e.broker-less)• Real-timedata-centricpublish/subscribe• Highperformancecommunication,scalabilityandavailability• SpecificationofQualityofService(QoS)contracts• Mechanismsfordealingwithreal-timeaspects• PriorityandotherspecificQoSpolicies• Interoperabilityacross

§ DDSimplementations§ Programminglanguages§ Platforms

• Automaticdiscovery

Page 5: A Middleware for Data-centric and Dynamic Distributed Complex … · 2016-07-12 · 4 Data-Centric Paradigm § Data Distribution Service for Real-Time Systems (OMG -DDS) • Fully

5

Data-CentricParadigm

§ DataDistribution ServiceforReal-TimeSystems(OMG-DDS)

Page 6: A Middleware for Data-centric and Dynamic Distributed Complex … · 2016-07-12 · 4 Data-Centric Paradigm § Data Distribution Service for Real-Time Systems (OMG -DDS) • Fully

6

D3CEPMiddleware

§ WepresentamiddlewareforDistributedCEP• BenefitsofData-centricanddynamicdesignapproach

§ Dynamicdefinition anddeploymentofCEPrules§ Peer-to-peerroutingofeventsamongCEPrules§ Reducedcouplingofproducers,consumersandCEPrules§ Availabilityprovidedbypeer-to-peermodel§ Highthroughputandlowlatencyincommunication&detection§ EsperasaCEPengineateachnode

• Architectureandtestsregardingperformance andscalability

Page 7: A Middleware for Data-centric and Dynamic Distributed Complex … · 2016-07-12 · 4 Data-Centric Paradigm § Data Distribution Service for Real-Time Systems (OMG -DDS) • Fully

7

D3CEPMiddleware

§ GlobalSharedReactiveDataSpace• Datadisseminationandreactivebehaviormodeledtogether

§ Descriptionofeventsatprocessingandcommunicationlayers• Consumers,producersandCEPrules

§ Dynamicallydefinedanddeployed seamlessly• Additionalmechanisms:

§ GlobalCatalogofeventtypes§ GlobaldefinitionofDCEPentitiesanddeployment§ EPAs,EPNs,CEPRules§ CEPservices

Page 8: A Middleware for Data-centric and Dynamic Distributed Complex … · 2016-07-12 · 4 Data-Centric Paradigm § Data Distribution Service for Real-Time Systems (OMG -DDS) • Fully

8

D3CEPMiddleware

Page 9: A Middleware for Data-centric and Dynamic Distributed Complex … · 2016-07-12 · 4 Data-Centric Paradigm § Data Distribution Service for Real-Time Systems (OMG -DDS) • Fully

9

Architecture

Page 10: A Middleware for Data-centric and Dynamic Distributed Complex … · 2016-07-12 · 4 Data-Centric Paradigm § Data Distribution Service for Real-Time Systems (OMG -DDS) • Fully

10

Architecture

§ ProcessingNodeDaemon

Page 11: A Middleware for Data-centric and Dynamic Distributed Complex … · 2016-07-12 · 4 Data-Centric Paradigm § Data Distribution Service for Real-Time Systems (OMG -DDS) • Fully

11

Architecture

§ MetadataSharingService

Page 12: A Middleware for Data-centric and Dynamic Distributed Complex … · 2016-07-12 · 4 Data-Centric Paradigm § Data Distribution Service for Real-Time Systems (OMG -DDS) • Fully

12

Architecture

§ D3CEPAdministration

Page 13: A Middleware for Data-centric and Dynamic Distributed Complex … · 2016-07-12 · 4 Data-Centric Paradigm § Data Distribution Service for Real-Time Systems (OMG -DDS) • Fully

13

Architecture

§ DynamicDDSTopicsService

Page 14: A Middleware for Data-centric and Dynamic Distributed Complex … · 2016-07-12 · 4 Data-Centric Paradigm § Data Distribution Service for Real-Time Systems (OMG -DDS) • Fully

14

UseCase

§ TelemetryApplication

Page 15: A Middleware for Data-centric and Dynamic Distributed Complex … · 2016-07-12 · 4 Data-Centric Paradigm § Data Distribution Service for Real-Time Systems (OMG -DDS) • Fully

15

Evaluation

§ DetectionTime

Page 16: A Middleware for Data-centric and Dynamic Distributed Complex … · 2016-07-12 · 4 Data-Centric Paradigm § Data Distribution Service for Real-Time Systems (OMG -DDS) • Fully

16

Evaluation

§ DetectionTime

Page 17: A Middleware for Data-centric and Dynamic Distributed Complex … · 2016-07-12 · 4 Data-Centric Paradigm § Data Distribution Service for Real-Time Systems (OMG -DDS) • Fully

17

Evaluation

§ Throughput

Page 18: A Middleware for Data-centric and Dynamic Distributed Complex … · 2016-07-12 · 4 Data-Centric Paradigm § Data Distribution Service for Real-Time Systems (OMG -DDS) • Fully

18

Evaluation

§ Throughput

Page 19: A Middleware for Data-centric and Dynamic Distributed Complex … · 2016-07-12 · 4 Data-Centric Paradigm § Data Distribution Service for Real-Time Systems (OMG -DDS) • Fully

19

RelatedWork

Page 20: A Middleware for Data-centric and Dynamic Distributed Complex … · 2016-07-12 · 4 Data-Centric Paradigm § Data Distribution Service for Real-Time Systems (OMG -DDS) • Fully

20

ConclusionsandFutureWork

§ MainContributions• Data-centricdesignapproachtoDCEP

§ UseofDDSforpeer-to-peer routingofevents§ DynamicDeploymentandAutomaticDiscovery

§ FacilitatesdeploymentofCEPrules§ DistributedStateManagement

§ CEPrulesseamlesslyread/writeGlobalSharedDataSpace

§ Futurework• QoScontractsatthedetection level[Appeletal.2010]§ IoTandmissioncriticalapplications

Page 21: A Middleware for Data-centric and Dynamic Distributed Complex … · 2016-07-12 · 4 Data-Centric Paradigm § Data Distribution Service for Real-Time Systems (OMG -DDS) • Fully

21

Questions

Thank you