Top Banner
(c) Nikita Shamgunov and MemSQL
52

IMC Summit 2016 Breakout - Nikita Shamgunov - Propelling IoT Innovation with Predictive Analytics

Apr 16, 2017

Download

Data & Analytics

Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: IMC Summit 2016 Breakout - Nikita Shamgunov - Propelling IoT Innovation with Predictive Analytics

(c) Nikita Shamgunov and MemSQL

Page 2: IMC Summit 2016 Breakout - Nikita Shamgunov - Propelling IoT Innovation with Predictive Analytics

Topics• The On-Demand Economy

• From In-Memory Compu8ng to In-Memory Databases

• Renewable Energy and PowerStream

• Demo and Q&A

(c) Nikita Shamgunov and MemSQL

Page 3: IMC Summit 2016 Breakout - Nikita Shamgunov - Propelling IoT Innovation with Predictive Analytics

The On-DemandEconomy

(c) Nikita Shamgunov and MemSQL

Page 4: IMC Summit 2016 Breakout - Nikita Shamgunov - Propelling IoT Innovation with Predictive Analytics

We live in an on-demand economy

(c) Nikita Shamgunov and MemSQL

Page 5: IMC Summit 2016 Breakout - Nikita Shamgunov - Propelling IoT Innovation with Predictive Analytics

Consumers are condi.oned to instant services, like Uber, Stripe, and Airbnb

(c) Nikita Shamgunov and MemSQL

Page 6: IMC Summit 2016 Breakout - Nikita Shamgunov - Propelling IoT Innovation with Predictive Analytics

Where does that leave enterprises?

(c) Nikita Shamgunov and MemSQL

Page 7: IMC Summit 2016 Breakout - Nikita Shamgunov - Propelling IoT Innovation with Predictive Analytics

Racing to meet internal and external expecta1ons for speed and

personaliza,on

(c) Nikita Shamgunov and MemSQL

Page 8: IMC Summit 2016 Breakout - Nikita Shamgunov - Propelling IoT Innovation with Predictive Analytics

Batch processing is the enterprise enemy

(c) Nikita Shamgunov and MemSQL

Page 9: IMC Summit 2016 Breakout - Nikita Shamgunov - Propelling IoT Innovation with Predictive Analytics

Enterprises must move from overnight to

Real-&me, intra-day opera&ons

(c) Nikita Shamgunov and MemSQL

Page 10: IMC Summit 2016 Breakout - Nikita Shamgunov - Propelling IoT Innovation with Predictive Analytics

Harnessing data in real -me

(c) Nikita Shamgunov and MemSQL

Page 11: IMC Summit 2016 Breakout - Nikita Shamgunov - Propelling IoT Innovation with Predictive Analytics

Achieving sub 100 ms latency• Real-'me monitoring and analy'cs on streaming video

• Proac'vely diagnose issues in real-'me

• Deliver be9er viewer experience

(c) Nikita Shamgunov and MemSQL

Page 12: IMC Summit 2016 Breakout - Nikita Shamgunov - Propelling IoT Innovation with Predictive Analytics

Massive Ingest AND Analy1cs• Instant accuracy to the latest repin

• Build real-5me analy5c applica5ons

• 1 GB/sec totaling 72 TB/day

(c) Nikita Shamgunov and MemSQL

Page 13: IMC Summit 2016 Breakout - Nikita Shamgunov - Propelling IoT Innovation with Predictive Analytics

What is anin-memory database?(c) Nikita Shamgunov and MemSQL

Page 14: IMC Summit 2016 Breakout - Nikita Shamgunov - Propelling IoT Innovation with Predictive Analytics

In-Memory Databases...• Use memory instead of disk

(c) Nikita Shamgunov and MemSQL

Page 15: IMC Summit 2016 Breakout - Nikita Shamgunov - Propelling IoT Innovation with Predictive Analytics

In-Memory Databases...• Use memory instead of disk

(c) Nikita Shamgunov and MemSQL

Page 16: IMC Summit 2016 Breakout - Nikita Shamgunov - Propelling IoT Innovation with Predictive Analytics

In-Memory Databases...• Use memory instead of disk

• Do not (need to) save data on disk

(c) Nikita Shamgunov and MemSQL

Page 17: IMC Summit 2016 Breakout - Nikita Shamgunov - Propelling IoT Innovation with Predictive Analytics

In-Memory Databases...• Use memory instead of disk

• Do not (need to) save data on disk

(c) Nikita Shamgunov and MemSQL

Page 18: IMC Summit 2016 Breakout - Nikita Shamgunov - Propelling IoT Innovation with Predictive Analytics

In-Memory Databases...• Use memory instead of disk

• Do not (need to) save data on disk

• Put the whole dataset in memory

(c) Nikita Shamgunov and MemSQL

Page 19: IMC Summit 2016 Breakout - Nikita Shamgunov - Propelling IoT Innovation with Predictive Analytics

In-Memory Databases...• Use memory instead of disk

• Do not (need to) save data on disk

• Put the whole dataset in memory

(c) Nikita Shamgunov and MemSQL

Page 20: IMC Summit 2016 Breakout - Nikita Shamgunov - Propelling IoT Innovation with Predictive Analytics

In-Memory Databases...• Use memory instead of disk

• Do not (need to) save data on disk

• Put the whole dataset in memory

Well, some)mes...

(c) Nikita Shamgunov and MemSQL

Page 21: IMC Summit 2016 Breakout - Nikita Shamgunov - Propelling IoT Innovation with Predictive Analytics

Wikipedia says...

In-memory databases primarily rely on main-memory for storage.

(c) Nikita Shamgunov and MemSQL

Page 22: IMC Summit 2016 Breakout - Nikita Shamgunov - Propelling IoT Innovation with Predictive Analytics

In-Memory Databases• Are durable to disk (and respect ACID)

(c) Nikita Shamgunov and MemSQL

Page 23: IMC Summit 2016 Breakout - Nikita Shamgunov - Propelling IoT Innovation with Predictive Analytics

In-Memory Databases• Are durable to disk (and respect ACID)

• Can spill on disk or pin data in-memory (and take advantage of it)

(c) Nikita Shamgunov and MemSQL

Page 24: IMC Summit 2016 Breakout - Nikita Shamgunov - Propelling IoT Innovation with Predictive Analytics

In-Memory Databases• Are durable to disk (and respect ACID)

• Can spill on disk or pin data in-memory (and take advantage of it)

• Tradeoffs are suited to systems with lots of memory

(c) Nikita Shamgunov and MemSQL

Page 25: IMC Summit 2016 Breakout - Nikita Shamgunov - Propelling IoT Innovation with Predictive Analytics

In-Memory Databases• Are durable to disk (and respect ACID)

• Can spill on disk or pin data in-memory (and take advantage of it)

• Tradeoffs are suited to systems with lots of memory

• Tend to be distributed systems

(c) Nikita Shamgunov and MemSQL

Page 26: IMC Summit 2016 Breakout - Nikita Shamgunov - Propelling IoT Innovation with Predictive Analytics

In-Memory Databases• Are durable to disk (and respect ACID)

• Can spill on disk or pin data in-memory (and take advantage of it)

• Tradeoffs are suited to systems with lots of memory

• Tend to be distributed systems

• Have a different set of boClenecks

(c) Nikita Shamgunov and MemSQL

Page 27: IMC Summit 2016 Breakout - Nikita Shamgunov - Propelling IoT Innovation with Predictive Analytics

Bold Claim(c) Nikita Shamgunov and MemSQL

Page 28: IMC Summit 2016 Breakout - Nikita Shamgunov - Propelling IoT Innovation with Predictive Analytics

All database workloads will be running on in-memory databases

(c) Nikita Shamgunov and MemSQL

Page 29: IMC Summit 2016 Breakout - Nikita Shamgunov - Propelling IoT Innovation with Predictive Analytics

Why?• Memory is ge,ng cheaper (about 40% every year)

(c) Nikita Shamgunov and MemSQL

Page 30: IMC Summit 2016 Breakout - Nikita Shamgunov - Propelling IoT Innovation with Predictive Analytics

Why?• Memory is ge,ng cheaper (about 40% every year)

• Cache is the new RAM (RAM is the new disk, disk is the new tape, etc)

(c) Nikita Shamgunov and MemSQL

Page 31: IMC Summit 2016 Breakout - Nikita Shamgunov - Propelling IoT Innovation with Predictive Analytics

Why?• Memory is ge,ng cheaper (about 40% every year)

• Cache is the new RAM (RAM is the new disk, disk is the new tape, etc)

• In-memory databases leverage SSD (no random writes)

(c) Nikita Shamgunov and MemSQL

Page 32: IMC Summit 2016 Breakout - Nikita Shamgunov - Propelling IoT Innovation with Predictive Analytics

Why?• Memory is ge,ng cheaper (about 40% every year)

• Cache is the new RAM (RAM is the new disk, disk is the new tape, etc)

• In-memory databases leverage SSD (no random writes)

• NVRAM is coming (and could be cheaper than SSD)

(c) Nikita Shamgunov and MemSQL

Page 33: IMC Summit 2016 Breakout - Nikita Shamgunov - Propelling IoT Innovation with Predictive Analytics

Why?• Memory is ge,ng cheaper (about 40% every year)

• Cache is the new RAM (RAM is the new disk, disk is the new tape, etc)

• In-memory databases leverage SSD (no random writes)

• NVRAM is coming (and could be cheaper than SSD)

In-memory databases are tuned to modern hardware and modern workloads

(c) Nikita Shamgunov and MemSQL

Page 34: IMC Summit 2016 Breakout - Nikita Shamgunov - Propelling IoT Innovation with Predictive Analytics

Renewable Energyin the News

(c) Nikita Shamgunov and MemSQL

Page 35: IMC Summit 2016 Breakout - Nikita Shamgunov - Propelling IoT Innovation with Predictive Analytics

(c) Nikita Shamgunov and MemSQL

Page 36: IMC Summit 2016 Breakout - Nikita Shamgunov - Propelling IoT Innovation with Predictive Analytics

(c) Nikita Shamgunov and MemSQL

Page 37: IMC Summit 2016 Breakout - Nikita Shamgunov - Propelling IoT Innovation with Predictive Analytics

(c) Nikita Shamgunov and MemSQL

Page 38: IMC Summit 2016 Breakout - Nikita Shamgunov - Propelling IoT Innovation with Predictive Analytics

IntroducingPowerStream(c) Nikita Shamgunov and MemSQL

Page 39: IMC Summit 2016 Breakout - Nikita Shamgunov - Propelling IoT Innovation with Predictive Analytics

MemSQL PowerStreamPredic'ng the global health of wind turbines

(c) Nikita Shamgunov and MemSQL

Page 40: IMC Summit 2016 Breakout - Nikita Shamgunov - Propelling IoT Innovation with Predictive Analytics

(c) Nikita Shamgunov and MemSQL

Page 41: IMC Summit 2016 Breakout - Nikita Shamgunov - Propelling IoT Innovation with Predictive Analytics

(c) Nikita Shamgunov and MemSQL

Page 42: IMC Summit 2016 Breakout - Nikita Shamgunov - Propelling IoT Innovation with Predictive Analytics

(c) Nikita Shamgunov and MemSQL

Page 43: IMC Summit 2016 Breakout - Nikita Shamgunov - Propelling IoT Innovation with Predictive Analytics

Streamliner Architecture for PowerStream

(c) Nikita Shamgunov and MemSQL

Page 44: IMC Summit 2016 Breakout - Nikita Shamgunov - Propelling IoT Innovation with Predictive Analytics

(c) Nikita Shamgunov and MemSQL

Page 45: IMC Summit 2016 Breakout - Nikita Shamgunov - Propelling IoT Innovation with Predictive Analytics

(c) Nikita Shamgunov and MemSQL

Page 46: IMC Summit 2016 Breakout - Nikita Shamgunov - Propelling IoT Innovation with Predictive Analytics

LiveDemo

(c) Nikita Shamgunov and MemSQL

Page 47: IMC Summit 2016 Breakout - Nikita Shamgunov - Propelling IoT Innovation with Predictive Analytics

Demo Sequence• Powerstream user interface

• Showcase largest windfarms

• Real-8me simula8ons

• Witness live opera8ons

• Ease of new pipeline setup

• Ka>a subscrip8on

(c) Nikita Shamgunov and MemSQL

Page 48: IMC Summit 2016 Breakout - Nikita Shamgunov - Propelling IoT Innovation with Predictive Analytics

Enabling predic.ve analy.cs• Use exis(ng models from SAS

• Create models in Spark MLlib

• Predic(ve scoring as part of the pipeline

(c) Nikita Shamgunov and MemSQL

Page 49: IMC Summit 2016 Breakout - Nikita Shamgunov - Propelling IoT Innovation with Predictive Analytics

From a Real-Time Dashboard to Predic5ve Applica5ons

(c) Nikita Shamgunov and MemSQL

Page 50: IMC Summit 2016 Breakout - Nikita Shamgunov - Propelling IoT Innovation with Predictive Analytics

(c) Nikita Shamgunov and MemSQL

Page 51: IMC Summit 2016 Breakout - Nikita Shamgunov - Propelling IoT Innovation with Predictive Analytics

(c) Nikita Shamgunov and MemSQL

Page 52: IMC Summit 2016 Breakout - Nikita Shamgunov - Propelling IoT Innovation with Predictive Analytics

(c) Nikita Shamgunov and MemSQL