Event-Driven Stream Processing with Microsoft StreamInsight Roman Schindlauer.

Slides:



Advertisements
Similar presentations
Attie Naude 14 May 2013 Windows Azure Mobile Services.
Advertisements

Financial Services Technology Expo Microsoft StreamInsight for Financial Services A Microsoft Point of View Presentation Hilton New York Hotel New York,
Tom Lewis Director, Academic & Collaborative Applications University of Washington.
Power BI Sites and Mobile BI. What You Will Learn Sharing and Collaboration Introducing Power BI Exploring Power BI Features and Services Partner Opportunities.
SQL Server 2008 R2 StreamInsight Complex Event Processing Event Stream Processing.
Observation Pattern Theory Hypothesis What will happen? How can we make it happen? Predictive Analytics Prescriptive Analytics What happened? Why.
Running Hadoop-as-a-Service in the Cloud
5 Complex Event Processing (CEP) is the continuous and incremental processing of event streams from multiple sources based on declarative query.
Accelerate Business Success With CRM CRM Interoperability.
OPC Alarm.NET.
Complex Event Processing: Power your middleware with StreamInsight Mahesh Patel (Microsoft) Amit Bansal (PeoplewareIndia.com)
DBI303. SELECT COUNT(*) FROM ParkingLot WHERE type = ‘AUTO’ AND color = ‘RED’ SELECT COUNT(*) FROM ParkingLot WHERE type = ‘AUTO’ AND color = ‘RED’
Enterprise Reporting with Reporting Services SQL Server 2005 Donald Farmer Group Program Manager Microsoft Corporation.
Building Offline/Cache Mode Web Apps Using Sync Framework Mike Clark Group Manager Cloud Data Services Team
This presentation was scheduled to be delivered by Brian Mitchell, Lead Architect, Microsoft Big Data COE Follow him Contact him.
Cloud computing is the use of computing resources (hardware and software) that are delivered as a service over the Internet. Cloud is the metaphor for.
Introducing Reporting Services for SQL Server 2005.
John Plummer Technical Specialist Data Platform Microsoft Ltd StreamInsight Complex Event Processing (CEP) Platform.
Data Management Conference Introducing SQL Server 2008 R2 Mark Linton Director of WW Marketing SQL Server Business Group
Developer TECH REFRESH 15 Junho 2015 #pttechrefres h Understand your end-users and your app with Application Insights.
Has the ETL run yet?
INNOV-10 Progress® Event Engine™ Technical Overview Prashant Thumma Principal Software Engineer.
OpenField Consolidates Stadium Data, Provides CRM and Analysis Functions for an Intelligent, End-to-End Solution COMPANY PROFILE : OPENFIELD Founded by.
The ERA of API in the World of IoT Jing Zhang-Lee November, 2015.
Randy Pagels Sr. Developer Technology Specialist DX Team (Developer Experience and Evangelism) Application Insights Availability, Performance and Usage.
COS308. SQL Azure Database DEMO.
2 Complex Event Processing (CEP) is the continuous and incremental processing of event streams from multiple sources based on declarative query and pattern.
Comprehensive Flexible Global Storage and Search Responsive Available Secure Manageable Federation Coordination Consolidation Transformation Synchronization.
+ Logentries Is a Real-Time Log Analytics Service for Aggregating, Analyzing, and Alerting on Log Data from Microsoft Azure Apps and Systems MICROSOFT.
MGT305 - Application Management in Private and Public Clouds Sean Christensen Senior Product Marketing Manager Microsoft Corporation MGT305.
With xTV, Quickly Build Your Enterprise.TV Network, a Single-Destination, Real-Time Stream of Information to Inform Customers, Employees, Partners & Investors.
SQL Server Evolution New innovations Jen Underwood Sr. Program Manager of Business Intelligence & Analytics Microsoft George Walters Sr. Technical Solutions.
Copyright © New Signature Who we are: Focused on consistently delivering great customer experiences. What we do: We help you transform your business.
Copyright © New Signature Who we are: Focused on consistently delivering great customer experiences. What we do: We help you transform your business.
Let’s do some IoT stuff… with an Arduino board and Azure Stream Analytics Internet of Things.
Microsoft Dynamics NAV Microsoft Dynamics NAV managed service for partners, under the hood Dmitry Chadayev Corporate Vice President, Microsoft.
Energy Management Solution
Intro to Kinian technology
Connected Infrastructure
TV Broadcasting What to look for Architecture TV Broadcasting Solution
Fan Engagement Solution
Connected Living Connected Living What to look for Architecture
Scalable Web Apps Target this solution to brand leaders responsible for customer engagement and roll-out of global marketing campaigns. Implement scenarios.
Smart Building Solution
Leveraging the Business Intelligence Features in SharePoint 2010
Examine information management in Cortana Intelligence
Connected Maintenance Solution
Enterprise Town Hall solution
Gain visibility into your apps with Azure Application Insights
Parcel Tracking Solution Parcel Tracking What to look for Architecture
Hybrid Management and Security
Microsoft Power BI with Azure Services
Microsoft Ignite /11/2018 1:18 AM BRK4017
Smart Building Solution
Connected Maintenance Solution
Connected Living Connected Living What to look for Architecture
7/18/2018 8:55 PM Migracija IoT rešenja na Azure PaaS model ili: Kako sam prestao da brinem o IT infrastrukturi i zavoleo Azure Nebojša Stojanović © Microsoft.
Microsoft Ignite /22/2018 3:27 PM BRK2121
Connected Infrastructure
Power BI Security Best Practices
Remote Monitoring solution
Energy Management Solution
Scalable Web Apps Target this solution to brand leaders responsible for customer engagement and roll-out of global marketing campaigns. Implement scenarios.
Data Warehouse.
Microsoft Build /20/2018 5:17 AM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,

Yellowfin: An Azure-Compatible Business Intelligence Platform That Connects People with Their Data for Better Decision Making MICROSOFT AZURE APP BUILDER.
Advanced Microsoft SQL Server 2008 R2 StreamInsight
Technical Capabilities
What’s Happening with my App, Application Insights?
Presentation transcript:

Event-Driven Stream Processing with Microsoft StreamInsight Roman Schindlauer

Understanding Streaming Data Question: “how many red cars are in the parking lot”. Answering with a relational database: –Walk out to the parking lot. –Count vehicles that are Red Cars SELECT COUNT(*) FROM ParkingLot WHERE type = ‘AUTO’ AND color = ‘RED’ SELECT COUNT(*) FROM ParkingLot WHERE type = ‘AUTO’ AND color = ‘RED’

Understanding Streaming Data What about: “How many red cars have passed the 40 th street exit on the 520 in the last hour”? Answering with a relational database: –Pull over and park all vehicles in a lot, keeping them there for an hour. –Count vehicles that are in the lot. Doesn’t seem like a great solution…

Understanding Streaming Data Different kinds of questions require different ways of answering them. Answering the question with a streaming data processing engine: –Stand by the freeway, count red cars as they pass by. –Write down the answer, deliver the answer. This is the streaming data paradigm in a nutshell – ask questions about data in flight

StreamInsight Scenarios ManufacturingUtilitiesOil & Gas Alarming, Notifications Rotating equipment monitoring Condition-based maintenance AMI/SmartGrid Grid management Generation/demand balancing Measurement / Logging while drilling Well monitoring Facility management Financial ServicesWeb AnalyticsTelco Algorithmic Trading Risk Management Market Monitoring Behavioral Targeting Load Monitoring QoS Monitoring CDR Aggregation Call Quality Monitoring

StreamInsight for Oil & Gas Process Control Data Aggregation: Continuous Time Window –Detect process data events and patterns in moving windows –report non-conformance immediately Data Buffering: High Frequency Data Collection –Buffer high-speed process data –Integrate high-speed data values into the historian upon trigger Data Quality: Data Cleansing –Analyze high speed process data, identify suspect data –call routines to “cleanse” suspect data –recognize critical events that need to be passed on immediately.

Aggregation Detect pattern-based process data events (e.g. limit exceedence) in moving time windows and report the non-conformance immediately

Web Server Log

Web Server

What is StreamInsight? Input Adapter Output Adapter StreamInsight Library Input Adapter Output Adapter Event Sources Devices, Sensors Web servers Event stores & Databases Stock ticker, news feeds Event stores & Databases Pagers & Monitoring devices KPI Dashboards, SharePoint UI Trading stations Event Targets StreamInsight Application Development public override void Start() { Produce(); } public override void Resume() { Produce(); } public void Produce() { while (true) { Enqueue(ref ev); } var result = from win in inputStream.TumblingWindow(TimeSpan.FromSeconds(10)) select new { avg = win.Avg(e => e.W) };

Demo: Twitter Feed analytics

Event data is already in the Cloud Why Event Processing in the Cloud? Event data is globally distributed Data is not local! Bring the processing to the data, not the data to the processing!

What is Austin? Rich temporal (StreamInsight) and sequential (Reactive) analytics models Dynamic, flexible query and data source management experience Turn key connectivity for platform data sources and sinks (SQL Azure, Windows Azure Table Storage) Integrated with Azure management portal and billing experiences Real time data collection from wide variety of connected devices (Servers, Tablets, Phones) Standards compliant endpoints (REST, XML, JSON) Securable data ingress with data enrichment and transformation (geo-tagging, etc) Multi-tenant Azure service with flexible, elastic capacity for collection and analytics Federated scale out collection and analytics Distributed service monitoring and tracing

Key Scenarios Capture and analyze vehicle telemetry, identify usage patterns Car diagnostics, GPS data Highly customizable analytics of web application usage & performance Connect with the end user experience Real time monitoring of large scale cloud infrastructure and services Distributed instrumentation and analytics for operations, management and SLA’s Real time visibility into your user’s experience for widely distributed mobile applications Instant feedback on quality of service, user satisfaction and usage patterns

Austin Architecture Network Layer Authentication Event Transformation Enrichment StreamInsight Engine Event-driven Queries Scale-out Logging, Tracing REST Endpoint Monitoring Service Management Service Analytics Application Event Schemas Analytics Queries Visualization Network Layer Other data sources SQL Azure Azure Storage

Customizing Austin Building an end to end video analytics application on Austin Austin focuses on the infrastructure so you can focus on your experience Implementing a custom analytics solution on top of Austin requires: –Defining custom data types and transformations –Defining analytics queries (in LINQ) –Creating visualization and interaction experiences on top of the analytics results Audience Insight is a forthcoming end-to-end service for tracking streaming video quality

Audience Insight Requirements Accept anonymous telemetry data from a variety of connected devices about video quality (feed quality, missing chunks, etc) Create reports and views of end-user experience health pivoted by geography & video source Provide multi-tenant data access and analytics (multiple end consumers)

Step 1: Data Collection and Transformation Define data formats and transformation Geocoding Define data enrichment (geocoding)

Step 2: Analytics <SqlAzureOutput ConnectionStringName = "SomeConnectionString" UseDateTime2="true" SqlIdentifier="ViewersByRegion_" SqlSchema="dbo" GroupFieldName="ApplicationId,CountryId,RegionId" /> Define queries Define destination var videoQualityByEdgeServer = from e in videoQualityStream group e by new { e.ApplicationId, e.CountryId } into edgeGroups from win in edgeGroups.TumblingWindow(windowSize) select new VideoQualityOutputByEdge { ApplicationId = edgeGroups.Key.ApplicationId, CountryId = edgeGroups.Key.CountryId, AvgPercentageBuffering = win.Avg(e => (double)e.BufferingSeconds / (double)e.SamplingFrequencySeconds), AvgBitrate = win.Avg(e => e.BitRate), UsersWithErrorCount = win.Sum(e => e.HttpErrorCount > 0 ? 1 : 0), AverageHttpErrors = win.Avg(e => e.HttpErrorCount), TotalHttpErrors = win.Sum(e => e.HttpErrorCount), ConcurrentViewers = win.CountUnique(e => e.VideoSessionId), };

Audience Insight Implementation With this extension/configuration the Austin service will handle: –Data collection –Data transformation and enrichment –Event stream analytics –Publishing results to SQL Azure Audience Insight will pick up the data from SQL Azure and publish live/historical results via OData with a custom visualizer

Demo: Fleet Monitoring Shuttle Position Web Service Shuttle Position Web Service Austin SQL Azure Silverlight Client

THANK YOU! For attending this session and PASS SQLRally Nordic 2011, Stockholm

Moving into the Cloud Client App Input Adapter Output Adapter Queries, Management, Diagnostics Data In Data Out Remote Host in the Cloud