Real-time raise alerts Real-Time Real-time with historical - - PowerPoint PPT Presentation

real time
SMART_READER_LITE
LIVE PREVIEW

Real-time raise alerts Real-Time Real-time with historical - - PowerPoint PPT Presentation

Real-time raise alerts Real-Time Real-time with historical Dashboard Correlate Engine + Fabric Offline Develop initial monitoring query Back-test Progressive Non-temporal analysis Interactive Query Authoring


slide-1
SLIDE 1
slide-2
SLIDE 2
  • Real-time

raise alerts

  • Real-time with historical
  • Correlate
  • Offline
  • Develop initial monitoring query
  • Back-test
  • Progressive

Non-temporal analysis

Engine

+ Fabric

Interactive Query Authoring Real-Time Dashboard

slide-3
SLIDE 3
  • Performance
  • Fabric & language integration
  • Query model

Scenarios

  • monitor

telemetry & raise alerts

  • correlate real-

time with logs

  • develop initial

monitoring query

  • back-test over

historical logs

  • offline analysis

(BI) with early results

slide-4
SLIDE 4
  • Performance
  • Fabric & language integration
  • Query model
slide-5
SLIDE 5
  • Key enabler: performance +

fabric & language integration + query model

slide-6
SLIDE 6

struct ClickEvent { long ClickTime; long User; long AdId; } var str = Network.ToStream(e => e.ClickTime, Latency(10secs)); var query = str.Where(e => e.User % 100 < 5) .Select(e => { e.AdId }) .GroupApply( e => e.AdId, s => s.Window(5min).Aggregate(w => w.Count()));

query.Subscribe(e => Console.Write(e)); // write results to console

slide-7
SLIDE 7

stream of batches

  • More load  larger batches  better throughput

𝑝𝑞2

… …

𝑝𝑞1

slide-8
SLIDE 8

class DataBatch { long[] SyncTime; ... Bitvector BV; } class UserData_Gen : DataBatch { long[] c_ClickTime; long[] c_User; long[] c_AdId; }

𝑝𝑞2

… …

𝑝𝑞1

timestamp payload columns bitvector

slide-9
SLIDE 9

str.Where(e => e.User % 100<5); Send(events) ...

Application

Receive(results) On(Batch b) { for i = 0 to b.Size { if !(b.c_User[i]%100 < 5) set b.bitvector[i] } next-operator.On(b) }

Trill

slide-10
SLIDE 10

session windows

  • Powerful high-perf expression-based user-defined aggregate framework
slide-11
SLIDE 11
slide-12
SLIDE 12
slide-13
SLIDE 13
slide-14
SLIDE 14

http://aka.ms/trill

slide-15
SLIDE 15