Introduction to Azure Streaming Analytics

Slides:



Advertisements
Similar presentations
Observation Pattern Theory Hypothesis What will happen? How can we make it happen? Predictive Analytics Prescriptive Analytics What happened? Why.
Advertisements

Store CheckoutInventory Management Customer Estimation Store Circulation Analysis and Security Interactive Signage Sales Device Customer Demographics.
Running Hadoop-as-a-Service in the Cloud
HOL9396: Oracle Event Processing 12c
INTEGRATION DAY 2015 Sam Vanhoutte Azure Event Hubs, Stream Analytics & Power BI.
Architecting the Internet of Things Darren Hubert M256.
Janet works on the Azure Stream Analytics team, focusing on the service and portal UX. She has been in the data space at Microsoft for 5 years, previously.
Andy Roberts Data Architect
This document and the information contained herein is confidential and proprietary to Allegient LLC and shall not be duplicated, used or disclosed in whole.
Your app Intelligent apps learn and adapt to deliver more powerful experiences.
Let’s do some IoT stuff… with an Arduino board and Azure Stream Analytics Internet of Things.
Microsoft Ignite /28/2017 6:07 PM
TOUR ,000,000,000 1,000,000, ,000,000 10,000,000 1,000, ,000 10,000 1,000 Transistors Moore’s Law Metcalf‘s Law.
This document and the information contained herein is confidential and proprietary to Allegient LLC and shall not be duplicated, used or disclosed in whole.
This document and the information contained herein is confidential and proprietary to Allegient LLC and shall not be duplicated, used or disclosed in whole.
Energy Management Solution
Energy Demand Forecasting
Azure Stream Analytics
Connected Infrastructure
4/19/ :02 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN.
Data Platform and Analytics Foundational Training
5/9/2018 7:28 AM © Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY, AS TO THE INFORMATION IN THIS.
Connected Living Connected Living What to look for Architecture
Data Platform and Analytics Foundational Training
Smart Building Solution
Discovering Computers 2010: Living in a Digital World Chapter 14
Examine information management in Cortana Intelligence
Connected Maintenance Solution
Welcome! Power BI User Group (PUG)
Intro to BI Architecture| Warren Sifre
The story of an IoT solution
What has Azure to offer to IoT Developers?
Azure IoT / RPI / Windows Core 10
T-SQL: Simple Changes That Go a Long Way
Smart Building Solution
Optimizing Edge-Cloud IoT Applications for Performance and Cost
Introduction to Big Data
Energy Demand Forecasting
Connected Maintenance Solution
Connected Living Connected Living What to look for Architecture
Microsoft Build /22/ :52 PM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,
Azure Streaming Analytics
Connected Infrastructure
Building Analytics At Scale With USQL and C#
Stream Analytics Coolest and Exciting
Remote Monitoring solution
Energy Management Solution
AZURE STREAM ANALYTICS & DATA FACTORY
Applying Data Warehouse Techniques
Presented by: Warren Sifre
Cloudy with a Chance of Data
Azure Infrastructure as a Service
Introduction to Azure Streaming Analytics
Real-Time streaming in Power BI
Federico Perrero – Plant Manager
Microsoft Ignite /22/2018 3:58 PM BRK2254
Mile High Azure Users Group
The Internet of Things (IoT) from the back-end perspective
Near Real Time ETLs with Azure Serverless Architecture
Introduction to Big Data
Data Analysis with SQL Window Functions
What is this and how can I use it?
Introduction to Big Data
What is this and how can I use it?
What is this and how can I use it?
Azure Stream Analytics
Introduction to Data Lakes
Data Governance at a glance…
Introduction to Azure Streaming Analytics
Introduction to Big Data
Presentation transcript:

Introduction to Azure Streaming Analytics Warren Sifre Introduction to Azure Streaming Analytics April 4, 2017

Who am I? Warren Sifre Data Analytics Solution Architect Allegient Email: wsifre@allegient.com Twitter: @WAS_SQL LinkedIn: www.linkedin.com/in/wsifre

About me… In the IT Industry since 1998. Developed system integration solutions against many different database platforms for various applications across many industries. Passion in Solutions Architecture at both hardware and software levels. Interests in SQL Server, MongoDB, Hadoop, Python/C#/PowerShell and Information Security (Hacking) Indy BI PASS User Group Founder and Chapter Leader PASS SQL Saturday / Indy PASS User Group presenter MSCE: Data Platforms/Business Intelligence, Teradata 14 CTP and many more…

What is Streaming Analytics? How it works? Use Cases Configuration and Dependencies SAQL Demo

Typical Environment

Challenges… Real-Time Analytics Environment Scalability Many Steps in between the Source Data and the Visualization/Reporting Output. Environment Scalability Months/Years of planning is needed to plan out equipment procurement and scale out to meet increasing demand. Resource Cost Management Ideal configuration would require the purchasing of enough equipment to handle peak performance requirements. Although those peak requirements may only be for a few hours of any given day. Disaster Recovery Strategy Architecting and maintaining a DR strategy where performance, RTOs, and RPOs are met can be challenging and leave the organization with a lot of underutilized resources.

What is Streaming Analytics? A way to evaluate data before it has reached its final repository destination. Why? Hours to weeks can be the time it takes for data to be transmitted, received, processed, aggregated, then visualized in the traditional Data Warehouse architecture. Business requirements have changed and the desire to glean insights from this data sooner is now becoming a requirement, not a nice to have.

How it can work… Streaming Analytics Job Event Hub Data Factory Process and Deliver data to multiple end points Transmit Data Event Hub Queues data for processing Data Factory Gather and process data for Predictive Analytics Process Machine Learning Predictive Analytics Processing Power BI Visualize real-time data stream Azure SQL Store data

Reimagined Environment

Use Cases Transportation Energy Manufacturing Medical Device Reduce the need to pull vehicles from service for routine inspections by using sensors to determine when actual anomalies are occurring. Energy Monitor equipment from central locations such as Wind Turbines and Power Generators, thus reducing time spent on manual/physical inspection or replacement of parts just because of time instead of actual degraded performance. Manufacturing Monitor equipment and plant conditions for optimal performance. Medical Device Through remote monitoring expensive replacement parts can be ordered closer to the end-of- life of an equipment than by a schedule. This can reduce the cost of having an overstock of parts on-hand.

Configuration Options… Add Input(s) Data Stream Event Hub Blob Storage IoT Hub Reference Data Add Query Streaming Analytic Query Language (SAQL) - Similar to T-SQL Add Output(s) SQL Database Blob Storage Event Hub Power BI Table Storage Service Bus Queue Service Bus Topic DocumentDB Data Lake Store Settings Scale – How much processing power desired for SA Job? Exception Handling– What is the definition of Late Data? What to do with late or out of order data? Alerts – When do you want to receive a notification? Functions – AzureML Integration

SAQL - Elements DML SELECT FROM WHERE GROUP BY HAVING CASE WHEN THEN ELSE INNER JOIN LEFT OUTER JOIN UNION CROSS APPLY OUTER APPLY CAST INTO ORDER BY ASC, DSC String Functions Len ConCat CharIndex Substring PatIndex Date and Time Functions DateName DatePart Day Month Year DateTimeFromParts DateDiff DateAdd Aggregate Functions Sum Count Avg Min Max StDev StDevP Var VarP Windowing Extensions TumblingWindow HoppingWindow SlidingWindow Scaling Extensions With Partition By Over Temporal Functions Lag IsFirst CollectTop

SAQL - Elements DML SELECT FROM WHERE GROUP BY HAVING CASE WHEN THEN ELSE INNER JOIN LEFT OUTER JOIN UNION CROSS APPLY OUTER APPLY CAST INTO ORDER BY ASC, DSC String Functions Len ConCat CharIndex Substring PatIndex Date and Time Functions DateName DatePart Day Month Year DateTimeFromParts DateDiff DateAdd Aggregate Functions Sum Count Avg Min Max StDev StDevP Var VarP Windowing Extensions TumblingWindow HoppingWindow SlidingWindow Scaling Extensions With Partition By Over Temporal Functions Lag IsFirst CollectTop

Tumbling Window Fixed window of time with no overlap

Hopping Window Fixed window of time with a fix time of overlap

Sliding Window A Fixed window time, but a window is defined as the moment an event enters or exits an existing window.

Sliding Window A Fixed window time, but a window is defined as the moment an event enters or exits an existing window.

Sliding Window A Fixed window time, but a window is defined as the moment an event enters or exits an existing window.

Sliding Window A Fixed window time, but a window is defined as the moment an event enters or exits an existing window.

Sliding Window A Fixed window time, but a window is defined as the moment an event enters or exits an existing window.

Sliding Window A Fixed window time, but a window is defined as the moment an event enters or exits an existing window.

Sliding Window A Fixed window time, but a window is defined as the moment an event enters or exits an existing window.

Demonstration

Helpful Links More Information on Streaming Analytics SAQL https://msdn.microsoft.com/en-us/library/azure/dn834998.aspx SAQL Query Patterns https://azure.microsoft.com/en-us/documentation/articles/stream-analytics-stream-analytics-query-patterns/ Azure Portal Link Azure Portal

Warren Sifre Email: wsifre@allegient.com Twitter: @WAS_SQL LinkedIn: www.linkedin.com/in/wsifre