SlideShare a Scribd company logo
October 2016
Streaming Analytics and Internet
of Things
Geesara Prathap(geesara@wso2.com)
Challenges
2
• How fast do we need results?
• How much data to keep?
• Common language ?
• Do we have centralized data storage and
processing units?
• Knowledge of the past data only?
**
IoT is not new !!
Source: http://community.arm.com/groups/internet-of-things/blog/2014/06
IoT Ecosystem
WSO2 IoT Platform
Analytics Platform
6
WSO2 Analytics platform uniquely combine
simultaneous real time and batch analytics with
predictive analytics to run data from IoT, mobile, and
web apps into actionable insights.
7
Analytics Platform
Analytics Strategy
8
Single platform to address all analytics styles.
Batch Analytics: analytics on data at-rest, running typically
every hour or every day, and focused on historical analytics
dashboards and reports
Real time Analytics: analyze event streams in real-time and
detects patterns and conditions
Predictive Analytics: leverages machine learning to create
a mathematical model allowing to predict future behavior.
Interactive Analytics: execute queries on the fly on top of
data at rest.
IoT / Edge Analytics
9
Streaming Analytics in Other Words
10
● Gather data from multiple sources
● Correlate data streams over time
● Find interesting occurrences
● Notify
Basic Building Blocks
11
● Receivers: Data collection point, associated to a
specific data connector
● Publishers: Data publishing point,
associated to a specific data
connector
● Event Streams: Event data flowing
through the system
● Execution Plans: Execution pipeline applied to event
streams
● Siddhi: Codename for the streaming engine
● Siddiqi: SQL-like query language
12
Extensible Receiver Architecture
13
Extensible Publisher Architecture
Event Streams
14
● Event stream is a sequence of
events
● Event streams are defined by
stream definition
● Event streams have inflows and
outflows
● Inflows can be from
○ Event receivers
○ Execution plans
● Outflows are to
○ Event publishers
○ Execution plans
Data Connectors
15
● The following connectors are available out of the box
Source: Email, File, JMS, Kafka, MQTT, SOAP, Websocket, Thrift,
Binary, Log and JMX receiver
Sink: RDBMS, Cassandra, SMS, Email, File, HTTP, JMS, Kafka,
MQTT, SOAP, Websocket, Thrift, Binary
● Incoming/ outgoing data can be mapped using XPath,
regular expressions, or JSON paths
● Data connectors are common across the analytics platform
Real-time Analytics Patterns
● Simple counting (e.g. failure count)
● Counting with Windows (e.g. failure count every hour)
● Preprocessing: filtering, transformations, (e.g data cleanup)
● Alerts, thresholds (e.g Alarm on high temperature)
● Data correlation, Detect missing events detecting erroneous
data( e.g detecting failed sensors)
● Joining event streams (e.g. detect a hit on soccer ball)
● Merge with data in a database, collect update data
conditionally
Real-time Analytics Patterns
● Detecting event sequence patterns( e.g. small transaction
followed by large transaction)
● Tracking - follow some related entity’s state in space, time etc.
(e.g location of airline baggage, vehicle, tracking wild life)
● Detect trends- Rise, turn, fall, outliers, Complex trends like
triple bottom etc., (e.g algorithmic trading, SLA, load
balancing)
● Learning a model (e.g. predictive maintenance)
● Predicting next value and corrective actions (e.g automated
car)
CEP = SQL for Real-time Analytics
● Easy to follow from SQL
● Expressive, short, and sweet
● Define core operations that covers 90% of
problems
● Let’s experts dig in when they like!
Let’s look at the core operation
Operators: Filters
Assume a temperature stream
Here weather: convertFtoC() is a user defined function. They are used to
extend the language
Usecases:
- Alerts, thresholds, (e.g Alarm on high temperature)
- Preprocessing: filtering, transformation (e.g data cleanup)
Operators: Windows and Aggregation
Support many window types
- Batch windows, Sliding windows, Custom windows
Usecases
- Simple counting ( e.g failure count)
- Counting with Windows ( e.g failure count every hour)
Operators: Patterns
Models a followed by relation: e.g. event AS followed by event B
Very powerful tool for tracking and detecting patterns
Usecases
- Detecting event sequence patterns
- Tracking
- Detect trends
Operators: Joins
Models a followed by relation: e.g. event AS followed by event B
Very powerful tool for tracking and detecting patterns
Usecases
- Detecting event sequence patterns
- Tracking
- Detect trends
Real-time Dashboard
TFL Traffic Analytics
CONTACT US !

More Related Content

PDF
ACM DEBS Grand Challenge: Continuous Analytics on Geospatial Data Streams wit...
PDF
Towards Data Operations
PDF
PDF
PPTX
Hidden Markov Models for Abnormal Event Processing in Transportation Data Str...
PDF
JS Experience 2017 - Reactive Interfaces com React & RxJS
PPTX
Botnet detection in SDN by DL techniques
PDF
Demonstration
ACM DEBS Grand Challenge: Continuous Analytics on Geospatial Data Streams wit...
Towards Data Operations
Hidden Markov Models for Abnormal Event Processing in Transportation Data Str...
JS Experience 2017 - Reactive Interfaces com React & RxJS
Botnet detection in SDN by DL techniques
Demonstration

Viewers also liked (8)

PDF
Twitter sentiment analysis
PDF
Apache Spark & MLlib
PDF
Airfare prediction using Machine Learning with Apache Spark on 1 billion obse...
PDF
Big Data Usecases
PDF
Apache Spark
PPTX
Introduction to (Big) Data Science
PDF
Google analytics 還原使用者操作現場
PDF
Introduction to Mahout and Machine Learning
Twitter sentiment analysis
Apache Spark & MLlib
Airfare prediction using Machine Learning with Apache Spark on 1 billion obse...
Big Data Usecases
Apache Spark
Introduction to (Big) Data Science
Google analytics 還原使用者操作現場
Introduction to Mahout and Machine Learning
Ad

Similar to Streaming Analytics and Internet of Things - Geesara Prathap (20)

PDF
Streaming analytics state of the art
PDF
Voxxed Days Thesaloniki 2016 - Streaming Engines for Big Data
PDF
Voxxed days thessaloniki 21/10/2016 - Streaming Engines for Big Data
PPT
Scalable Realtime Analytics with declarative SQL like Complex Event Processin...
PDF
Building a data pipeline to ingest data into Hadoop in minutes using Streamse...
ODP
Log aggregation and analysis
PPTX
WSO2Con USA 2015: An Introduction to the WSO2 Analytics Platform
PDF
Introduction to Big Data Analytics: Batch, Real-Time, and the Best of Both Wo...
PDF
An introduction to the WSO2 Analytics Platform
PPTX
Challenges of monitoring distributed systems
PDF
[WSO2Con EU 2018] The Rise of Streaming SQL
PDF
Extracting Insights from Data at Twitter
PDF
Let's get to know the Data Streaming
PDF
WSO2Con EU 2015: An Introduction to the WSO2 Data Analytics Platform
PDF
Analytics in Your Enterprise
PDF
WSO2Con USA 2015: An Introduction to the WSO2 Analytics Platform
PDF
Eko10 - Security Monitoring for Big Infrastructures without a Million Dollar ...
PDF
The Lyft data platform: Now and in the future
PDF
Lyft data Platform - 2019 slides
PDF
Introduction to Data streaming - 05/12/2014
Streaming analytics state of the art
Voxxed Days Thesaloniki 2016 - Streaming Engines for Big Data
Voxxed days thessaloniki 21/10/2016 - Streaming Engines for Big Data
Scalable Realtime Analytics with declarative SQL like Complex Event Processin...
Building a data pipeline to ingest data into Hadoop in minutes using Streamse...
Log aggregation and analysis
WSO2Con USA 2015: An Introduction to the WSO2 Analytics Platform
Introduction to Big Data Analytics: Batch, Real-Time, and the Best of Both Wo...
An introduction to the WSO2 Analytics Platform
Challenges of monitoring distributed systems
[WSO2Con EU 2018] The Rise of Streaming SQL
Extracting Insights from Data at Twitter
Let's get to know the Data Streaming
WSO2Con EU 2015: An Introduction to the WSO2 Data Analytics Platform
Analytics in Your Enterprise
WSO2Con USA 2015: An Introduction to the WSO2 Analytics Platform
Eko10 - Security Monitoring for Big Infrastructures without a Million Dollar ...
The Lyft data platform: Now and in the future
Lyft data Platform - 2019 slides
Introduction to Data streaming - 05/12/2014
Ad

More from WithTheBest (20)

PDF
Riccardo Vittoria
PPTX
Recreating history in virtual reality
PDF
Engaging and sharing your VR experience
PDF
How to survive the early days of VR as an Indie Studio
PDF
Mixed reality 101
PDF
Unlocking Human Potential with Immersive Technology
PPTX
Building your own video devices
PPTX
Maximizing performance of 3 d user generated assets in unity
PPTX
Wizdish rovr
PPTX
Haptics & amp; null space vr
PPTX
How we use vr to break the laws of physics
PPTX
The Virtual Self
PPTX
You dont have to be mad to do VR and AR ... but it helps
PDF
Omnivirt overview
PDF
VR Interactions - Jason Jerald
PDF
Japheth Funding your startup - dating the devil
PDF
Transported vr the virtual reality platform for real estate
PDF
Measuring Behavior in VR - Rob Merki Cognitive VR
PDF
Global demand for Mixed Realty (VR/AR) content is about to explode.
PDF
VR, a new technology over 40,000 years old
Riccardo Vittoria
Recreating history in virtual reality
Engaging and sharing your VR experience
How to survive the early days of VR as an Indie Studio
Mixed reality 101
Unlocking Human Potential with Immersive Technology
Building your own video devices
Maximizing performance of 3 d user generated assets in unity
Wizdish rovr
Haptics & amp; null space vr
How we use vr to break the laws of physics
The Virtual Self
You dont have to be mad to do VR and AR ... but it helps
Omnivirt overview
VR Interactions - Jason Jerald
Japheth Funding your startup - dating the devil
Transported vr the virtual reality platform for real estate
Measuring Behavior in VR - Rob Merki Cognitive VR
Global demand for Mixed Realty (VR/AR) content is about to explode.
VR, a new technology over 40,000 years old

Recently uploaded (20)

DOCX
The AUB Centre for AI in Media Proposal.docx
PDF
cuic standard and advanced reporting.pdf
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
PDF
Approach and Philosophy of On baking technology
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
NewMind AI Monthly Chronicles - July 2025
PDF
Chapter 3 Spatial Domain Image Processing.pdf
PPTX
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
PDF
KodekX | Application Modernization Development
PDF
Encapsulation_ Review paper, used for researhc scholars
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Reach Out and Touch Someone: Haptics and Empathic Computing
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PDF
Unlocking AI with Model Context Protocol (MCP)
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
NewMind AI Weekly Chronicles - August'25 Week I
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
The AUB Centre for AI in Media Proposal.docx
cuic standard and advanced reporting.pdf
Per capita expenditure prediction using model stacking based on satellite ima...
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
Approach and Philosophy of On baking technology
Dropbox Q2 2025 Financial Results & Investor Presentation
Digital-Transformation-Roadmap-for-Companies.pptx
NewMind AI Monthly Chronicles - July 2025
Chapter 3 Spatial Domain Image Processing.pdf
KOM of Painting work and Equipment Insulation REV00 update 25-dec.pptx
KodekX | Application Modernization Development
Encapsulation_ Review paper, used for researhc scholars
Advanced methodologies resolving dimensionality complications for autism neur...
20250228 LYD VKU AI Blended-Learning.pptx
Reach Out and Touch Someone: Haptics and Empathic Computing
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Unlocking AI with Model Context Protocol (MCP)
Review of recent advances in non-invasive hemoglobin estimation
NewMind AI Weekly Chronicles - August'25 Week I
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx

Streaming Analytics and Internet of Things - Geesara Prathap

  • 1. October 2016 Streaming Analytics and Internet of Things Geesara Prathap(geesara@wso2.com)
  • 2. Challenges 2 • How fast do we need results? • How much data to keep? • Common language ? • Do we have centralized data storage and processing units? • Knowledge of the past data only?
  • 3. ** IoT is not new !! Source: http://community.arm.com/groups/internet-of-things/blog/2014/06
  • 6. Analytics Platform 6 WSO2 Analytics platform uniquely combine simultaneous real time and batch analytics with predictive analytics to run data from IoT, mobile, and web apps into actionable insights.
  • 8. Analytics Strategy 8 Single platform to address all analytics styles. Batch Analytics: analytics on data at-rest, running typically every hour or every day, and focused on historical analytics dashboards and reports Real time Analytics: analyze event streams in real-time and detects patterns and conditions Predictive Analytics: leverages machine learning to create a mathematical model allowing to predict future behavior. Interactive Analytics: execute queries on the fly on top of data at rest.
  • 9. IoT / Edge Analytics 9
  • 10. Streaming Analytics in Other Words 10 ● Gather data from multiple sources ● Correlate data streams over time ● Find interesting occurrences ● Notify
  • 11. Basic Building Blocks 11 ● Receivers: Data collection point, associated to a specific data connector ● Publishers: Data publishing point, associated to a specific data connector ● Event Streams: Event data flowing through the system ● Execution Plans: Execution pipeline applied to event streams ● Siddhi: Codename for the streaming engine ● Siddiqi: SQL-like query language
  • 14. Event Streams 14 ● Event stream is a sequence of events ● Event streams are defined by stream definition ● Event streams have inflows and outflows ● Inflows can be from ○ Event receivers ○ Execution plans ● Outflows are to ○ Event publishers ○ Execution plans
  • 15. Data Connectors 15 ● The following connectors are available out of the box Source: Email, File, JMS, Kafka, MQTT, SOAP, Websocket, Thrift, Binary, Log and JMX receiver Sink: RDBMS, Cassandra, SMS, Email, File, HTTP, JMS, Kafka, MQTT, SOAP, Websocket, Thrift, Binary ● Incoming/ outgoing data can be mapped using XPath, regular expressions, or JSON paths ● Data connectors are common across the analytics platform
  • 16. Real-time Analytics Patterns ● Simple counting (e.g. failure count) ● Counting with Windows (e.g. failure count every hour) ● Preprocessing: filtering, transformations, (e.g data cleanup) ● Alerts, thresholds (e.g Alarm on high temperature) ● Data correlation, Detect missing events detecting erroneous data( e.g detecting failed sensors) ● Joining event streams (e.g. detect a hit on soccer ball) ● Merge with data in a database, collect update data conditionally
  • 17. Real-time Analytics Patterns ● Detecting event sequence patterns( e.g. small transaction followed by large transaction) ● Tracking - follow some related entity’s state in space, time etc. (e.g location of airline baggage, vehicle, tracking wild life) ● Detect trends- Rise, turn, fall, outliers, Complex trends like triple bottom etc., (e.g algorithmic trading, SLA, load balancing) ● Learning a model (e.g. predictive maintenance) ● Predicting next value and corrective actions (e.g automated car)
  • 18. CEP = SQL for Real-time Analytics ● Easy to follow from SQL ● Expressive, short, and sweet ● Define core operations that covers 90% of problems ● Let’s experts dig in when they like! Let’s look at the core operation
  • 19. Operators: Filters Assume a temperature stream Here weather: convertFtoC() is a user defined function. They are used to extend the language Usecases: - Alerts, thresholds, (e.g Alarm on high temperature) - Preprocessing: filtering, transformation (e.g data cleanup)
  • 20. Operators: Windows and Aggregation Support many window types - Batch windows, Sliding windows, Custom windows Usecases - Simple counting ( e.g failure count) - Counting with Windows ( e.g failure count every hour)
  • 21. Operators: Patterns Models a followed by relation: e.g. event AS followed by event B Very powerful tool for tracking and detecting patterns Usecases - Detecting event sequence patterns - Tracking - Detect trends
  • 22. Operators: Joins Models a followed by relation: e.g. event AS followed by event B Very powerful tool for tracking and detecting patterns Usecases - Detecting event sequence patterns - Tracking - Detect trends