SlideShare a Scribd company logo
Vice President, Research, WSO2
Streaming SQL in the Real World
Srinath Perera
Stream Processing Reference Architecture
● Real Time Analytics
● Streaming Data Integration
● IoT
● Offers, Advertisements, Targeting
● Tracking and Optimizations
● Anomaly Detection
Stream Processing Use Cases
Retail
Retail
Customers,
supermarkets place
orders regularly using
their laptops, phones,
tablets, etc.
These orders are
continuously recorded in
a database, and with
time, it will be possible to
identify trends and
relationships between the
products ordered by each
consumer.
Streaming SQL
Real Time Analytics
Customers,
supermarkets and
restaurants place
orders regularly using
their laptops, phones,
tablets, etc.
Monitor, present in a
dashboard, detect and
send alerts (e.g. track and
manage items so they
would not run out)
Streaming SQL
Aggregations + Incremental Queries,
Offers, Advertisements, Targeting
Customers,
supermarkets and
restaurants place
orders regularly
using their laptops,
phones, tablets,
etc.
These orders are
continuously recorded in
a database, and with time
it will be possible to
identify trends and
relationships between the
products ordered by each
consumer.
With time, it will be possible
to predict what the consumer
orders, and you will be able
to prompt/remind the
consumer on items they may
have forgotten to order
Have you forgotten
the milk?
Streaming SQL
ML Models, Event Tables
Transportation
Transportation
Mobile app on rider’s
phone send in details
about trips they want
to make
(Time of day, start
and end of journey)
Trip history is kept in a
database and retrieved
whenever required
Mobile app on driver’s phone
send in details about trips
they would like to accept
Streaming SQL
Compare locations of driver
and rider and historical data
whether the combination has a
match in the recent past.
Fraud/ Anomaly Detection
Mobile app on rider’s
phone send in details
about trips they want
to make
(Time of day, start
and end of journey)
Trip history is kept in a
database and retrieved
whenever required
Mobile app on driver’s phone
send in details about trips
they would like to accept
Streaming SQL
Potential fraud scenario
identified
Driver denied of designated
trip
X
Event Tables + Patterns + ML
Healthcare
Healthcare
Sensors on patient
sends readings to the
Stream Processor at
regular interval
History of blood glucose
levels and sensor
readings are stored in
the database for
historical referencing
Hospital staff takes blood
samples and the lab staff
enters the analysis result into
the system
Streaming SQL
Blood glucose levels and
sensor readings are
compared together with
previous readings
Fraud/ Anomaly Detection
Sensors on patient
sends readings to
the Stream
Processor at
regular interval
History of blood
glucose levels and
sensor readings are
stored in the
database for
historical referencing
Hospital staff takes blood
samples and the lab staff
enters the analysis result into
the system
Streaming SQL
!
Abnormal Blood
Glucose Patterns
Detected
Patient is at risk,
alerting medical staff!
Patterns + ML + Anomaly Detection Operators
Streaming Data Integration
Sensors on patient
sends readings to
the Stream
Processor at
regular interval
Combine with
historical data and
transform to
common formats
Hospital staff takes blood
samples and the lab staff
enters the analysis result into
the system
Streaming SQL
!
Event Tables, Joins
Aviation
Aviation
Streaming SQL
IoT
Streaming SQL
!
All cleaning staff
hasn’t left the
aircraft !
Patterns + ML
Finance
Finance
Streaming SQL
$
$
$
User initiates
payments on any
device, using an
e-banking app
User and
payment
information
Historical data
on previous
payments made
Fraud/ Anomaly Detection
Streaming SQL
User initiates
payments on any
device, using an
e-banking app
User and
payment
information
Historical data
on previous
payments made
Payment is > $100 and total of
past 5 payments is > $500
Engage 2nd and 3rd factor
authentication
Engage 2nd
and 3rd factor
authentication
Patterns + ML + Anomaly Detection Operators
Digital
Advertising
Digital Advertising
Streaming SQL
Users navigate to
a website that has
online ad space
System needs to
decide whether to
bid for an ad in
that space
Decision needs to
be done within
<20ms
User information,
website, time of day
Historical data
about user and
buying patterns
External system
decides on the
amount to bid for,
based on time of
day, website, etc.
Offers, Advertisements, Targeting
Streaming SQL
Users navigate
to a website that
has online ad.
space
System needs to
decide whether
to bid for an ad
in that space
Decision made in
0.5ms with WSO2
SP
User information,
website, time of day
Historical data
about user and
buying patterns
External system
decides on the
amount to bid for,
based on time of
day, website, etc.
Decision made to
bid for an ad, type
of ad and price
✓
Patterns + Joins + ML
Sports
Real-time Analytics
Patterns + JoinsVideo https://www.youtube.com/watch?v=nRI6buQ0NOM
THANK YOU
wso2.com
Advantages of
Streaming SQL usage
● To make better decisions
○ Operational and business monitoring
● Effectively communicate information
○ Visualization – Alerting mechanisms
● Offer new value propositions
○ Insight driven products and services
● Business user friendly
○ SQL like language
○ Business templates
Business Perspective
● Non-intrusive integration
○ Pull data from heterogeneous data sources and analyze
○ Push results to existing flows with no interruptions
● Intrusive integration
○ Receive input from multiple flows, systems and sources of data
○ Push results to existing flows and systems
● Ability to combine data in motion with data at rest
Solution Perspective
● Interoperability in receiving data to analyze
○ Multiple protocols and formats
○ Pre-process before analyzing
● Interoperability in communicating results
○ Multiple protocols and formats
● Interoperability in data analysis
○ Integration with existing metadata and models
○ Extend with new analysis capabilities
Product Perspective
In conclusion...
● Streaming Data is everywhere
● Stream processing has many uses
● Streaming SQL makes it easily accessible
● Deployments can be complex
Streaming SQL
We use SQL to query data at rest…why not use SQL to query
data in motion?
“Streaming SQL” refers to languages that enable users to
write SQL-like queries for streaming data without having to
write code.
Easy to understand, expressive, short, fast, core operations can
cover 90% of the problems and easy to optimize
● Some data are naturally continuously produced
● Need for real-time insights
● Volume of data is too large to store
● Data in motion is very natural for some use cases
Why is stream processing popular?
● Real Time Analytics
○ Alerts
○ Dashboards
● Streaming Data Integration
● IoT
● Offers, Advertisement Targeting
● Tracking and Optimizations
● Anomaly Detection
Stream Processing Use Cases
● Real-time analytics
● Streaming data integration
● Adaptive intelligence
frameworks
● Notification management
Uses of Streaming SQL
Real-time Analytics
Streaming Data
Integration
Notification
Management
Adaptive
Intelligent
Frameworks
● Real-time analytics
● Streaming data integration
● Adaptive intelligence
frameworks
● Notification management
Uses of Streaming SQL
Real-time Analytics
Streaming Data
Integration
Notification
Management
Adaptive
Intelligent
Frameworks
● Real-time analytics
● Streaming data integration
● Adaptive intelligence
frameworks
● Notification management
Uses of Streaming SQL
Real-time Analytics
Streaming Data
Integration
Notification
Management
Adaptive
Intelligent
Frameworks

More Related Content

Similar to [WSO2Con EU 2018] Streaming SQL in the Real World

Data Ops at TripActions
Data Ops at TripActionsData Ops at TripActions
Data Ops at TripActions
Rob Winters
 
Emerging Prevalence of Data Streaming in Analytics and it's Business Signific...
Emerging Prevalence of Data Streaming in Analytics and it's Business Signific...Emerging Prevalence of Data Streaming in Analytics and it's Business Signific...
Emerging Prevalence of Data Streaming in Analytics and it's Business Signific...
Amazon Web Services
 
Implementing Advanced Analytics Platform
Implementing Advanced Analytics PlatformImplementing Advanced Analytics Platform
Implementing Advanced Analytics Platform
Arvind Sathi
 
Analytics in Your Enterprise
Analytics in Your EnterpriseAnalytics in Your Enterprise
Analytics in Your Enterprise
WSO2
 
Certus Accelerate - Building the business case for why you need to invest in ...
Certus Accelerate - Building the business case for why you need to invest in ...Certus Accelerate - Building the business case for why you need to invest in ...
Certus Accelerate - Building the business case for why you need to invest in ...
Certus Solutions
 
WebAction In-Memory Computing Summit 2015
WebAction In-Memory Computing Summit 2015WebAction In-Memory Computing Summit 2015
WebAction In-Memory Computing Summit 2015
WebAction
 
Solutions Using WSO2 Analytics
Solutions Using WSO2 AnalyticsSolutions Using WSO2 Analytics
Solutions Using WSO2 Analytics
WSO2
 
driving_business_value_from_real_time_streaming_analytics
driving_business_value_from_real_time_streaming_analyticsdriving_business_value_from_real_time_streaming_analytics
driving_business_value_from_real_time_streaming_analyticsJane Roberts
 
Big Data and User Segmentation in Mobile Context
Big Data and User Segmentation in Mobile ContextBig Data and User Segmentation in Mobile Context
Big Data and User Segmentation in Mobile Context
InMobi Technology
 
Future-Proof Your Streaming Analytics Architecture- StreamAnalytix Webinar
Future-Proof Your Streaming Analytics Architecture- StreamAnalytix WebinarFuture-Proof Your Streaming Analytics Architecture- StreamAnalytix Webinar
Future-Proof Your Streaming Analytics Architecture- StreamAnalytix Webinar
Impetus Technologies
 
Deep.bi - Real-time, Deep Data Analytics Platform For Ecommerce
Deep.bi - Real-time, Deep Data Analytics Platform For EcommerceDeep.bi - Real-time, Deep Data Analytics Platform For Ecommerce
Deep.bi - Real-time, Deep Data Analytics Platform For Ecommerce
Deep.BI
 
Transpara Visual KPI Overview - May 2019
Transpara Visual KPI Overview - May 2019Transpara Visual KPI Overview - May 2019
Transpara Visual KPI Overview - May 2019
Transpara
 
About Business Intelligence
About Business IntelligenceAbout Business Intelligence
About Business Intelligence
Ashish Kargwal
 
Hadoop in the Cloud: Common Architectural Patterns
Hadoop in the Cloud: Common Architectural PatternsHadoop in the Cloud: Common Architectural Patterns
Hadoop in the Cloud: Common Architectural Patterns
DataWorks Summit
 
Machine Data Analytics
Machine Data AnalyticsMachine Data Analytics
Machine Data Analytics
Nicolas Morales
 
Data Analytics in Digital Transformation
Data Analytics in Digital TransformationData Analytics in Digital Transformation
Data Analytics in Digital Transformation
Mukund Babbar
 
Transforming GE Healthcare with Data Platform Strategy
Transforming GE Healthcare with Data Platform StrategyTransforming GE Healthcare with Data Platform Strategy
Transforming GE Healthcare with Data Platform Strategy
Databricks
 
Big data cloud computing
Big data cloud computingBig data cloud computing
Big data cloud computing
Aaron Jager
 
Analytics & Data Strategy 101 by Deko Dimeski
Analytics & Data Strategy 101 by Deko DimeskiAnalytics & Data Strategy 101 by Deko Dimeski
Analytics & Data Strategy 101 by Deko Dimeski
Deko Dimeski
 
Big Data solution for multi-national Bank
Big Data solution for multi-national BankBig Data solution for multi-national Bank
Big Data solution for multi-national Bank
Ritu Sarkar
 

Similar to [WSO2Con EU 2018] Streaming SQL in the Real World (20)

Data Ops at TripActions
Data Ops at TripActionsData Ops at TripActions
Data Ops at TripActions
 
Emerging Prevalence of Data Streaming in Analytics and it's Business Signific...
Emerging Prevalence of Data Streaming in Analytics and it's Business Signific...Emerging Prevalence of Data Streaming in Analytics and it's Business Signific...
Emerging Prevalence of Data Streaming in Analytics and it's Business Signific...
 
Implementing Advanced Analytics Platform
Implementing Advanced Analytics PlatformImplementing Advanced Analytics Platform
Implementing Advanced Analytics Platform
 
Analytics in Your Enterprise
Analytics in Your EnterpriseAnalytics in Your Enterprise
Analytics in Your Enterprise
 
Certus Accelerate - Building the business case for why you need to invest in ...
Certus Accelerate - Building the business case for why you need to invest in ...Certus Accelerate - Building the business case for why you need to invest in ...
Certus Accelerate - Building the business case for why you need to invest in ...
 
WebAction In-Memory Computing Summit 2015
WebAction In-Memory Computing Summit 2015WebAction In-Memory Computing Summit 2015
WebAction In-Memory Computing Summit 2015
 
Solutions Using WSO2 Analytics
Solutions Using WSO2 AnalyticsSolutions Using WSO2 Analytics
Solutions Using WSO2 Analytics
 
driving_business_value_from_real_time_streaming_analytics
driving_business_value_from_real_time_streaming_analyticsdriving_business_value_from_real_time_streaming_analytics
driving_business_value_from_real_time_streaming_analytics
 
Big Data and User Segmentation in Mobile Context
Big Data and User Segmentation in Mobile ContextBig Data and User Segmentation in Mobile Context
Big Data and User Segmentation in Mobile Context
 
Future-Proof Your Streaming Analytics Architecture- StreamAnalytix Webinar
Future-Proof Your Streaming Analytics Architecture- StreamAnalytix WebinarFuture-Proof Your Streaming Analytics Architecture- StreamAnalytix Webinar
Future-Proof Your Streaming Analytics Architecture- StreamAnalytix Webinar
 
Deep.bi - Real-time, Deep Data Analytics Platform For Ecommerce
Deep.bi - Real-time, Deep Data Analytics Platform For EcommerceDeep.bi - Real-time, Deep Data Analytics Platform For Ecommerce
Deep.bi - Real-time, Deep Data Analytics Platform For Ecommerce
 
Transpara Visual KPI Overview - May 2019
Transpara Visual KPI Overview - May 2019Transpara Visual KPI Overview - May 2019
Transpara Visual KPI Overview - May 2019
 
About Business Intelligence
About Business IntelligenceAbout Business Intelligence
About Business Intelligence
 
Hadoop in the Cloud: Common Architectural Patterns
Hadoop in the Cloud: Common Architectural PatternsHadoop in the Cloud: Common Architectural Patterns
Hadoop in the Cloud: Common Architectural Patterns
 
Machine Data Analytics
Machine Data AnalyticsMachine Data Analytics
Machine Data Analytics
 
Data Analytics in Digital Transformation
Data Analytics in Digital TransformationData Analytics in Digital Transformation
Data Analytics in Digital Transformation
 
Transforming GE Healthcare with Data Platform Strategy
Transforming GE Healthcare with Data Platform StrategyTransforming GE Healthcare with Data Platform Strategy
Transforming GE Healthcare with Data Platform Strategy
 
Big data cloud computing
Big data cloud computingBig data cloud computing
Big data cloud computing
 
Analytics & Data Strategy 101 by Deko Dimeski
Analytics & Data Strategy 101 by Deko DimeskiAnalytics & Data Strategy 101 by Deko Dimeski
Analytics & Data Strategy 101 by Deko Dimeski
 
Big Data solution for multi-national Bank
Big Data solution for multi-national BankBig Data solution for multi-national Bank
Big Data solution for multi-national Bank
 

More from WSO2

Accelerate Enterprise Software Engineering with Platformless
Accelerate Enterprise Software Engineering with PlatformlessAccelerate Enterprise Software Engineering with Platformless
Accelerate Enterprise Software Engineering with Platformless
WSO2
 
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital TransformationWSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2
 
architecting-ai-in-the-enterprise-apis-and-applications.pdf
architecting-ai-in-the-enterprise-apis-and-applications.pdfarchitecting-ai-in-the-enterprise-apis-and-applications.pdf
architecting-ai-in-the-enterprise-apis-and-applications.pdf
WSO2
 
Driving Innovation: Scania's API Revolution with WSO2
Driving Innovation: Scania's API Revolution with WSO2Driving Innovation: Scania's API Revolution with WSO2
Driving Innovation: Scania's API Revolution with WSO2
WSO2
 
Less Is More: Utilizing Ballerina to Architect a Cloud Data Platform
Less Is More: Utilizing Ballerina to Architect a Cloud Data PlatformLess Is More: Utilizing Ballerina to Architect a Cloud Data Platform
Less Is More: Utilizing Ballerina to Architect a Cloud Data Platform
WSO2
 
Modernizing Legacy Systems Using Ballerina
Modernizing Legacy Systems Using BallerinaModernizing Legacy Systems Using Ballerina
Modernizing Legacy Systems Using Ballerina
WSO2
 
WSO2CON 2024 - Unlocking the Identity: Embracing CIAM 2.0 for a Competitive A...
WSO2CON 2024 - Unlocking the Identity: Embracing CIAM 2.0 for a Competitive A...WSO2CON 2024 - Unlocking the Identity: Embracing CIAM 2.0 for a Competitive A...
WSO2CON 2024 - Unlocking the Identity: Embracing CIAM 2.0 for a Competitive A...
WSO2
 
WSO2CON 2024 Slides - Unlocking Value with AI
WSO2CON 2024 Slides - Unlocking Value with AIWSO2CON 2024 Slides - Unlocking Value with AI
WSO2CON 2024 Slides - Unlocking Value with AI
WSO2
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
WSO2
 
Quantum Leap in Next-Generation Computing
Quantum Leap in Next-Generation ComputingQuantum Leap in Next-Generation Computing
Quantum Leap in Next-Generation Computing
WSO2
 
WSO2CON 2024 - Elevating the Integration Game to the Cloud
WSO2CON 2024 - Elevating the Integration Game to the CloudWSO2CON 2024 - Elevating the Integration Game to the Cloud
WSO2CON 2024 - Elevating the Integration Game to the Cloud
WSO2
 
WSO2CON 2024 - OSU & WSO2: A Decade Journey in Integration & Innovation
WSO2CON 2024 - OSU & WSO2: A Decade Journey in Integration & InnovationWSO2CON 2024 - OSU & WSO2: A Decade Journey in Integration & Innovation
WSO2CON 2024 - OSU & WSO2: A Decade Journey in Integration & Innovation
WSO2
 
WSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open Source
WSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open SourceWSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open Source
WSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open Source
WSO2
 
WSO2CON 2024 Slides - Open Source to SaaS
WSO2CON 2024 Slides - Open Source to SaaSWSO2CON 2024 Slides - Open Source to SaaS
WSO2CON 2024 Slides - Open Source to SaaS
WSO2
 
WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?
WSO2
 
WSO2CON 2024 - IoT Needs CIAM: The Importance of Centralized IAM in a Growing...
WSO2CON 2024 - IoT Needs CIAM: The Importance of Centralized IAM in a Growing...WSO2CON 2024 - IoT Needs CIAM: The Importance of Centralized IAM in a Growing...
WSO2CON 2024 - IoT Needs CIAM: The Importance of Centralized IAM in a Growing...
WSO2
 
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2
 
WSO2CON 2024 - Software Engineering for Digital Businesses
WSO2CON 2024 - Software Engineering for Digital BusinessesWSO2CON 2024 - Software Engineering for Digital Businesses
WSO2CON 2024 - Software Engineering for Digital Businesses
WSO2
 
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
WSO2
 
WSO2CON 2024 - Designing Event-Driven Enterprises: Stories of Transformation
WSO2CON 2024 - Designing Event-Driven Enterprises: Stories of TransformationWSO2CON 2024 - Designing Event-Driven Enterprises: Stories of Transformation
WSO2CON 2024 - Designing Event-Driven Enterprises: Stories of Transformation
WSO2
 

More from WSO2 (20)

Accelerate Enterprise Software Engineering with Platformless
Accelerate Enterprise Software Engineering with PlatformlessAccelerate Enterprise Software Engineering with Platformless
Accelerate Enterprise Software Engineering with Platformless
 
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital TransformationWSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
WSO2Con2024 - WSO2's IAM Vision: Identity-Led Digital Transformation
 
architecting-ai-in-the-enterprise-apis-and-applications.pdf
architecting-ai-in-the-enterprise-apis-and-applications.pdfarchitecting-ai-in-the-enterprise-apis-and-applications.pdf
architecting-ai-in-the-enterprise-apis-and-applications.pdf
 
Driving Innovation: Scania's API Revolution with WSO2
Driving Innovation: Scania's API Revolution with WSO2Driving Innovation: Scania's API Revolution with WSO2
Driving Innovation: Scania's API Revolution with WSO2
 
Less Is More: Utilizing Ballerina to Architect a Cloud Data Platform
Less Is More: Utilizing Ballerina to Architect a Cloud Data PlatformLess Is More: Utilizing Ballerina to Architect a Cloud Data Platform
Less Is More: Utilizing Ballerina to Architect a Cloud Data Platform
 
Modernizing Legacy Systems Using Ballerina
Modernizing Legacy Systems Using BallerinaModernizing Legacy Systems Using Ballerina
Modernizing Legacy Systems Using Ballerina
 
WSO2CON 2024 - Unlocking the Identity: Embracing CIAM 2.0 for a Competitive A...
WSO2CON 2024 - Unlocking the Identity: Embracing CIAM 2.0 for a Competitive A...WSO2CON 2024 - Unlocking the Identity: Embracing CIAM 2.0 for a Competitive A...
WSO2CON 2024 - Unlocking the Identity: Embracing CIAM 2.0 for a Competitive A...
 
WSO2CON 2024 Slides - Unlocking Value with AI
WSO2CON 2024 Slides - Unlocking Value with AIWSO2CON 2024 Slides - Unlocking Value with AI
WSO2CON 2024 Slides - Unlocking Value with AI
 
Platformless Horizons for Digital Adaptability
Platformless Horizons for Digital AdaptabilityPlatformless Horizons for Digital Adaptability
Platformless Horizons for Digital Adaptability
 
Quantum Leap in Next-Generation Computing
Quantum Leap in Next-Generation ComputingQuantum Leap in Next-Generation Computing
Quantum Leap in Next-Generation Computing
 
WSO2CON 2024 - Elevating the Integration Game to the Cloud
WSO2CON 2024 - Elevating the Integration Game to the CloudWSO2CON 2024 - Elevating the Integration Game to the Cloud
WSO2CON 2024 - Elevating the Integration Game to the Cloud
 
WSO2CON 2024 - OSU & WSO2: A Decade Journey in Integration & Innovation
WSO2CON 2024 - OSU & WSO2: A Decade Journey in Integration & InnovationWSO2CON 2024 - OSU & WSO2: A Decade Journey in Integration & Innovation
WSO2CON 2024 - OSU & WSO2: A Decade Journey in Integration & Innovation
 
WSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open Source
WSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open SourceWSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open Source
WSO2CON 2024 - Freedom First—Unleashing Developer Potential with Open Source
 
WSO2CON 2024 Slides - Open Source to SaaS
WSO2CON 2024 Slides - Open Source to SaaSWSO2CON 2024 Slides - Open Source to SaaS
WSO2CON 2024 Slides - Open Source to SaaS
 
WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?WSO2CON 2024 - Does Open Source Still Matter?
WSO2CON 2024 - Does Open Source Still Matter?
 
WSO2CON 2024 - IoT Needs CIAM: The Importance of Centralized IAM in a Growing...
WSO2CON 2024 - IoT Needs CIAM: The Importance of Centralized IAM in a Growing...WSO2CON 2024 - IoT Needs CIAM: The Importance of Centralized IAM in a Growing...
WSO2CON 2024 - IoT Needs CIAM: The Importance of Centralized IAM in a Growing...
 
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
WSO2CON 2024 - WSO2's Digital Transformation Journey with Choreo: A Platforml...
 
WSO2CON 2024 - Software Engineering for Digital Businesses
WSO2CON 2024 - Software Engineering for Digital BusinessesWSO2CON 2024 - Software Engineering for Digital Businesses
WSO2CON 2024 - Software Engineering for Digital Businesses
 
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
WSO2CON 2024 - Navigating API Complexity: REST, GraphQL, gRPC, Websocket, Web...
 
WSO2CON 2024 - Designing Event-Driven Enterprises: Stories of Transformation
WSO2CON 2024 - Designing Event-Driven Enterprises: Stories of TransformationWSO2CON 2024 - Designing Event-Driven Enterprises: Stories of Transformation
WSO2CON 2024 - Designing Event-Driven Enterprises: Stories of Transformation
 

Recently uploaded

Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Albert Hoitingh
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
Alan Dix
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
Thijs Feryn
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
DanBrown980551
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
91mobiles
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
Sri Ambati
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance
 
Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™
Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™
Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™
UiPathCommunity
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Product School
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
mikeeftimakis1
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
DianaGray10
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
Laura Byrne
 
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Ramesh Iyer
 
Assure Contact Center Experiences for Your Customers With ThousandEyes
Assure Contact Center Experiences for Your Customers With ThousandEyesAssure Contact Center Experiences for Your Customers With ThousandEyes
Assure Contact Center Experiences for Your Customers With ThousandEyes
ThousandEyes
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
Guy Korland
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
ThousandEyes
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
BookNet Canada
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
Prayukth K V
 

Recently uploaded (20)

Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
Encryption in Microsoft 365 - ExpertsLive Netherlands 2024
 
Epistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI supportEpistemic Interaction - tuning interfaces to provide information for AI support
Epistemic Interaction - tuning interfaces to provide information for AI support
 
Accelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish CachingAccelerate your Kubernetes clusters with Varnish Caching
Accelerate your Kubernetes clusters with Varnish Caching
 
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdfFIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
FIDO Alliance Osaka Seminar: Passkeys and the Road Ahead.pdf
 
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
LF Energy Webinar: Electrical Grid Modelling and Simulation Through PowSyBl -...
 
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdfSmart TV Buyer Insights Survey 2024 by 91mobiles.pdf
Smart TV Buyer Insights Survey 2024 by 91mobiles.pdf
 
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
GenAISummit 2024 May 28 Sri Ambati Keynote: AGI Belongs to The Community in O...
 
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdfFIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
FIDO Alliance Osaka Seminar: FIDO Security Aspects.pdf
 
Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™
Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™
Le nuove frontiere dell'AI nell'RPA con UiPath Autopilot™
 
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
Unsubscribed: Combat Subscription Fatigue With a Membership Mentality by Head...
 
Introduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - CybersecurityIntroduction to CHERI technology - Cybersecurity
Introduction to CHERI technology - Cybersecurity
 
UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3UiPath Test Automation using UiPath Test Suite series, part 3
UiPath Test Automation using UiPath Test Suite series, part 3
 
The Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and SalesThe Art of the Pitch: WordPress Relationships and Sales
The Art of the Pitch: WordPress Relationships and Sales
 
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
Builder.ai Founder Sachin Dev Duggal's Strategic Approach to Create an Innova...
 
Assure Contact Center Experiences for Your Customers With ThousandEyes
Assure Contact Center Experiences for Your Customers With ThousandEyesAssure Contact Center Experiences for Your Customers With ThousandEyes
Assure Contact Center Experiences for Your Customers With ThousandEyes
 
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdfFIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
FIDO Alliance Osaka Seminar: Passkeys at Amazon.pdf
 
GraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge GraphGraphRAG is All You need? LLM & Knowledge Graph
GraphRAG is All You need? LLM & Knowledge Graph
 
Assuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyesAssuring Contact Center Experiences for Your Customers With ThousandEyes
Assuring Contact Center Experiences for Your Customers With ThousandEyes
 
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...Transcript: Selling digital books in 2024: Insights from industry leaders - T...
Transcript: Selling digital books in 2024: Insights from industry leaders - T...
 
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 previewState of ICS and IoT Cyber Threat Landscape Report 2024 preview
State of ICS and IoT Cyber Threat Landscape Report 2024 preview
 

[WSO2Con EU 2018] Streaming SQL in the Real World

  • 1. Vice President, Research, WSO2 Streaming SQL in the Real World Srinath Perera
  • 3. ● Real Time Analytics ● Streaming Data Integration ● IoT ● Offers, Advertisements, Targeting ● Tracking and Optimizations ● Anomaly Detection Stream Processing Use Cases
  • 5. Retail Customers, supermarkets place orders regularly using their laptops, phones, tablets, etc. These orders are continuously recorded in a database, and with time, it will be possible to identify trends and relationships between the products ordered by each consumer. Streaming SQL
  • 6. Real Time Analytics Customers, supermarkets and restaurants place orders regularly using their laptops, phones, tablets, etc. Monitor, present in a dashboard, detect and send alerts (e.g. track and manage items so they would not run out) Streaming SQL Aggregations + Incremental Queries,
  • 7. Offers, Advertisements, Targeting Customers, supermarkets and restaurants place orders regularly using their laptops, phones, tablets, etc. These orders are continuously recorded in a database, and with time it will be possible to identify trends and relationships between the products ordered by each consumer. With time, it will be possible to predict what the consumer orders, and you will be able to prompt/remind the consumer on items they may have forgotten to order Have you forgotten the milk? Streaming SQL ML Models, Event Tables
  • 9. Transportation Mobile app on rider’s phone send in details about trips they want to make (Time of day, start and end of journey) Trip history is kept in a database and retrieved whenever required Mobile app on driver’s phone send in details about trips they would like to accept Streaming SQL Compare locations of driver and rider and historical data whether the combination has a match in the recent past.
  • 10. Fraud/ Anomaly Detection Mobile app on rider’s phone send in details about trips they want to make (Time of day, start and end of journey) Trip history is kept in a database and retrieved whenever required Mobile app on driver’s phone send in details about trips they would like to accept Streaming SQL Potential fraud scenario identified Driver denied of designated trip X Event Tables + Patterns + ML
  • 12. Healthcare Sensors on patient sends readings to the Stream Processor at regular interval History of blood glucose levels and sensor readings are stored in the database for historical referencing Hospital staff takes blood samples and the lab staff enters the analysis result into the system Streaming SQL Blood glucose levels and sensor readings are compared together with previous readings
  • 13. Fraud/ Anomaly Detection Sensors on patient sends readings to the Stream Processor at regular interval History of blood glucose levels and sensor readings are stored in the database for historical referencing Hospital staff takes blood samples and the lab staff enters the analysis result into the system Streaming SQL ! Abnormal Blood Glucose Patterns Detected Patient is at risk, alerting medical staff! Patterns + ML + Anomaly Detection Operators
  • 14. Streaming Data Integration Sensors on patient sends readings to the Stream Processor at regular interval Combine with historical data and transform to common formats Hospital staff takes blood samples and the lab staff enters the analysis result into the system Streaming SQL ! Event Tables, Joins
  • 17. IoT Streaming SQL ! All cleaning staff hasn’t left the aircraft ! Patterns + ML
  • 19. Finance Streaming SQL $ $ $ User initiates payments on any device, using an e-banking app User and payment information Historical data on previous payments made
  • 20. Fraud/ Anomaly Detection Streaming SQL User initiates payments on any device, using an e-banking app User and payment information Historical data on previous payments made Payment is > $100 and total of past 5 payments is > $500 Engage 2nd and 3rd factor authentication Engage 2nd and 3rd factor authentication Patterns + ML + Anomaly Detection Operators
  • 22. Digital Advertising Streaming SQL Users navigate to a website that has online ad space System needs to decide whether to bid for an ad in that space Decision needs to be done within <20ms User information, website, time of day Historical data about user and buying patterns External system decides on the amount to bid for, based on time of day, website, etc.
  • 23. Offers, Advertisements, Targeting Streaming SQL Users navigate to a website that has online ad. space System needs to decide whether to bid for an ad in that space Decision made in 0.5ms with WSO2 SP User information, website, time of day Historical data about user and buying patterns External system decides on the amount to bid for, based on time of day, website, etc. Decision made to bid for an ad, type of ad and price ✓ Patterns + Joins + ML
  • 25. Real-time Analytics Patterns + JoinsVideo https://www.youtube.com/watch?v=nRI6buQ0NOM
  • 28. ● To make better decisions ○ Operational and business monitoring ● Effectively communicate information ○ Visualization – Alerting mechanisms ● Offer new value propositions ○ Insight driven products and services ● Business user friendly ○ SQL like language ○ Business templates Business Perspective
  • 29. ● Non-intrusive integration ○ Pull data from heterogeneous data sources and analyze ○ Push results to existing flows with no interruptions ● Intrusive integration ○ Receive input from multiple flows, systems and sources of data ○ Push results to existing flows and systems ● Ability to combine data in motion with data at rest Solution Perspective
  • 30. ● Interoperability in receiving data to analyze ○ Multiple protocols and formats ○ Pre-process before analyzing ● Interoperability in communicating results ○ Multiple protocols and formats ● Interoperability in data analysis ○ Integration with existing metadata and models ○ Extend with new analysis capabilities Product Perspective
  • 31. In conclusion... ● Streaming Data is everywhere ● Stream processing has many uses ● Streaming SQL makes it easily accessible ● Deployments can be complex
  • 32. Streaming SQL We use SQL to query data at rest…why not use SQL to query data in motion? “Streaming SQL” refers to languages that enable users to write SQL-like queries for streaming data without having to write code. Easy to understand, expressive, short, fast, core operations can cover 90% of the problems and easy to optimize
  • 33. ● Some data are naturally continuously produced ● Need for real-time insights ● Volume of data is too large to store ● Data in motion is very natural for some use cases Why is stream processing popular?
  • 34. ● Real Time Analytics ○ Alerts ○ Dashboards ● Streaming Data Integration ● IoT ● Offers, Advertisement Targeting ● Tracking and Optimizations ● Anomaly Detection Stream Processing Use Cases
  • 35. ● Real-time analytics ● Streaming data integration ● Adaptive intelligence frameworks ● Notification management Uses of Streaming SQL Real-time Analytics Streaming Data Integration Notification Management Adaptive Intelligent Frameworks
  • 36. ● Real-time analytics ● Streaming data integration ● Adaptive intelligence frameworks ● Notification management Uses of Streaming SQL Real-time Analytics Streaming Data Integration Notification Management Adaptive Intelligent Frameworks
  • 37. ● Real-time analytics ● Streaming data integration ● Adaptive intelligence frameworks ● Notification management Uses of Streaming SQL Real-time Analytics Streaming Data Integration Notification Management Adaptive Intelligent Frameworks