big data in the real world. real-time football analytics

Download Big Data in the Real World. Real-time Football Analytics

Post on 20-May-2015

427 views

Category:

Technology

4 download

Embed Size (px)

TRANSCRIPT

  • 1. srinath@wso2.com @srinath_perera

2. VisionoftheFuture Sensorseverywhere Datacollectedfromeverywhere, analyzing,op9mizing,andhelping (andhopefullynottakingover) Analy9csandInternetofthings.. Immersiveworld Bigdataandreal-9meanaly9cs willbecrucial.Howfararewe fromrealizingthat? 3. Whatwouldtaketo buildsuchaworld? Sensorsandactuators (Motes?) Fastinteroperableevent systems(MQTT?) Powerfulquerylanguages (CEP?) Powerfulcontrolsystems anddecisionsystems 4. ComplexEventProcessing 5. CEPOperators Filtersortransforma9ons(processasingleevent) from Ball[v>10] select .. insert into .. Windows+aggrega9on(trackwindowofevents:9me,length) from Ball#window.time(30s) select avg(v) .. Joins(jointwoeventstreamstoone) from Ball#window.time(30s) as b join Players as p on p.v < b.v PaSerns(statemachineimplementa9on) from Ball[v>10], Ball[v10] select .. Eventtables(mapadatabaseasaneventstream) Define table HitV (v double) using .. db info .. 6. Sport(Soccer)Usecases? Dashboardongamestatus Alarmsaboutcri9caleventsinthegame Real-9megameanalysisandpredic9ons aboutthenextmove Updates/statsetc.,onmobilephonewith customizedoers Studyofgameandplayerseec9veness Monitorplayershealthandbodyfunc9ons 7. DEBSChallenge Soccergame,playersand ballhassensors(DESB Challenge2013)sid,ts, x,y,z,v,a Usecases:Running analysis,BallPossession andShotsonGoal, HeatmapofAc9vity WSO2CEP(Siddhi)did 100K+throughput 8. Usecase1:RunningAnalysis Mainidea:detectwhenspeed thresholdshavepassed define partition player by Players .id; from s = Players [v 11] , t = Players [v > 1 and v