SlideShare a Scribd company logo
22 de Janeiro  Microsoft Lisbon Experience
The Power of Now!
Rui Quintino | DevScope
22 Jan 2015
rui.quintino@devscope.net
rquintino.wordpress.com
twitter.com/rquintino
Azure Stream Analytics
The traditional data warehouse
Modern data warehouse
What are customers wanting to do?
Canonical scenarios for real-time processing
KUKA Systems Group created an IoT-powered plant that
centrally connects and monitors hundreds of robots.
Introducing Azure Stream Analytics
The Power of Now! Azure Stream Analytics - Microsoft ITPro AirLift
Procure HW Infrastructure and setup
Code for ingress, processing and egress
Plan for resiliency, such as HW failures
Design solution
Build Monitoring and Troubleshooting
The Power of Now! Azure Stream Analytics - Microsoft ITPro AirLift
• Built-in monitoring
– View your system’s performance
at a glance
– Help you find the cost-optimal
way of deployment
3 lines of code in Stream Analytics
Thousand lines of code in other solutions
• Only SQL queries needed
– Developers uses declarative
SQL commands
– Some functions take several
lines of code versus thousands
from other solutions
• Implement temporal functions
• Manage out-of-order events
• Manage actions on late events
End-to-end stream processing architecture
The Power of Now! Azure Stream Analytics - Microsoft ITPro AirLift
Sample Scenario – Toll Station
TollId EntryTime
License
Plate
State Make Model Type Weight
1 2014-10-25T19:33:30.0000000Z JNB7001 NY Honda CRV 1 3010
1 2014-10-25T19:33:31.0000000Z YXZ 1001 NY Toyota Camry 2 3020
3 2014-10-25T19:33:32.0000000Z ABC 1004 CT Ford Taurus 2 3800
2 2014-10-25T19:33:33.0000000Z XYZ 1003 CT Toyota Corolla 2 2900
1 2014-10-25T19:33:34.0000000Z BNJ 1007 NY Honda CRV 1 3400
2 2014-10-25T19:33:35.0000000Z CDE 1007 NJ Toyota 4x4 1 3800
… … … … … … … …
EntryStream - Data about vehicles entering toll stations
TollId ExitTime LicensePlate
1 2014-10-25T19:33:40.0000000Z JNB7001
1 2014-10-25T19:33:41.0000000Z YXZ 1001
3 2014-10-25T19:33:42.0000000Z ABC 1004
2 2014-10-25T19:33:43.0000000Z XYZ 1003
… … …
ExitStream - Data about cars leaving toll stations
LicensePlate RegistartionId Expired
SVT 6023 285429838 1
XLZ 3463 362715656 0
QMZ 1273 876133137 1
RIV 8632 992711956 0
… … ….
ReferenceData - Commercial vehicle registration data
Application Components
Components of an Azure Stream Analytics Application
Azure SQL DB
Azure Event Hubs
Azure Blob StorageAzure Blob Storage
Azure Event Hubs
Reference Data
Query runs continuously against incoming stream of events
Events
Have a defined schema and
are temporal (sequenced in
time)
Temporal Windows
• Tumbling Windows
– Repeating, non-overlapping, fixed interval windows
• Hopping Windows
– Generic window, overlapping, fixed size
• Sliding Windows
– Slides by an epsilon and produces output at the occurrence of an event
Tumbling Window
SELECT System.TimeStamp AS OutTime, TollId,
COUNT (*)
FROM Input TIMESTAMP BY EntryTime
GROUP BY TollId, TumblingWindow(minute,5)
Hopping Windows
SELECT System.TimeStamp AS OutTime, TollId,
COUNT (*)
FROM Input TIMESTAMP BY EntryTime
GROUP BY TollId, HoppingWindow(minute, 10 , 5)
Sliding Windows
SELECT System.TimeStamp AS OutTime, TollId, COUNT (*)
FROM Input TIMESTAMP BY EntryTime
GROUP BY TollId, SlidingWindow(minute, 3)
HAVING Count(*) > 3
Finds all toll booths which have served more than 3 vehicle in the last 3 minutes
The Power of Now! Azure Stream Analytics - Microsoft ITPro AirLift
Explore the latest in SQL Server
Visit www.microsoft.com/sql to learn more about our latest innovations
Evaluate SQL Server 2014
Get hands on – visit Microsoft’s TechNet evaluation center and
evaluate SQL Server 2014 today!
Evaluate Windows Server 2012 R2
Get hands on – visit Microsoft’s TechNet evaluation center and
evaluate Windows Server 2102 R2 today!Microsoft Azure
The Power of Now! Azure Stream Analytics - Microsoft ITPro AirLift

More Related Content

PPTX
Azure event hubs, Stream Analytics & Power BI (by Sam Vanhoutte)
PPTX
Implementing a canonical IoT backend in Azure with Azure Stream Analytics
PPTX
Azure Stream Analytics
PPTX
Getting started with azure event hubs and stream analytics services
PPTX
Azure Stream Analytics
PPTX
Azure stream analytics by Nico Jacobs
PPTX
Azure Stream Analytics : Analyse Data in Motion
PPTX
Azure Stream Analytics - Webinar
Azure event hubs, Stream Analytics & Power BI (by Sam Vanhoutte)
Implementing a canonical IoT backend in Azure with Azure Stream Analytics
Azure Stream Analytics
Getting started with azure event hubs and stream analytics services
Azure Stream Analytics
Azure stream analytics by Nico Jacobs
Azure Stream Analytics : Analyse Data in Motion
Azure Stream Analytics - Webinar

What's hot (20)

PPTX
Real time big data stream processing
PDF
Spark Summit - Stratio Streaming
PPTX
Azure Industrial Iot Edge
PDF
AI-Powered Streaming Analytics for Real-Time Customer Experience
PPTX
Azure satpn19 time series analytics with azure adx
PPTX
Time Series Analytics Azure ADX
PPTX
Intuit Analytics Cloud 101
PDF
Building the Next-gen Digital Meter Platform for Fluvius
PDF
HBaseCon 2015: Running ML Infrastructure on HBase
PPTX
REDSHIFT - Amazon
PPTX
MCT Virtual Summit 2021
PPTX
A developer's introduction to big data processing with Azure Databricks
PDF
Add Historical Analysis of Operational Data with Easy Configurations in Fivet...
PPTX
Five ways database modernization simplifies your data life
PPTX
Azure Data Explorer deep dive - review 04.2020
PDF
Build Real-Time Applications with Databricks Streaming
PDF
Personalization Journey: From Single Node to Cloud Streaming
PPTX
Cloud-based Data Lake for Analytics and AI
PDF
Cortana Analytics Workshop: Operationalizing Your End-to-End Analytics Solution
PDF
Pivoting event streaming, from PROJECTS to a PLATFORM
Real time big data stream processing
Spark Summit - Stratio Streaming
Azure Industrial Iot Edge
AI-Powered Streaming Analytics for Real-Time Customer Experience
Azure satpn19 time series analytics with azure adx
Time Series Analytics Azure ADX
Intuit Analytics Cloud 101
Building the Next-gen Digital Meter Platform for Fluvius
HBaseCon 2015: Running ML Infrastructure on HBase
REDSHIFT - Amazon
MCT Virtual Summit 2021
A developer's introduction to big data processing with Azure Databricks
Add Historical Analysis of Operational Data with Easy Configurations in Fivet...
Five ways database modernization simplifies your data life
Azure Data Explorer deep dive - review 04.2020
Build Real-Time Applications with Databricks Streaming
Personalization Journey: From Single Node to Cloud Streaming
Cloud-based Data Lake for Analytics and AI
Cortana Analytics Workshop: Operationalizing Your End-to-End Analytics Solution
Pivoting event streaming, from PROJECTS to a PLATFORM
Ad

Similar to The Power of Now! Azure Stream Analytics - Microsoft ITPro AirLift (20)

PDF
Cortana Analytics Workshop: Real-Time Data Processing -- How Do I Choose the ...
PDF
Simplified Machine Learning Architecture with an Event Streaming Platform (Ap...
PDF
Now You See Me, Now You Compute: Building Event-Driven Architectures with Apa...
PDF
[WSO2Con EU 2017] Deriving Insights for Your Digital Business with Analytics
PDF
Application & Account Monitoring in AWS
PDF
Building an Observability Platform in 389 Difficult Steps
PPTX
Azure Service Fabric: notes from the field (Sam Vanhoute @Integrate 2016)
PDF
Avanttic tech dates - de la monitorización a la 'observabilidad'
PDF
Real-time processing of large amounts of data
PDF
DCEU 18: From Legacy Mainframe to the Cloud: The Finnish Railways Evolution w...
PDF
Processing Real-Time Data at Scale: A streaming platform as a central nervous...
PDF
Considerations for Abstracting Complexities of a Real-Time ML Platform, Zhenz...
PDF
Chronix: Long Term Storage and Retrieval Technology for Anomaly Detection in ...
PDF
AWS Summit Seoul 2015 - AWS 최신 서비스 살펴보기 - Aurora, Lambda, EFS, Machine Learn...
PDF
Francisco Javier Ramirez Urea - Hopla - OSL19
PDF
Keynote : évolution et vision d'Elastic Observability
PPTX
Log insight 3.3 customer presentation
PDF
Unleashing Apache Kafka and TensorFlow in the Cloud

PDF
Incquery Suite Models 2020 Conference by István Ráth, CEO of IncQuery Labs
PPTX
Implementing Real-Time IoT Stream Processing in Azure
Cortana Analytics Workshop: Real-Time Data Processing -- How Do I Choose the ...
Simplified Machine Learning Architecture with an Event Streaming Platform (Ap...
Now You See Me, Now You Compute: Building Event-Driven Architectures with Apa...
[WSO2Con EU 2017] Deriving Insights for Your Digital Business with Analytics
Application & Account Monitoring in AWS
Building an Observability Platform in 389 Difficult Steps
Azure Service Fabric: notes from the field (Sam Vanhoute @Integrate 2016)
Avanttic tech dates - de la monitorización a la 'observabilidad'
Real-time processing of large amounts of data
DCEU 18: From Legacy Mainframe to the Cloud: The Finnish Railways Evolution w...
Processing Real-Time Data at Scale: A streaming platform as a central nervous...
Considerations for Abstracting Complexities of a Real-Time ML Platform, Zhenz...
Chronix: Long Term Storage and Retrieval Technology for Anomaly Detection in ...
AWS Summit Seoul 2015 - AWS 최신 서비스 살펴보기 - Aurora, Lambda, EFS, Machine Learn...
Francisco Javier Ramirez Urea - Hopla - OSL19
Keynote : évolution et vision d'Elastic Observability
Log insight 3.3 customer presentation
Unleashing Apache Kafka and TensorFlow in the Cloud

Incquery Suite Models 2020 Conference by István Ráth, CEO of IncQuery Labs
Implementing Real-Time IoT Stream Processing in Azure
Ad

More from Rui Quintino (14)

PDF
“Houston, we have a model...” Introduction to MLOps
PDF
Power BI for Data Science and Machine Learning - Data Science Portugal meetup
PDF
Empowering you - Power BI, Power Platform & AI Builder
PDF
Jupyter Notebooks: Introduction, Tips & Tools
PPTX
Kaggle Days Porto 2019 - 1st place presentation by team DevScope
PPTX
DataSciencePT #27 - Fifty Shades of Automated Machine Learning
PPTX
Docker & Containers for Big Data, Data Science, Machine Learning & Deep Learning
PPTX
Microsoft Cognitive Services & Bot Framework - Universidade Fernando Pessoa
PPTX
Open Source Deep Learning & Machine Learning with Microsoft CNTK & LightGBM
PPTX
Data Science Portugal Meetup 7 - Machine Learning & Data Science Safety Remi...
PPTX
Microsoft Data Platform Airlift 2017 Rui Quintino Machine Learning with SQL S...
PPTX
Sql Saturday Lisbon 2017 Rui Quintino -R first steps for sql devs & dbas
PPTX
SQL Saturday #188 Portugal - "Faster than the speed of light"... with Microso...
PPT
"De histórias mal contadas..."
“Houston, we have a model...” Introduction to MLOps
Power BI for Data Science and Machine Learning - Data Science Portugal meetup
Empowering you - Power BI, Power Platform & AI Builder
Jupyter Notebooks: Introduction, Tips & Tools
Kaggle Days Porto 2019 - 1st place presentation by team DevScope
DataSciencePT #27 - Fifty Shades of Automated Machine Learning
Docker & Containers for Big Data, Data Science, Machine Learning & Deep Learning
Microsoft Cognitive Services & Bot Framework - Universidade Fernando Pessoa
Open Source Deep Learning & Machine Learning with Microsoft CNTK & LightGBM
Data Science Portugal Meetup 7 - Machine Learning & Data Science Safety Remi...
Microsoft Data Platform Airlift 2017 Rui Quintino Machine Learning with SQL S...
Sql Saturday Lisbon 2017 Rui Quintino -R first steps for sql devs & dbas
SQL Saturday #188 Portugal - "Faster than the speed of light"... with Microso...
"De histórias mal contadas..."

Recently uploaded (20)

PPTX
The THESIS FINAL-DEFENSE-PRESENTATION.pptx
PDF
22.Patil - Early prediction of Alzheimer’s disease using convolutional neural...
PPT
Chapter 3 METAL JOINING.pptnnnnnnnnnnnnn
PDF
Foundation of Data Science unit number two notes
PPTX
Database Infoormation System (DBIS).pptx
PDF
“Getting Started with Data Analytics Using R – Concepts, Tools & Case Studies”
PPTX
Global journeys: estimating international migration
PDF
Recruitment and Placement PPT.pdfbjfibjdfbjfobj
PPTX
Data_Analytics_and_PowerBI_Presentation.pptx
PDF
Fluorescence-microscope_Botany_detailed content
PPT
Reliability_Chapter_ presentation 1221.5784
PPTX
MODULE 8 - DISASTER risk PREPAREDNESS.pptx
PPTX
iec ppt-1 pptx icmr ppt on rehabilitation.pptx
PPTX
Supervised vs unsupervised machine learning algorithms
PPTX
Business Ppt On Nestle.pptx huunnnhhgfvu
PPTX
05. PRACTICAL GUIDE TO MICROSOFT EXCEL.pptx
PPTX
Moving the Public Sector (Government) to a Digital Adoption
PDF
Galatica Smart Energy Infrastructure Startup Pitch Deck
PPT
Quality review (1)_presentation of this 21
The THESIS FINAL-DEFENSE-PRESENTATION.pptx
22.Patil - Early prediction of Alzheimer’s disease using convolutional neural...
Chapter 3 METAL JOINING.pptnnnnnnnnnnnnn
Foundation of Data Science unit number two notes
Database Infoormation System (DBIS).pptx
“Getting Started with Data Analytics Using R – Concepts, Tools & Case Studies”
Global journeys: estimating international migration
Recruitment and Placement PPT.pdfbjfibjdfbjfobj
Data_Analytics_and_PowerBI_Presentation.pptx
Fluorescence-microscope_Botany_detailed content
Reliability_Chapter_ presentation 1221.5784
MODULE 8 - DISASTER risk PREPAREDNESS.pptx
iec ppt-1 pptx icmr ppt on rehabilitation.pptx
Supervised vs unsupervised machine learning algorithms
Business Ppt On Nestle.pptx huunnnhhgfvu
05. PRACTICAL GUIDE TO MICROSOFT EXCEL.pptx
Moving the Public Sector (Government) to a Digital Adoption
Galatica Smart Energy Infrastructure Startup Pitch Deck
Quality review (1)_presentation of this 21

The Power of Now! Azure Stream Analytics - Microsoft ITPro AirLift

  • 1. 22 de Janeiro Microsoft Lisbon Experience The Power of Now! Rui Quintino | DevScope 22 Jan 2015 rui.quintino@devscope.net rquintino.wordpress.com twitter.com/rquintino Azure Stream Analytics
  • 4. What are customers wanting to do?
  • 5. Canonical scenarios for real-time processing
  • 6. KUKA Systems Group created an IoT-powered plant that centrally connects and monitors hundreds of robots.
  • 9. Procure HW Infrastructure and setup Code for ingress, processing and egress Plan for resiliency, such as HW failures Design solution Build Monitoring and Troubleshooting
  • 11. • Built-in monitoring – View your system’s performance at a glance – Help you find the cost-optimal way of deployment
  • 12. 3 lines of code in Stream Analytics Thousand lines of code in other solutions • Only SQL queries needed – Developers uses declarative SQL commands – Some functions take several lines of code versus thousands from other solutions
  • 13. • Implement temporal functions • Manage out-of-order events • Manage actions on late events
  • 16. Sample Scenario – Toll Station TollId EntryTime License Plate State Make Model Type Weight 1 2014-10-25T19:33:30.0000000Z JNB7001 NY Honda CRV 1 3010 1 2014-10-25T19:33:31.0000000Z YXZ 1001 NY Toyota Camry 2 3020 3 2014-10-25T19:33:32.0000000Z ABC 1004 CT Ford Taurus 2 3800 2 2014-10-25T19:33:33.0000000Z XYZ 1003 CT Toyota Corolla 2 2900 1 2014-10-25T19:33:34.0000000Z BNJ 1007 NY Honda CRV 1 3400 2 2014-10-25T19:33:35.0000000Z CDE 1007 NJ Toyota 4x4 1 3800 … … … … … … … … EntryStream - Data about vehicles entering toll stations TollId ExitTime LicensePlate 1 2014-10-25T19:33:40.0000000Z JNB7001 1 2014-10-25T19:33:41.0000000Z YXZ 1001 3 2014-10-25T19:33:42.0000000Z ABC 1004 2 2014-10-25T19:33:43.0000000Z XYZ 1003 … … … ExitStream - Data about cars leaving toll stations LicensePlate RegistartionId Expired SVT 6023 285429838 1 XLZ 3463 362715656 0 QMZ 1273 876133137 1 RIV 8632 992711956 0 … … …. ReferenceData - Commercial vehicle registration data
  • 17. Application Components Components of an Azure Stream Analytics Application Azure SQL DB Azure Event Hubs Azure Blob StorageAzure Blob Storage Azure Event Hubs Reference Data Query runs continuously against incoming stream of events Events Have a defined schema and are temporal (sequenced in time)
  • 18. Temporal Windows • Tumbling Windows – Repeating, non-overlapping, fixed interval windows • Hopping Windows – Generic window, overlapping, fixed size • Sliding Windows – Slides by an epsilon and produces output at the occurrence of an event
  • 19. Tumbling Window SELECT System.TimeStamp AS OutTime, TollId, COUNT (*) FROM Input TIMESTAMP BY EntryTime GROUP BY TollId, TumblingWindow(minute,5)
  • 20. Hopping Windows SELECT System.TimeStamp AS OutTime, TollId, COUNT (*) FROM Input TIMESTAMP BY EntryTime GROUP BY TollId, HoppingWindow(minute, 10 , 5)
  • 21. Sliding Windows SELECT System.TimeStamp AS OutTime, TollId, COUNT (*) FROM Input TIMESTAMP BY EntryTime GROUP BY TollId, SlidingWindow(minute, 3) HAVING Count(*) > 3 Finds all toll booths which have served more than 3 vehicle in the last 3 minutes
  • 23. Explore the latest in SQL Server Visit www.microsoft.com/sql to learn more about our latest innovations Evaluate SQL Server 2014 Get hands on – visit Microsoft’s TechNet evaluation center and evaluate SQL Server 2014 today! Evaluate Windows Server 2012 R2 Get hands on – visit Microsoft’s TechNet evaluation center and evaluate Windows Server 2102 R2 today!Microsoft Azure