SQL Server 2008 R2 StreamInsight Complex Event Processing Event Stream Processing.

Slides:



Advertisements
Similar presentations
Tracking a Soccer Game with Big Data Srinath Perera Director of Research, WSO2 Member, Apache Software
Advertisements

Financial Services Technology Expo Microsoft StreamInsight for Financial Services A Microsoft Point of View Presentation Hilton New York Hotel New York,
Abdullah Mueen 1. Architecture 2 Key Benefits Highly optimized performance and data throughput – Parallel execution of continuous queries over high-speed.
Overview of Microsoft StreamInsight
Solving Problems in ETL using SSIS Allan Mitchell SQL Server MVP
Data Management Conference ETL In SQL Server 2008 Allan Mitchell London September 29th.
Add Real-time Streaming SQL to Your MySQL Skill Set Julian Hyde - Chief Architect Steve Herskovitz – Director of Professional Services.
Scalable Realtime Analytics with declarative, SQL like, Complex Event Processing Scripts Srinath Perera Director, Research WSO2 Apache Member
5 Complex Event Processing (CEP) is the continuous and incremental processing of event streams from multiple sources based on declarative query.
Agenda  Introduction  Background to CEP  Complex Event Processing  Stream Insight  Anatomy of a Stream Insight Project.
Dunja Mladenić Marko Grobelnik Jožef Stefan Institute, Slovenia.
Progress Report 11/1/01 Matt Bridges. Overview Data collection and analysis tool for web site traffic Lets website administrators know who is on their.

HOL9396: Oracle Event Processing 12c
Pulsar Realtime Analytics At Scale Tony Ng, Sharad Murthy June 11, 2015.
OEP BOF9272 SOA Event Delivery Network
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’
COMPLEX EVENT PROCESSING KENNY INTHIRATH. EVENT-DRIVEN APPLICATIONS Event-Driven Applications High numbers of events Low latency Real-time Opposed to.
Connect with life Praveen Srvatsa Director | AsthraSoft Consulting Microsoft Regional Director, Bangalore Microsoft MVP, ASP.NET.
Information delivery and reporting with Wonderware tools Ernst van Wyk Wonderware Southern Africa.
SQL Server Integration Services (SSIS) Presented by Tarek Ghazali IT Technical Specialist Microsoft SQL Server (MVP) Microsoft Certified Technology Specialist.
Sensor Data Management: Challenges and (some) Solutions Amol Deshpande, University of Maryland.
Opening Keynote Presentation An Architecture for Intelligent Trading  Alessandro Petroni – Senior Principal Architect, Financial Services, TIBCO Software.
SQL Server 2008 Spatial Summary 2 Spatial Data Types (CLR UDT) Comprehensive set of Spatial Methods High Performance Spatial Indexes Spatial Library Sink/Builder.
Experimenting with Complex Event Processing for Large Scale Internet Services Monitoring Stephan Grell, Olivier Nano Microsoft, Ritter Strasse 23, Aachen,
More value from data using Data Mining Allan Mitchell SQL Server MVP.
Capita Consultancy Services & Web Reporting Rupert Ireland Applications Consultant.
Lucas Jellema OGh SIG SOA/BPM – 1 September 2015 BPM Suite 12c Process Analytics with BAM.
An Extensible Test Framework for Microsoft StreamInsight Alex Raizman Asvin Ananthanarayan Anton Kirilov Badrish Chandramouli Mohamed Ali.
John Plummer Technical Specialist Data Platform Microsoft Ltd StreamInsight Complex Event Processing (CEP) Platform.
Towards Low Overhead Provenance Tracking in Near Real-Time Stream Filtering Nithya N. Vijayakumar, Beth Plale DDE Lab, Indiana University {nvijayak,
Allan Mitchell SQL Server MVP Konesans Limited ww.SQLIS.com.
Data Management Conference Introducing SQL Server 2008 R2 Mark Linton Director of WW Marketing SQL Server Business Group
Cayuga: A General Purpose Event Monitoring System Mirek Riedewald Joint work with Alan Demers, Johannes Gehrke, Biswanath Panda, Varun Sharma (IIT Delhi),
Data Management Console Synonym Editor
Integration Services in SQL Server 2008 Allan Mitchell SQL Server MVP.
Has the ETL run yet?
INNOV-10 Progress® Event Engine™ Technical Overview Prashant Thumma Principal Software Engineer.
1 Integration Services in SQL Server 2008 Allan Mitchell – SQLBits – Oct 2007.
1 Advanced Topics Using Microsoft SQL Server 2005 Integration Services Allan Mitchell – SQLBits – Oct 2007.
2 Dynamic Development Platform For All Data Pervasive Insight Enterprise Data Platform Datacenter Mobile and Desktop OLAP FILE XML RDBMS Services Query.
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.
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.
Interoperability. Introductions & Session objectives Operational Intelligence Context Explore some of the parts – CEP – ESB – Cloud Agenda.
Event-Driven Stream Processing with Microsoft StreamInsight Roman Schindlauer.
What's New in Visual Studio 2010 Debugging Brian Peek Senior Consultant, ASPSOFT, Inc. Microsoft MVP - C#
Database Development with SQL Server Data Tools (SSDT) Björn Eriksen, Architect Evangelist DPE Microsoft
Activiti in an Event- driven architecture Robin Bramley Chief Scientific Officer, Ixxus.
Streaming Analytics & CEP Two sides of the same coin?
Mobile App Trends: lifecycle, functions, and cognitive
T-SQL: Simple Changes That Go a Long Way
Parameter Sniffing in SQL Server Stored Procedures
Azure Streaming Analytics
Tech Ed North America /19/2018 4:59 AM Required Slide
Microsoft Build /20/2018 5:17 AM © 2016 Microsoft Corporation. All rights reserved. MICROSOFT MAKES NO WARRANTIES, EXPRESS, IMPLIED OR STATUTORY,
Introduction to Azure Streaming Analytics
COS 518: Advanced Computer Systems Lecture 11 Michael Freedman
StreamInsight in SQL Server 2012
Advanced Microsoft SQL Server 2008 R2 StreamInsight
Creating Dashboards with PerformancePoint Services
Delivering an End-to-End Business Intelligence Solution
Introduction to StreamInsight
Intro to Workflow Services and Windows Server AppFabric
SQL Server 2008 for developers
COS 518: Advanced Computer Systems Lecture 12 Michael Freedman
Introduction to Azure Streaming Analytics
T-SQL: Simple Changes That Go a Long Way
Christian Nordbakk Objectware AS
Presentation transcript:

SQL Server 2008 R2 StreamInsight Complex Event Processing Event Stream Processing

Who Am I? SQL Server MVP SQL Server Consultant Joint author on Wrox Professional SSIS book and Specialise in Moving (twitter)

Agenda Use Cases & Challenges Formulating Declarative Queries Windows in Time Event Flow Debugging Demos

Complex Event Processing (CEP) is the continuous and incremental processing of event streams from multiple sources based on declarative query and pattern specifications with near-zero latency. What is CEP?

Complex Event Processing (CEP) is the continuous and incremental processing of event streams from multiple sources based on declarative query and pattern specifications with near-zero latency. Database ApplicationsEvent-driven Applications Query Paradigm Ad-hoc queries or requests Continuous standing queries request response Event output stream input stream What is CEP?

Complex Event Processing (CEP) is the continuous and incremental processing of event streams from multiple sources based on declarative query and pattern specifications with near-zero latency. Database ApplicationsEvent-driven Applications Query Paradigm Ad-hoc queries or requests Continuous standing queries LatencySeconds, hours, daysMilliseconds or less request response Event output stream input stream What is CEP?

Complex Event Processing (CEP) is the continuous and incremental processing of event streams from multiple sources based on declarative query and pattern specifications with near-zero latency. Database ApplicationsEvent-driven Applications Query Paradigm Ad-hoc queries or requests Continuous standing queries LatencySeconds, hours, daysMilliseconds or less Data RateHundreds of events/sec> Tens of thousands of events/sec request response Event output stream input stream What is CEP?

Who might need CEP Fraud Detection Real-Time Trade Risking Algorithmic Trading/Betting Meter throughputs – Oil, Gas, Water, Electricity – Use to drive alarms, alerts etc

Query Logic Event sources Event targets Devices, Sensors Web servers Event stores & Databases Stock ticker, news feeds Event stores & Databases Pagers & Monitoring devices KPI Dashboards, SharePoint UI Trading stations StreamInsight Application at Runtime.NET C# LINQ StreamInsight Application Development Input Adapters Output Adapters StreamInsight Engine Query Logic StreamInsight Platform

Query Expressiveness Selection of events (filter) Calculations on the payload (project) Correlation of streams (join) Stream partitioning (group and apply) Aggregation (sum, count, …) over event windows Ranking over event windows (topK)

Query Expressiveness var result = from e in inputStream select new { id = e.id, W = (double)e.intW / 10 }; var result = from e in inputStream select new { id = e.id, W = (double)e.intW / 10 }; Projection

Query Expressiveness var result = from e in inputStream where e.id > 3 select new { id = e.id, W = (double)e.intW / 10 }; var result = from e in inputStream where e.id > 3 select new { id = e.id, W = (double)e.intW / 10 }; Projection Filter

Query Expressiveness var result = from eLeft in inputStream1 join eRight in inputStream2 on eLeft.id equals eRight.id select new { id = eLeft.id, diff = eLeft.W - eRight.w }; var result = from eLeft in inputStream1 join eRight in inputStream2 on eLeft.id equals eRight.id select new { id = eLeft.id, diff = eLeft.W - eRight.w }; Projection Filter Correlation (Join)

Query Expressiveness var result = from win in inputStream.TumblingWindow( TimeSpan.FromSeconds(10)) select new { avg = win.Avg(e => e.W) }; var result = from win in inputStream.TumblingWindow( TimeSpan.FromSeconds(10)) select new { avg = win.Avg(e => e.W) }; Projection Filter Correlation (Join) Aggregation over windows

Projection Filter Correlation (Join) Aggregation over windows Group and Aggregate Query Expressiveness var result = from e in inputStream group e by e.id into eachGroup from win in eachGroup.TumblingWindow( TimeSpan.FromSeconds(10)) select new { eachGroup.Key, avg = win.Avg(e => e.W) }; var result = from e in inputStream group e by e.id into eachGroup from win in eachGroup.TumblingWindow( TimeSpan.FromSeconds(10)) select new { eachGroup.Key, avg = win.Avg(e => e.W) };

Windowing Hopping – Tumbling Snapshot Count

Time Windows Hopping Window

Time Windows Tumbling Window

Snapshot Windows

Debugger Has its own debugger You cannot live without it (believe me) Set breakpoints Filter A wonderful tool

DEMOS Tour Trace Reader Live Trace File Reader Query Demo (Joining) Debugger Tool (How it will save you)