SlideShare a Scribd company logo
Strel streaming
Agenda
• Motivation
• Preliminaries: data streaming in a nutshell
• Contribution: translation of Spatio-Temporal Logics to
Streaming-Based Monitoring Applications
• Evaluation
• Conclusion / Future work
2
95
95
95
• Monitoring rules are essential to detect anomalies /
dangerous situations / broken agents...
• Challenges: the # of devices, their heterogeneity,
their complex interactions...
• Wishlist:
• easy-to-express rules  “for the masses”
• efficient analysis  for timely detection
UAVs should never get
closer than 10 meters to cars
easy-to-express rules + efficient analysis
• Ingredients:
• High-level language  Spatio-temporal logics
• Continuous analysis paradigm  Data streaming
• Distributed / Parallel analysis framework  Stream Processing Engines
How do we take his knowledge...
... and transfer it here?
Agenda
• Motivation
• Preliminaries: data streaming in a nutshell
• Contribution: translation of Spatio-Temporal Logics to
Streaming-Based Monitoring Applications
• Evaluation
• Conclusion / Future work
5
7
data stream: unbounded sequence of tuples sharing the same schema
95
A 8:00 20
Ff Ff Ff
A 8:03 15
Ff Ff Ff
<UAV id, ts, speed, dest>
8
95
A 8:00 20
Ff Ff Ff
A 8:03 15
Ff Ff Ff
Join
Aggregate
stateful
continuous query: Directed Acyclic Graph of streams and operators Map
Filter
Union
Multiplex
stateless
Compute the average speed
in the last 10 minutes
(group by UAV)
Add to each UAV report
its average speed in the
last 10 minutes
Report UAVs close to
the destination that are
not decelerating
Stream Processing Engine (SPE)
Agenda
• Motivation
• Preliminaries: data streaming in a nutshell
• Contribution: translation of Spatio-Temporal Logics to
Streaming-Based Monitoring Applications
• Evaluation
• Conclusion / Future work
9
ifo
A
d
REET
pg
FEI
f
if a
o
A
d
REET
FEI
f
if a
o
A
d
REET
pg
FEI
f
if a
o
A
FEI
f
if a
o
A
d
REET
STREL
(Spatio-Temporal Reach and Escape Logic)
• Spatio-temporal modal logic
• Allows expressing properties over
attributes which vary over space and
time
𝕊2
-Operators
(streaming-STREL operators)
can be ported to the streaming
paradigm by means of
Base streaming operator
whose semantics can be
enforced composing
FEI
f
if a
o
A
FEI
f
if a
o
A
d
REET
= 𝑓( ) = 𝑔( )
STREL
(Spatio-Temporal Reach and Escape Logic)
• Spatio-temporal modal logic
• Allows expressing properties over
attributes which vary over space and
time
𝕊2
-Operators
(streaming-STREL operators)
can be ported to the streaming
paradigm by means of
Base streaming operators
whose semantics can be
enforced composing
What’s the novelty?
Can be automated!(1)
Any of the existing
SPEs can be used
(2)
Their distribution / parallelization
/ adaptiveness / fault-tolerance
solutions can be leveraged!
(3)
FEI
f
if a
o
A
d
REET
pg
FEI
f
if a
o
A
d
REET
pg
FEI
f
if a
o
A
d
REET
pg
FEI
f
if a
o
A
d
REET
pg
STREL
(Spatio-Temporal Reach and Escape Logic)
• Atomic propositions
(True/False/Undefined)
• Logical operations
(AND/OR/NOT)
• Temporal operators:
• Since
• Sometimes in the past
• Always in the past
• Spatial operators:
• Somewhere
• Everywhere
Join
Aggregate
stateful
Map
Filter
Union
Multiplex
stateless
d
REET
pg
= 𝑔( )
Base streaming operators
𝕊2
-MAP
𝕊2
-MERGE
𝕊2
-TAGGR (𝕊2
-time-aggregate)
𝕊2-LAGGR (𝕊2-location-aggregate)
𝕊2-Operators
(streaming-STREL operators)
FEI
f
if a
o
A
d
REET
pg
FEI
f
if a
o
A
d
REET
pg
= 𝑓( )
FEI
f
if a
o
A
d
REET
pg
FEI
f
if a
o
A
d
REET
pg
FEI
f
if a
o
A
d
REET
pg
FEI
f
if a
o
A
d
REET
pg
FEI
f
if a
o
A
d
REET
pg
FEI
f
if a
o
A
d
REET
pg
= 𝑓( )
d
REET
pg
= 𝑔( )
STREL
(Spatio-Temporal Reach and Escape Logic)
Any combination of STREL
operators...
Base streaming operators
𝕊2
-Operators
(streaming-STREL operators)
A tree of 𝕊2
-Operators
Each node of a tree
of 𝕊2
-Operators...
A DAG of base operators
FEI
f
if a
o
A
d
REET
pg
FEI
f
if a
o
A
d
REET
pg
FEI
f
if a
o
A
d
REET
pg
FEI
f
if a
o
A
d
REET
pg
FEI
f
if a
o
A
d
REET
pg
FEI
f
if a
o
A
d
REET
pg
= 𝑓( )
d
REET
pg
= 𝑔( )
STREL
(Spatio-Temporal Reach
and Escape Logic)
Base streaming operators
𝕊2
-Operators
(streaming-STREL operators)
the UAV should not have remained farther than 20 meters from its destination for longer than 10
minutes
95
Agenda
• Motivation
• Preliminaries: data streaming in a nutshell
• Contribution: translation of Spatio-Temporal Logics to
Streaming-Based Monitoring Applications
• Evaluation
• Conclusion / Future work
15
Evaluation
• Performance evaluation of the monitoring query:
• Implemented using Apache Flink
• Testbed: Odroid-XU4
• Synthetic data, discretized over
• Time: sampling frequency f (Hz)
• 2D space: number of cells c
the UAV should not have remained farther than 20
meters from its destination for longer than 10 minutes
95
Throughput,
latency and CPU
consumption for
increasing f values
and fixed c values
Evaluation
Evaluation
Throughput,
latency and CPU
consumption for
increasing c values
and fixed f values
Evaluation
For small to medium
spatial resolution,
throughput ~ 1000 t/s
(max f = 8), for high
spatial resolution,
throughput ~ 500 t/s
0
Evaluation
If the system is not
overloaded,
sub-millisecond latency
Agenda
• Motivation
• Preliminaries: data streaming in a nutshell
• Contribution: translation of Spatio-Temporal Logics to
Streaming-Based Monitoring Applications
• Evaluation
• Conclusion / Future work
21
Conclusions / future work
What’s next?
• Extended experimental evaluation
• Future temporal operators
• Spatial analysis based on paths
• Compilation optimizations
STREL
(Spatio-Temporal Reach and Escape Logic)
• Spatio-temporal modal logic
• Allows expressing properties over
attributes which vary over space and
time
𝕊2
-Operators
(streaming-STREL operators)
can be ported to the streaming
paradigm by means of
Base streaming operator
whose semantics can be
enforced composing
Strel streaming

More Related Content

PDF
Pcr array data analysis 2013
Elsa von Licy
 
PDF
Measuring Countries and IXPs with RIPE Atlas
RIPE NCC
 
PDF
GNAT Pro User Day: Ada at Ansaldo STS
AdaCore
 
PPTX
An Introduction to Distributed Data Streaming
Paris Carbone
 
PPTX
GNAT Pro User Day: QGen: Simulink® static verification and code generation
AdaCore
 
PDF
GNAT Pro User Day: AdaCore Insights
AdaCore
 
PPTX
GNAT Pro User Day: Latest Advances in AdaCore Static Analysis Tools
AdaCore
 
PDF
GNAT Pro User Day: GNATdashboard - Tracking and Improving Software Quality
AdaCore
 
Pcr array data analysis 2013
Elsa von Licy
 
Measuring Countries and IXPs with RIPE Atlas
RIPE NCC
 
GNAT Pro User Day: Ada at Ansaldo STS
AdaCore
 
An Introduction to Distributed Data Streaming
Paris Carbone
 
GNAT Pro User Day: QGen: Simulink® static verification and code generation
AdaCore
 
GNAT Pro User Day: AdaCore Insights
AdaCore
 
GNAT Pro User Day: Latest Advances in AdaCore Static Analysis Tools
AdaCore
 
GNAT Pro User Day: GNATdashboard - Tracking and Improving Software Quality
AdaCore
 

What's hot (20)

PDF
On the Necessity of Time-based Updates in SDN
Open Networking Summits
 
PPT
Presentazione L.M. Rinaldi Ivan
Ivan Rinaldi
 
PDF
Trace-Checking CPS Properties: Bridging the Cyber-Physical Gap
Lionel Briand
 
PDF
Requirements in Cyber-Physical Systems: Specifications and Applications
Lionel Briand
 
PDF
IEEE P2P 2013 - Bootstrapping Skynet: Calibration and Autonomic Self-Control ...
Kalman Graffi
 
PPTX
Application Fault Tolerance (AFT)
Daniel S. Katz
 
PPTX
Programmable Logic Controls training day 2
Malinga Ephraim
 
PPTX
Programmable Logic Controls training day 1
Malinga Ephraim
 
PDF
Classical and Modern Control Theory
Qazi Ejaz
 
PDF
Model-driven trace diagnostics for pattern-based temporal specifications
Lionel Briand
 
PDF
Processing Real-Time Volcano Seismic Measurements Through Redis: David Chaves
Redis Labs
 
PPT
Saccolfinal 090505095735-phpapp01
Kedarisetti Venkatesh
 
PDF
Matthias J. Sax – A Tale of Squirrels and Storms
Flink Forward
 
PPTX
Elastic - DASH
Yigit UNALLAR
 
PDF
Classical and Modern Controls v2
Qazi Ejaz
 
PDF
Object Detection Classification, tracking and Counting
Shounak Mitra
 
PDF
12 karel debrabandere_evaluation_of_satellite_irradiation_data__at_200_sites
Sandia National Laboratories: Energy & Climate: Renewables
 
PDF
Stream Loops on Flink - Reinventing the wheel for the streaming era
Paris Carbone
 
PDF
Enabling Model Testing of Cyber Physical Systems
Lionel Briand
 
On the Necessity of Time-based Updates in SDN
Open Networking Summits
 
Presentazione L.M. Rinaldi Ivan
Ivan Rinaldi
 
Trace-Checking CPS Properties: Bridging the Cyber-Physical Gap
Lionel Briand
 
Requirements in Cyber-Physical Systems: Specifications and Applications
Lionel Briand
 
IEEE P2P 2013 - Bootstrapping Skynet: Calibration and Autonomic Self-Control ...
Kalman Graffi
 
Application Fault Tolerance (AFT)
Daniel S. Katz
 
Programmable Logic Controls training day 2
Malinga Ephraim
 
Programmable Logic Controls training day 1
Malinga Ephraim
 
Classical and Modern Control Theory
Qazi Ejaz
 
Model-driven trace diagnostics for pattern-based temporal specifications
Lionel Briand
 
Processing Real-Time Volcano Seismic Measurements Through Redis: David Chaves
Redis Labs
 
Saccolfinal 090505095735-phpapp01
Kedarisetti Venkatesh
 
Matthias J. Sax – A Tale of Squirrels and Storms
Flink Forward
 
Elastic - DASH
Yigit UNALLAR
 
Classical and Modern Controls v2
Qazi Ejaz
 
Object Detection Classification, tracking and Counting
Shounak Mitra
 
12 karel debrabandere_evaluation_of_satellite_irradiation_data__at_200_sites
Sandia National Laboratories: Energy & Climate: Renewables
 
Stream Loops on Flink - Reinventing the wheel for the streaming era
Paris Carbone
 
Enabling Model Testing of Cyber Physical Systems
Lionel Briand
 
Ad

Similar to Strel streaming (20)

PPT
A Knowledge-based Approach for Real-Time IoT Stream Annotation and Processing
PayamBarnaghi
 
PPTX
The data streaming processing paradigm and its use in modern fog architectures
Vincenzo Gulisano
 
PDF
Building Social Life Networks 130818
Ramesh Jain
 
PPTX
EventShop ISG talk 140213
Siripen Pongpaichet
 
PPT
Intelligent Data Processing for the Internet of Things
PayamBarnaghi
 
PPTX
Tutorial: The Role of Event-Time Analysis Order in Data Streaming
Vincenzo Gulisano
 
PPTX
Crash course on data streaming (with examples using Apache Flink)
Vincenzo Gulisano
 
PPT
A First Step Towards Stream Reasoning at FIS 2008
Emanuele Della Valle
 
PDF
SRS-NET Smart Resource Aware Multi Sensor Network
Paolo Omero
 
PDF
StreamSight: A Query-Driven Framework Extending Streaming IoT Analytics to th...
Demetris Trihinas
 
PPT
Semantics in Sensor Networks
Oscar Corcho
 
PDF
Sensing the world with Data of Things
Sriskandarajah Suhothayan
 
PDF
Sensing the world with data of things
Sriskandarajah Suhothayan
 
PPTX
Streaming HYpothesis REasoning
William Smith
 
PPTX
Streaming Hypothesis Reasoning - William Smith, Jan 2016
Seattle DAML meetup
 
PDF
Streaming Analytics in Uber
Danny Yuan
 
PPT
Intelligent Data Processing for the Internet of Things
PayamBarnaghi
 
PDF
Sensor Data Management
PlanetData Network of Excellence
 
PPT
Smart Cities: How are they different?
PayamBarnaghi
 
PPT
Smart Cities and Data Analytics: Challenges and Opportunities
PayamBarnaghi
 
A Knowledge-based Approach for Real-Time IoT Stream Annotation and Processing
PayamBarnaghi
 
The data streaming processing paradigm and its use in modern fog architectures
Vincenzo Gulisano
 
Building Social Life Networks 130818
Ramesh Jain
 
EventShop ISG talk 140213
Siripen Pongpaichet
 
Intelligent Data Processing for the Internet of Things
PayamBarnaghi
 
Tutorial: The Role of Event-Time Analysis Order in Data Streaming
Vincenzo Gulisano
 
Crash course on data streaming (with examples using Apache Flink)
Vincenzo Gulisano
 
A First Step Towards Stream Reasoning at FIS 2008
Emanuele Della Valle
 
SRS-NET Smart Resource Aware Multi Sensor Network
Paolo Omero
 
StreamSight: A Query-Driven Framework Extending Streaming IoT Analytics to th...
Demetris Trihinas
 
Semantics in Sensor Networks
Oscar Corcho
 
Sensing the world with Data of Things
Sriskandarajah Suhothayan
 
Sensing the world with data of things
Sriskandarajah Suhothayan
 
Streaming HYpothesis REasoning
William Smith
 
Streaming Hypothesis Reasoning - William Smith, Jan 2016
Seattle DAML meetup
 
Streaming Analytics in Uber
Danny Yuan
 
Intelligent Data Processing for the Internet of Things
PayamBarnaghi
 
Sensor Data Management
PlanetData Network of Excellence
 
Smart Cities: How are they different?
PayamBarnaghi
 
Smart Cities and Data Analytics: Challenges and Opportunities
PayamBarnaghi
 
Ad

More from Vincenzo Gulisano (7)

PPTX
Performance Modeling of Stream Joins
Vincenzo Gulisano
 
PPTX
Data Streaming in Big Data Analysis
Vincenzo Gulisano
 
PPTX
Data Streaming in IoT and Big Data Analytics
Vincenzo Gulisano
 
PDF
The data streaming paradigm and its use in Fog architectures
Vincenzo Gulisano
 
PPTX
Data Streaming (in a Nutshell) ... and Spark's window operations
Vincenzo Gulisano
 
PPTX
ScaleJoin: a Deterministic, Disjoint-Parallel and Skew-Resilient Stream Join
Vincenzo Gulisano
 
PPTX
The benefits of fine-grained synchronization in deterministic and efficient ...
Vincenzo Gulisano
 
Performance Modeling of Stream Joins
Vincenzo Gulisano
 
Data Streaming in Big Data Analysis
Vincenzo Gulisano
 
Data Streaming in IoT and Big Data Analytics
Vincenzo Gulisano
 
The data streaming paradigm and its use in Fog architectures
Vincenzo Gulisano
 
Data Streaming (in a Nutshell) ... and Spark's window operations
Vincenzo Gulisano
 
ScaleJoin: a Deterministic, Disjoint-Parallel and Skew-Resilient Stream Join
Vincenzo Gulisano
 
The benefits of fine-grained synchronization in deterministic and efficient ...
Vincenzo Gulisano
 

Recently uploaded (20)

PDF
Multiwavelength Study of a Hyperluminous X-Ray Source near NGC6099: A Strong ...
Sérgio Sacani
 
PPTX
Pharmacognosy: ppt :pdf :pharmacognosy :
Vishnukanchi darade
 
PPTX
biomolecules-class12th chapter board classespptx
SapnaTiwari58
 
PDF
The Cosmic Symphony: How Photons Shape the Universe and Our Place Within It
kutatomoshi
 
PDF
Evaluating Benchmark Quality: a Mutation-Testing- Based Methodology
ESUG
 
PDF
A water-rich interior in the temperate sub-Neptune K2-18 b revealed by JWST
Sérgio Sacani
 
PPTX
Feeding stratagey for climate change dairy animals.
Dr.Zulfy haq
 
PPTX
The Toxic Effects of Aflatoxin B1 and Aflatoxin M1 on Kidney through Regulati...
OttokomaBonny
 
PPT
Grade_9_Science_Atomic_S_t_r_u_cture.ppt
QuintReynoldDoble
 
PDF
urticaria-1775-rahulkalal-250606145215-0ff37bc9.pdf
GajananPatil761074
 
PDF
Integrating Executable Requirements in Prototyping
ESUG
 
PDF
10thstd imp basic notes of chemistry (1).pdf
sonakshisingh9472
 
PPTX
Excretory System in insects ( PPT Presentation)
Dr Showkat Ahmad Wani
 
PDF
Rethinking_the_Past_Infinite_Multiverse.pdf
HamzaObaidat
 
PDF
Approximating manifold orbits by means of Machine Learning Techniques
Esther Barrabés Vera
 
PDF
FASTTypeScript metamodel generation using FAST traits and TreeSitter project
ESUG
 
PDF
Migrating Katalon Studio Tests to Playwright with Model Driven Engineering
ESUG
 
PPT
An Introduction to Particle Accelerators.ppt
mowehe5553
 
PPTX
Discovery of Novel Antibiotics from Uncultured Microbes.pptx
SaakshiSharma26
 
PPTX
Seminar on ethics in biomedical research
poojabisht244
 
Multiwavelength Study of a Hyperluminous X-Ray Source near NGC6099: A Strong ...
Sérgio Sacani
 
Pharmacognosy: ppt :pdf :pharmacognosy :
Vishnukanchi darade
 
biomolecules-class12th chapter board classespptx
SapnaTiwari58
 
The Cosmic Symphony: How Photons Shape the Universe and Our Place Within It
kutatomoshi
 
Evaluating Benchmark Quality: a Mutation-Testing- Based Methodology
ESUG
 
A water-rich interior in the temperate sub-Neptune K2-18 b revealed by JWST
Sérgio Sacani
 
Feeding stratagey for climate change dairy animals.
Dr.Zulfy haq
 
The Toxic Effects of Aflatoxin B1 and Aflatoxin M1 on Kidney through Regulati...
OttokomaBonny
 
Grade_9_Science_Atomic_S_t_r_u_cture.ppt
QuintReynoldDoble
 
urticaria-1775-rahulkalal-250606145215-0ff37bc9.pdf
GajananPatil761074
 
Integrating Executable Requirements in Prototyping
ESUG
 
10thstd imp basic notes of chemistry (1).pdf
sonakshisingh9472
 
Excretory System in insects ( PPT Presentation)
Dr Showkat Ahmad Wani
 
Rethinking_the_Past_Infinite_Multiverse.pdf
HamzaObaidat
 
Approximating manifold orbits by means of Machine Learning Techniques
Esther Barrabés Vera
 
FASTTypeScript metamodel generation using FAST traits and TreeSitter project
ESUG
 
Migrating Katalon Studio Tests to Playwright with Model Driven Engineering
ESUG
 
An Introduction to Particle Accelerators.ppt
mowehe5553
 
Discovery of Novel Antibiotics from Uncultured Microbes.pptx
SaakshiSharma26
 
Seminar on ethics in biomedical research
poojabisht244
 

Strel streaming

  • 2. Agenda • Motivation • Preliminaries: data streaming in a nutshell • Contribution: translation of Spatio-Temporal Logics to Streaming-Based Monitoring Applications • Evaluation • Conclusion / Future work 2
  • 3. 95 95 95 • Monitoring rules are essential to detect anomalies / dangerous situations / broken agents... • Challenges: the # of devices, their heterogeneity, their complex interactions... • Wishlist: • easy-to-express rules  “for the masses” • efficient analysis  for timely detection UAVs should never get closer than 10 meters to cars
  • 4. easy-to-express rules + efficient analysis • Ingredients: • High-level language  Spatio-temporal logics • Continuous analysis paradigm  Data streaming • Distributed / Parallel analysis framework  Stream Processing Engines How do we take his knowledge... ... and transfer it here?
  • 5. Agenda • Motivation • Preliminaries: data streaming in a nutshell • Contribution: translation of Spatio-Temporal Logics to Streaming-Based Monitoring Applications • Evaluation • Conclusion / Future work 5
  • 6. 7 data stream: unbounded sequence of tuples sharing the same schema 95 A 8:00 20 Ff Ff Ff A 8:03 15 Ff Ff Ff <UAV id, ts, speed, dest>
  • 7. 8 95 A 8:00 20 Ff Ff Ff A 8:03 15 Ff Ff Ff Join Aggregate stateful continuous query: Directed Acyclic Graph of streams and operators Map Filter Union Multiplex stateless Compute the average speed in the last 10 minutes (group by UAV) Add to each UAV report its average speed in the last 10 minutes Report UAVs close to the destination that are not decelerating Stream Processing Engine (SPE)
  • 8. Agenda • Motivation • Preliminaries: data streaming in a nutshell • Contribution: translation of Spatio-Temporal Logics to Streaming-Based Monitoring Applications • Evaluation • Conclusion / Future work 9
  • 9. ifo A d REET pg FEI f if a o A d REET FEI f if a o A d REET pg FEI f if a o A FEI f if a o A d REET STREL (Spatio-Temporal Reach and Escape Logic) • Spatio-temporal modal logic • Allows expressing properties over attributes which vary over space and time 𝕊2 -Operators (streaming-STREL operators) can be ported to the streaming paradigm by means of Base streaming operator whose semantics can be enforced composing FEI f if a o A FEI f if a o A d REET = 𝑓( ) = 𝑔( )
  • 10. STREL (Spatio-Temporal Reach and Escape Logic) • Spatio-temporal modal logic • Allows expressing properties over attributes which vary over space and time 𝕊2 -Operators (streaming-STREL operators) can be ported to the streaming paradigm by means of Base streaming operators whose semantics can be enforced composing What’s the novelty? Can be automated!(1) Any of the existing SPEs can be used (2) Their distribution / parallelization / adaptiveness / fault-tolerance solutions can be leveraged! (3)
  • 11. FEI f if a o A d REET pg FEI f if a o A d REET pg FEI f if a o A d REET pg FEI f if a o A d REET pg STREL (Spatio-Temporal Reach and Escape Logic) • Atomic propositions (True/False/Undefined) • Logical operations (AND/OR/NOT) • Temporal operators: • Since • Sometimes in the past • Always in the past • Spatial operators: • Somewhere • Everywhere Join Aggregate stateful Map Filter Union Multiplex stateless d REET pg = 𝑔( ) Base streaming operators 𝕊2 -MAP 𝕊2 -MERGE 𝕊2 -TAGGR (𝕊2 -time-aggregate) 𝕊2-LAGGR (𝕊2-location-aggregate) 𝕊2-Operators (streaming-STREL operators) FEI f if a o A d REET pg FEI f if a o A d REET pg = 𝑓( )
  • 12. FEI f if a o A d REET pg FEI f if a o A d REET pg FEI f if a o A d REET pg FEI f if a o A d REET pg FEI f if a o A d REET pg FEI f if a o A d REET pg = 𝑓( ) d REET pg = 𝑔( ) STREL (Spatio-Temporal Reach and Escape Logic) Any combination of STREL operators... Base streaming operators 𝕊2 -Operators (streaming-STREL operators) A tree of 𝕊2 -Operators Each node of a tree of 𝕊2 -Operators... A DAG of base operators
  • 13. FEI f if a o A d REET pg FEI f if a o A d REET pg FEI f if a o A d REET pg FEI f if a o A d REET pg FEI f if a o A d REET pg FEI f if a o A d REET pg = 𝑓( ) d REET pg = 𝑔( ) STREL (Spatio-Temporal Reach and Escape Logic) Base streaming operators 𝕊2 -Operators (streaming-STREL operators) the UAV should not have remained farther than 20 meters from its destination for longer than 10 minutes 95
  • 14. Agenda • Motivation • Preliminaries: data streaming in a nutshell • Contribution: translation of Spatio-Temporal Logics to Streaming-Based Monitoring Applications • Evaluation • Conclusion / Future work 15
  • 15. Evaluation • Performance evaluation of the monitoring query: • Implemented using Apache Flink • Testbed: Odroid-XU4 • Synthetic data, discretized over • Time: sampling frequency f (Hz) • 2D space: number of cells c the UAV should not have remained farther than 20 meters from its destination for longer than 10 minutes 95
  • 16. Throughput, latency and CPU consumption for increasing f values and fixed c values Evaluation
  • 17. Evaluation Throughput, latency and CPU consumption for increasing c values and fixed f values
  • 18. Evaluation For small to medium spatial resolution, throughput ~ 1000 t/s (max f = 8), for high spatial resolution, throughput ~ 500 t/s 0
  • 19. Evaluation If the system is not overloaded, sub-millisecond latency
  • 20. Agenda • Motivation • Preliminaries: data streaming in a nutshell • Contribution: translation of Spatio-Temporal Logics to Streaming-Based Monitoring Applications • Evaluation • Conclusion / Future work 21
  • 21. Conclusions / future work What’s next? • Extended experimental evaluation • Future temporal operators • Spatial analysis based on paths • Compilation optimizations STREL (Spatio-Temporal Reach and Escape Logic) • Spatio-temporal modal logic • Allows expressing properties over attributes which vary over space and time 𝕊2 -Operators (streaming-STREL operators) can be ported to the streaming paradigm by means of Base streaming operator whose semantics can be enforced composing

Editor's Notes

  • #4: In this work we focus on environments in which autonomous agents, Unmanned Arial Vehicles (UAVs) or cars, for instance, can interact with humans. /// In this environments, monitoring rules are used to check if everything is working correctly (simply put) /// Challenges [...] we usually have large / complex set of rules What we really want are easy-to-express rules (for experts that are not programmers) and efficient analysis (for timely detection)
  • #5: to achieve these goals we know the “ingredients” of the recipe: [...] /// The problem is who should take care of mixing them. Our research question is: How do we [...]?
  • #7: Differently from databases, which are designed to essentially store information and later query it, streaming applications (run by Stream Processing Engines) are running continuously (a streaming application is usually referred to as a continuous query), processing new incoming data and producing results accordingly.
  • #8: Very briefly, in data streaming we have streams, unbounded [...], like this one {explain example}
  • #9: Which are fed to DAGs of operators. The basic operators are divided into stateless {explain} and stateful {explain}. We could do something like this for instance: {explain}
  • #11: We start by taking STREL: a Spatio-temporal [...] and show it can be ported to the streaming paradigm [...]. Then, we show that each one of these S2 operators [...]. In a LEGO-parallelism: we show that ...
  • #12: Why is this important? What’s the novelty? [...] Let me show you a bit more in detail (but without too many formalisms, because of time)
  • #13: With STREL, monitoring rules can be composed using propositions, [...]. When it comes to porting STREL to the streaming paradigm, we actually need 4 “rich” operators. And each one of these operators is actually a small composition of the basic operators I already mentioned before
  • #14: As we discuss in the paper [...] Let me show you an example.
  • #15: Rombo is somewhere negate always in the past negate