with data science monitoring modern architectures · architectures and so-too have the technologies...

62
Monitoring Modern Architectures with Data Science QCon 2017 Dave Casper, CTO

Upload: others

Post on 20-May-2020

5 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: with Data Science Monitoring Modern Architectures · architectures and so-too have the technologies and industry practices around monitoring. Cloud-Native, DevOps, blue/green deployments,

Monitoring Modern Architectureswith Data Science

QCon 2017Dave Casper, CTO

Page 2: with Data Science Monitoring Modern Architectures · architectures and so-too have the technologies and industry practices around monitoring. Cloud-Native, DevOps, blue/green deployments,

NOT FOR GENERAL DISTRIBUTION ONLY INTENDED FOR REGISTERED ATTENDEES OF QCON SF 2017

Much has changed since simple distributed client/server architectures and so-too have the technologies and industry practices around monitoring.

Cloud-Native, DevOps, blue/green deployments, server-less, edge/fog, IoT all fit into a world much better handled by the emerging Artificial Intelligence for IT Operations domain more-so than traditional ITIL/SDLC approaches.

Abstract

Page 3: with Data Science Monitoring Modern Architectures · architectures and so-too have the technologies and industry practices around monitoring. Cloud-Native, DevOps, blue/green deployments,

NOT FOR GENERAL DISTRIBUTION ONLY INTENDED FOR REGISTERED ATTENDEES OF QCON SF 2017

Software continues to eat the world. Software automates, defines.

The world is "going digital" and it's quite exciting -- but this always-connected from-everything-to-everywhere world adds complexity to software systems and this talk will dive in to some of that complexity and how modern data science and algorithms are being applied to "fight machines with machines," so to speak.

Abstract

Page 4: with Data Science Monitoring Modern Architectures · architectures and so-too have the technologies and industry practices around monitoring. Cloud-Native, DevOps, blue/green deployments,

NOT FOR GENERAL DISTRIBUTION ONLY INTENDED FOR REGISTERED ATTENDEES OF QCON SF 2017

-25822282

6239921181343963318

Page 5: with Data Science Monitoring Modern Architectures · architectures and so-too have the technologies and industry practices around monitoring. Cloud-Native, DevOps, blue/green deployments,

NOT FOR GENERAL DISTRIBUTION ONLY INTENDED FOR REGISTERED ATTENDEES OF QCON SF 2017

Page 6: with Data Science Monitoring Modern Architectures · architectures and so-too have the technologies and industry practices around monitoring. Cloud-Native, DevOps, blue/green deployments,

NOT FOR GENERAL DISTRIBUTION ONLY INTENDED FOR REGISTERED ATTENDEES OF QCON SF 2017

moogsoft

Page 7: with Data Science Monitoring Modern Architectures · architectures and so-too have the technologies and industry practices around monitoring. Cloud-Native, DevOps, blue/green deployments,

NOT FOR GENERAL DISTRIBUTION ONLY INTENDED FOR REGISTERED ATTENDEES OF QCON SF 2017

Page 8: with Data Science Monitoring Modern Architectures · architectures and so-too have the technologies and industry practices around monitoring. Cloud-Native, DevOps, blue/green deployments,

NOT FOR GENERAL DISTRIBUTION ONLY INTENDED FOR REGISTERED ATTENDEES OF QCON SF 2017

discoverymonitoring

(observing)

analytics

Page 9: with Data Science Monitoring Modern Architectures · architectures and so-too have the technologies and industry practices around monitoring. Cloud-Native, DevOps, blue/green deployments,

NOT FOR GENERAL DISTRIBUTION ONLY INTENDED FOR REGISTERED ATTENDEES OF QCON SF 2017

fluidinfrastructure

containers dc/os server-less software defined/dynamic

Page 10: with Data Science Monitoring Modern Architectures · architectures and so-too have the technologies and industry practices around monitoring. Cloud-Native, DevOps, blue/green deployments,

NOT FOR GENERAL DISTRIBUTION ONLY INTENDED FOR REGISTERED ATTENDEES OF QCON SF 2017

anythinganywhereanytime

data

/tx

from

mobile IoT bots/RUM

Page 11: with Data Science Monitoring Modern Architectures · architectures and so-too have the technologies and industry practices around monitoring. Cloud-Native, DevOps, blue/green deployments,

NOT FOR GENERAL DISTRIBUTION ONLY INTENDED FOR REGISTERED ATTENDEES OF QCON SF 2017

Page 12: with Data Science Monitoring Modern Architectures · architectures and so-too have the technologies and industry practices around monitoring. Cloud-Native, DevOps, blue/green deployments,

NOT FOR GENERAL DISTRIBUTION ONLY INTENDED FOR REGISTERED ATTENDEES OF QCON SF 2017

"if/else" rules

algorithmsML

millions millions

noise filt.clustering prc

dejavu

Page 13: with Data Science Monitoring Modern Architectures · architectures and so-too have the technologies and industry practices around monitoring. Cloud-Native, DevOps, blue/green deployments,

NOT FOR GENERAL DISTRIBUTION ONLY INTENDED FOR REGISTERED ATTENDEES OF QCON SF 2017

AIOpsAI for IT Ops

Page 14: with Data Science Monitoring Modern Architectures · architectures and so-too have the technologies and industry practices around monitoring. Cloud-Native, DevOps, blue/green deployments,

NOT FOR GENERAL DISTRIBUTION ONLY INTENDED FOR REGISTERED ATTENDEES OF QCON SF 2017

customer/business

perspective

Page 15: with Data Science Monitoring Modern Architectures · architectures and so-too have the technologies and industry practices around monitoring. Cloud-Native, DevOps, blue/green deployments,

COURAGE INSIGHT

CONTEXT VELOCITY

ARE YOU READY TO GO DIGITAL ?

This slide courtesy Andy Brown, Sandhill East https://www.linkedin.com/in/andybrown63/

Page 16: with Data Science Monitoring Modern Architectures · architectures and so-too have the technologies and industry practices around monitoring. Cloud-Native, DevOps, blue/green deployments,

“Silicon Valley is coming.There are hundreds of startups with a lot of brains and money working on various alternatives to traditional banking. They are very good at reducing the ‘pain points’ …”

JAMIE DIMONJPMorgan Chase & Co.Chairman & Chief Executive OfficerApril 2015

This slide courtesy Andy Brown, Sandhill East https://www.linkedin.com/in/andybrown63/

Page 17: with Data Science Monitoring Modern Architectures · architectures and so-too have the technologies and industry practices around monitoring. Cloud-Native, DevOps, blue/green deployments,

NOT FOR GENERAL DISTRIBUTION ONLY INTENDED FOR REGISTERED ATTENDEES OF QCON SF 2017

go digitalor die trying

Page 18: with Data Science Monitoring Modern Architectures · architectures and so-too have the technologies and industry practices around monitoring. Cloud-Native, DevOps, blue/green deployments,

NOT FOR GENERAL DISTRIBUTION ONLY INTENDED FOR REGISTERED ATTENDEES OF QCON SF 2017

gs wants to become "google

of wall st."

Page 19: with Data Science Monitoring Modern Architectures · architectures and so-too have the technologies and industry practices around monitoring. Cloud-Native, DevOps, blue/green deployments,

NOT FOR GENERAL DISTRIBUTION ONLY INTENDED FOR REGISTERED ATTENDEES OF QCON SF 2017

stanfordPhD CIO CFO

marquee

data analytics dataapi

api

monitorobserveanalyze

Page 20: with Data Science Monitoring Modern Architectures · architectures and so-too have the technologies and industry practices around monitoring. Cloud-Native, DevOps, blue/green deployments,

THE REALLY BIG PICTURE

2020 2021 2022 2023 2024

In 5 – 10 years, every company will be a Digital Software Business

Security, service assurance and consumer centricity become THE BOARD LEVEL PRIORITY

Enterprises going DIGITAL ADOPT HYBRID IT

This slide courtesy Andy Brown, Sandhill East https://www.linkedin.com/in/andybrown63/

Page 21: with Data Science Monitoring Modern Architectures · architectures and so-too have the technologies and industry practices around monitoring. Cloud-Native, DevOps, blue/green deployments,

40% Change 60% RunInfrastructure Led

Owns Facilities, Data Centers, Hardware, Networks et al

Has Refresh Cycles caused by Capital Depreciation

Still using Waterfall for App Dev

Thinking led by Inf Technologists

(hardware, DB, OS et al)\Traditional Procurement

Less Agile, Change resistant

60% Change 40% RunAppDev starting to lead

Owns less Facilities, Data Centers, Hardware,

Networks, et al Still Has Refresh Cycles

caused by CapitalDepreciation

Combination Waterfall & Agilefor App Dev

Thinking led by CIO “Move to Cloud” Traditional

Procurement weakeningMore Agile, Less Change

resistant

80% Change 20% RunAppDev leads decisioning

Doesn’t own hardware Refresh doesn’t existAll Agile for App Dev

Thinking led by CIO “Move to Cloud”

Cloud Centric “Marketplace” Procurement

Embraces Change, Very Agile

traditional hybrid digital

This slide courtesy Andy Brown, Sandhill East https://www.linkedin.com/in/andybrown63/

Page 22: with Data Science Monitoring Modern Architectures · architectures and so-too have the technologies and industry practices around monitoring. Cloud-Native, DevOps, blue/green deployments,

NOT FOR GENERAL DISTRIBUTION ONLY INTENDED FOR REGISTERED ATTENDEES OF QCON SF 2017

2045?

Page 23: with Data Science Monitoring Modern Architectures · architectures and so-too have the technologies and industry practices around monitoring. Cloud-Native, DevOps, blue/green deployments,

NOT FOR GENERAL DISTRIBUTION ONLY INTENDED FOR REGISTERED ATTENDEES OF QCON SF 2017

SNMP / trapsor

Daylight Savings

Page 24: with Data Science Monitoring Modern Architectures · architectures and so-too have the technologies and industry practices around monitoring. Cloud-Native, DevOps, blue/green deployments,

NOT FOR GENERAL DISTRIBUTION ONLY INTENDED FOR REGISTERED ATTENDEES OF QCON SF 2017

AMRS

EMEA

APACEPSevery ip interface globally

AIOps

EdgeOps

EdgeOps

EdgeOps

Page 25: with Data Science Monitoring Modern Architectures · architectures and so-too have the technologies and industry practices around monitoring. Cloud-Native, DevOps, blue/green deployments,

NOT FOR GENERAL DISTRIBUTION ONLY INTENDED FOR REGISTERED ATTENDEES OF QCON SF 2017

algorithms we use

Page 26: with Data Science Monitoring Modern Architectures · architectures and so-too have the technologies and industry practices around monitoring. Cloud-Native, DevOps, blue/green deployments,

NOT FOR GENERAL DISTRIBUTION ONLY INTENDED FOR REGISTERED ATTENDEES OF QCON SF 2017

This slide courtesy our Chief Scientist Dr. Rob Harper -- Do check out his great 3-part blog on Machine Learning in Moogsoft AIOps: https://www.moogsoft.com/author/robharper/

Page 27: with Data Science Monitoring Modern Architectures · architectures and so-too have the technologies and industry practices around monitoring. Cloud-Native, DevOps, blue/green deployments,

NOT FOR GENERAL DISTRIBUTION ONLY INTENDED FOR REGISTERED ATTENDEES OF QCON SF 2017

By Hui Li on Subconscious Musings April 12, 2017

Page 28: with Data Science Monitoring Modern Architectures · architectures and so-too have the technologies and industry practices around monitoring. Cloud-Native, DevOps, blue/green deployments,

NOT FOR GENERAL DISTRIBUTION ONLY INTENDED FOR REGISTERED ATTENDEES OF QCON SF 2017

This slide courtesy our Chief Scientist Dr. Rob Harper -- Do check out his great 3-part blog on Machine Learning in Moogsoft AIOps: https://www.moogsoft.com/author/robharper/

Page 29: with Data Science Monitoring Modern Architectures · architectures and so-too have the technologies and industry practices around monitoring. Cloud-Native, DevOps, blue/green deployments,

NOT FOR GENERAL DISTRIBUTION ONLY INTENDED FOR REGISTERED ATTENDEES OF QCON SF 2017

This slide courtesy our Chief Scientist Dr. Rob Harper -- Do check out his great 3-part blog on Machine Learning in Moogsoft AIOps: https://www.moogsoft.com/author/robharper/

Page 30: with Data Science Monitoring Modern Architectures · architectures and so-too have the technologies and industry practices around monitoring. Cloud-Native, DevOps, blue/green deployments,

NOT FOR GENERAL DISTRIBUTION ONLY INTENDED FOR REGISTERED ATTENDEES OF QCON SF 2017

regression classification clustering

This slide courtesy our Chief Scientist Dr. Rob Harper -- Do check out his great 3-part blog on Machine Learning in Moogsoft AIOps: https://www.moogsoft.com/author/robharper/

Page 31: with Data Science Monitoring Modern Architectures · architectures and so-too have the technologies and industry practices around monitoring. Cloud-Native, DevOps, blue/green deployments,

NOT FOR GENERAL DISTRIBUTION ONLY INTENDED FOR REGISTERED ATTENDEES OF QCON SF 2017

classification supervised

“learn by example” approach. Supervised learning systems need to be given examples of what is “good” and what is “bad”

This slide courtesy our Chief Scientist Dr. Rob Harper -- Do check out his great 3-part blog on Machine Learning in Moogsoft AIOps: https://www.moogsoft.com/author/robharper/

Page 32: with Data Science Monitoring Modern Architectures · architectures and so-too have the technologies and industry practices around monitoring. Cloud-Native, DevOps, blue/green deployments,

NOT FOR GENERAL DISTRIBUTION ONLY INTENDED FOR REGISTERED ATTENDEES OF QCON SF 2017

classification

Page 33: with Data Science Monitoring Modern Architectures · architectures and so-too have the technologies and industry practices around monitoring. Cloud-Native, DevOps, blue/green deployments,

NOT FOR GENERAL DISTRIBUTION ONLY INTENDED FOR REGISTERED ATTENDEES OF QCON SF 2017

clustering unsupervised

Patterns that you didn’t know existed prior. Recommender systems rely heavily on these techniques.

Page 34: with Data Science Monitoring Modern Architectures · architectures and so-too have the technologies and industry practices around monitoring. Cloud-Native, DevOps, blue/green deployments,

NOT FOR GENERAL DISTRIBUTION ONLY INTENDED FOR REGISTERED ATTENDEES OF QCON SF 2017

supervised machine learning "hot dog?" "not hot dog?"

Page 35: with Data Science Monitoring Modern Architectures · architectures and so-too have the technologies and industry practices around monitoring. Cloud-Native, DevOps, blue/green deployments,

NOT FOR GENERAL DISTRIBUTION ONLY INTENDED FOR REGISTERED ATTENDEES OF QCON SF 2017

Page 36: with Data Science Monitoring Modern Architectures · architectures and so-too have the technologies and industry practices around monitoring. Cloud-Native, DevOps, blue/green deployments,

NOT FOR GENERAL DISTRIBUTION ONLY INTENDED FOR REGISTERED ATTENDEES OF QCON SF 2017

algorithms we use

Page 37: with Data Science Monitoring Modern Architectures · architectures and so-too have the technologies and industry practices around monitoring. Cloud-Native, DevOps, blue/green deployments,

NOT FOR GENERAL DISTRIBUTION ONLY INTENDED FOR REGISTERED ATTENDEES OF QCON SF 2017

lua code: https://pastebin.com/ZZmSNaHX

Seth

Blin

g m

ar i/

oneural nets

https://www.youtube.com/watch?v=qv6UVOQ0F44

Page 38: with Data Science Monitoring Modern Architectures · architectures and so-too have the technologies and industry practices around monitoring. Cloud-Native, DevOps, blue/green deployments,

NOT FOR GENERAL DISTRIBUTION ONLY INTENDED FOR REGISTERED ATTENDEES OF QCON SF 2017

k-means clustering

Page 39: with Data Science Monitoring Modern Architectures · architectures and so-too have the technologies and industry practices around monitoring. Cloud-Native, DevOps, blue/green deployments,

NOT FOR GENERAL DISTRIBUTION ONLY INTENDED FOR REGISTERED ATTENDEES OF QCON SF 2017

matrix factorization

Page 40: with Data Science Monitoring Modern Architectures · architectures and so-too have the technologies and industry practices around monitoring. Cloud-Native, DevOps, blue/green deployments,

NOT FOR GENERAL DISTRIBUTION ONLY INTENDED FOR REGISTERED ATTENDEES OF QCON SF 2017

shannon entropy

Page 41: with Data Science Monitoring Modern Architectures · architectures and so-too have the technologies and industry practices around monitoring. Cloud-Native, DevOps, blue/green deployments,

NOT FOR GENERAL DISTRIBUTION ONLY INTENDED FOR REGISTERED ATTENDEES OF QCON SF 2017

typical entropy distribution

Page 42: with Data Science Monitoring Modern Architectures · architectures and so-too have the technologies and industry practices around monitoring. Cloud-Native, DevOps, blue/green deployments,

NOT FOR GENERAL DISTRIBUTION ONLY INTENDED FOR REGISTERED ATTENDEES OF QCON SF 2017

algorithmicworkflow

Page 43: with Data Science Monitoring Modern Architectures · architectures and so-too have the technologies and industry practices around monitoring. Cloud-Native, DevOps, blue/green deployments,

NOT FOR GENERAL DISTRIBUTION ONLY INTENDED FOR REGISTERED ATTENDEES OF QCON SF 2017

millions events

de-duplication

cluster analysisalgorithms situation room

teams-centric

thousands of alerts

algorithmicnoise filtering

[shannon entropy]

tens of alert clusters(situations)

"today's warnings are tomorrows outages"

"all about the MTTR"

algorithmicprobable root cause

AIOpsAlgorithmic IT Operations

knowledge captureauto-recurrance detect

entr

opy_

thre

shol

d

non-noisy alerts

what you're likely doing today

L1 "Catch & Dispatch"(automated)

ignore

situation next steps

Page 44: with Data Science Monitoring Modern Architectures · architectures and so-too have the technologies and industry practices around monitoring. Cloud-Native, DevOps, blue/green deployments,

NOT FOR GENERAL DISTRIBUTION ONLY INTENDED FOR REGISTERED ATTENDEES OF QCON SF 2017

...speaking of classification

Page 45: with Data Science Monitoring Modern Architectures · architectures and so-too have the technologies and industry practices around monitoring. Cloud-Native, DevOps, blue/green deployments,

NOT FOR GENERAL DISTRIBUTION ONLY INTENDED FOR REGISTERED ATTENDEES OF QCON SF 2017

fault vs audit

fix → optimize

Page 46: with Data Science Monitoring Modern Architectures · architectures and so-too have the technologies and industry practices around monitoring. Cloud-Native, DevOps, blue/green deployments,

NOT FOR GENERAL DISTRIBUTION ONLY INTENDED FOR REGISTERED ATTENDEES OF QCON SF 2017

monitoring fail-around

analytics analytics

fail-around fail-around

mon

itor

Page 47: with Data Science Monitoring Modern Architectures · architectures and so-too have the technologies and industry practices around monitoring. Cloud-Native, DevOps, blue/green deployments,

NOT FOR GENERAL DISTRIBUTION ONLY INTENDED FOR REGISTERED ATTENDEES OF QCON SF 2017

weld the datacenter doors shut

Page 48: with Data Science Monitoring Modern Architectures · architectures and so-too have the technologies and industry practices around monitoring. Cloud-Native, DevOps, blue/green deployments,

NOT FOR GENERAL DISTRIBUTION ONLY INTENDED FOR REGISTERED ATTENDEES OF QCON SF 2017

<lofty_tangent>non-

tech

nica

l

Page 49: with Data Science Monitoring Modern Architectures · architectures and so-too have the technologies and industry practices around monitoring. Cloud-Native, DevOps, blue/green deployments,

THE INDUSTRIAL REVOLUTION1.0

Page 50: with Data Science Monitoring Modern Architectures · architectures and so-too have the technologies and industry practices around monitoring. Cloud-Native, DevOps, blue/green deployments,
Page 51: with Data Science Monitoring Modern Architectures · architectures and so-too have the technologies and industry practices around monitoring. Cloud-Native, DevOps, blue/green deployments,
Page 53: with Data Science Monitoring Modern Architectures · architectures and so-too have the technologies and industry practices around monitoring. Cloud-Native, DevOps, blue/green deployments,

WE FACEEXISTENTIAL THREATSTO OUR PROGRESS

Page 54: with Data Science Monitoring Modern Architectures · architectures and so-too have the technologies and industry practices around monitoring. Cloud-Native, DevOps, blue/green deployments,
Page 55: with Data Science Monitoring Modern Architectures · architectures and so-too have the technologies and industry practices around monitoring. Cloud-Native, DevOps, blue/green deployments,

THEINDUSTRIAL REVOLUTION 2.0 CAN HELP SAVE US

Page 56: with Data Science Monitoring Modern Architectures · architectures and so-too have the technologies and industry practices around monitoring. Cloud-Native, DevOps, blue/green deployments,

v1.0 v2.0

Page 57: with Data Science Monitoring Modern Architectures · architectures and so-too have the technologies and industry practices around monitoring. Cloud-Native, DevOps, blue/green deployments,

COMPLEXITY IS THE PRINCIPAL THREATTO THE REVOLUTION

Page 58: with Data Science Monitoring Modern Architectures · architectures and so-too have the technologies and industry practices around monitoring. Cloud-Native, DevOps, blue/green deployments,

NOT FOR GENERAL DISTRIBUTION ONLY INTENDED FOR REGISTERED ATTENDEES OF QCON SF 2017

</lofty_tangent>non-

tech

nica

l

Page 59: with Data Science Monitoring Modern Architectures · architectures and so-too have the technologies and industry practices around monitoring. Cloud-Native, DevOps, blue/green deployments,

NOT FOR GENERAL DISTRIBUTION ONLY INTENDED FOR REGISTERED ATTENDEES OF QCON SF 2017

Page 60: with Data Science Monitoring Modern Architectures · architectures and so-too have the technologies and industry practices around monitoring. Cloud-Native, DevOps, blue/green deployments,

NOT FOR GENERAL DISTRIBUTION ONLY INTENDED FOR REGISTERED ATTENDEES OF QCON SF 2017

Page 61: with Data Science Monitoring Modern Architectures · architectures and so-too have the technologies and industry practices around monitoring. Cloud-Native, DevOps, blue/green deployments,

NOT FOR GENERAL DISTRIBUTION ONLY INTENDED FOR REGISTERED ATTENDEES OF QCON SF 2017

theo

ry

appl

ied

sharing | giving back

Page 62: with Data Science Monitoring Modern Architectures · architectures and so-too have the technologies and industry practices around monitoring. Cloud-Native, DevOps, blue/green deployments,