Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Sign up for free
Menu
Search
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Features
All features
Private URLs
Password Protection
Custom URLS
Scheduled publishing
Remove Branding
Restrict embedding
Deck Collections
Notes
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Explore
Featured decks
Featured speakers
Programming
Technology
Storyboards
Pricing
Search
Sign in
Sign up for free
Boston 2013 - Session - Aaron Quint
Search
Monitorama
March 28, 2013
470
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Boston 2013 - Session - Aaron Quint
Monitorama
March 28, 2013
More Decks by Monitorama
See All by Monitorama
Monitorama PDX 2017 - Ian Bennett
monitorama
1
640
PDX 2017 - Pedro Andrade
monitorama
0
840
PDX 2017 - Roy Rapoport
monitorama
4
1k
PDX 2017 - Julia Evans
monitorama
0
530
Berlin 2013 - Session - Brad Lhotsky
monitorama
5
770
Berlin 2013 - Session - Alex Petrov
monitorama
6
740
Berlin 2013 - Session - Jeff Weinstein
monitorama
2
680
Berlin 2013 - Session - Oliver Hankeln
monitorama
1
600
Berlin 2013 - Session - David Goodlad
monitorama
0
530
Featured
See All Featured
The Cost Of JavaScript in 2023
addyosmani
55
10k
Deep Space Network (abreviated)
tonyrice
0
310
Leading Effective Engineering Teams in the AI Era
addyosmani
9
2.6k
Game over? The fight for quality and originality in the time of robots
wayneb77
1
280
The Curse of the Amulet
leimatthew05
3
15k
Raft: Consensus for Rubyists
vanstee
142
7.7k
More Than Pixels: Becoming A User Experience Designer
marktimemedia
3
530
How STYLIGHT went responsive
nonsquared
100
6.3k
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
3
4.3k
Testing 201, or: Great Expectations
jmmastey
46
8.3k
Technical Leadership for Architectural Decision Making
baasie
3
570
Marketing to machines
jonoalderson
1
5.8k
Transcript
CORRELATION: THE NEXT FRONTIER monitorama 2013 / boston / @aq
Wednesday, May 29, 13
CTO of Wednesday, May 29, 13
Chief Taco Officer CTO of Wednesday, May 29, 13
Wednesday, May 29, 13
Wednesday, May 29, 13
A litte bit of @aq Wednesday, May 29, 13
A litte bit of @aq • Expert Eater Wednesday, May
29, 13
A litte bit of @aq • Expert Eater • Experienced
Ruby and JS Developer Wednesday, May 29, 13
A litte bit of @aq • Expert Eater • Experienced
Ruby and JS Developer • Growing Student of Operations Wednesday, May 29, 13
A litte bit of @aq • Expert Eater • Experienced
Ruby and JS Developer • Growing Student of Operations • Beginner Distributed Systems Maintainer Wednesday, May 29, 13
Give each other dap. WE did it Wednesday, May 29,
13
OPS DONE. WE have DATA Y’ALL Wednesday, May 29, 13
Wednesday, May 29, 13
Uhhh SO NO MORE TEARS, right? Wednesday, May 29, 13
Wednesday, May 29, 13
THE LEVELS OF MONITORING NIRVANA Wednesday, May 29, 13
Wednesday, May 29, 13
PURE DATA Wednesday, May 29, 13
PURE DATA BASIC INFERENCES AND CORRELATIONS Wednesday, May 29, 13
PURE DATA BASIC INFERENCES AND CORRELATIONS THE FUCKING MATRIX Wednesday,
May 29, 13
PURE DATA BASIC INFERENCES AND CORRELATIONS THE FUCKING MATRIX Wednesday,
May 29, 13
PURE DATA BASIC INFERENCES AND CORRELATIONS THE FUCKING MATRIX whoa
Wednesday, May 29, 13
Wednesday, May 29, 13
PURE DATA Wednesday, May 29, 13
PURE DATA BASIC INFERENCES AND CORRELATIONS Wednesday, May 29, 13
PURE DATA BASIC INFERENCES AND CORRELATIONS PREDICTIVE AND DIRECT RELATIONSHIPS
Wednesday, May 29, 13
Aligning the data. CORRELATION Wednesday, May 29, 13
Except when it does. CORRELATION DOES NOT IMPLY CAUSATION Wednesday,
May 29, 13
The marshmallow test Wednesday, May 29, 13
And let us get back to Shaving Yaks. correlation can
narrow our work Wednesday, May 29, 13
Step back, HE’S DOING MATH! MATHEMATICAL CORRELATION Wednesday, May 29,
13
Say that 5 times fast. PEARSON Product moment correlation coefficient
Wednesday, May 29, 13
0 1.5 3 4.5 6 0 225 450 675 900
CPU vs Response Time Wednesday, May 29, 13
0 1.5 3 4.5 6 0 225 450 675 900
CPU vs Response Time Wednesday, May 29, 13
Wednesday, May 29, 13
1 data = [ 2 [100, 0.7], 3 [125, 0.5],
4 [150, 1], 5 [300, 2.1], 6 [500, 3.4], 7 [900, 6] 8 ] 9 10 x, y = data.transpose 11 n = data.size 12 x_mean = x.reduce(:+) / n 13 y_mean = y.reduce(:+) / n 14 x_stddev = Math.sqrt(x.inject {|sum, i| sum + (i - x_mean)**2 } / (n - 1).to_f) 15 y_stddev = Math.sqrt(y.inject {|sum, i| sum + (i - y_mean)**2 } / (n - 1).to_f) 16 z_x = x.collect {|i| (i - x_mean) / x_stddev } 17 z_y = y.collect {|i| (i - y_mean) / y_stddev } 18 pearsons = z_x.zip(z_y).collect {|x| x[0] * x[1] }.reduce(:+) / n 19 # => 0.9265763490538744 Wednesday, May 29, 13
PEarson Wednesday, May 29, 13
PEarson • Close to absolute 1 = probably correlated samples
Wednesday, May 29, 13
PEarson • Close to absolute 1 = probably correlated samples
• Could be applied to moving averages? Wednesday, May 29, 13
PEarson • Close to absolute 1 = probably correlated samples
• Could be applied to moving averages? • Could we pull it into a graphite function? (Hackathon anyone?) Wednesday, May 29, 13
LIMITS OF Mathematical correlation Wednesday, May 29, 13
LIMITS OF Mathematical correlation • Requires known inputs and assumptions
Wednesday, May 29, 13
LIMITS OF Mathematical correlation • Requires known inputs and assumptions
• Suggestion of correlation, not proof Wednesday, May 29, 13
LIMITS OF Mathematical correlation • Requires known inputs and assumptions
• Suggestion of correlation, not proof • Needs a large amount of knowledge of the data set to make decisions Wednesday, May 29, 13
I can see it! TIME BASED VISUAL CORRELATION Wednesday, May
29, 13
A Graphite Story Wednesday, May 29, 13
LIMITS OF VISUAL CORRELATION Wednesday, May 29, 13
LIMITS OF VISUAL CORRELATION • Takes a good eye Wednesday,
May 29, 13
LIMITS OF VISUAL CORRELATION • Takes a good eye •
Hard to see the signal through the noise Wednesday, May 29, 13
LIMITS OF VISUAL CORRELATION • Takes a good eye •
Hard to see the signal through the noise • Doesn’t really account for domino events Wednesday, May 29, 13
LIMITS OF VISUAL CORRELATION • Takes a good eye •
Hard to see the signal through the noise • Doesn’t really account for domino events • Good for trends but not as much for events Wednesday, May 29, 13
There’s a disturbance in the force. EMOTIONAL CORRELATION Wednesday, May
29, 13
RASHoMONING Wednesday, May 29, 13
Each person uses their unique knowledge of the situation to
point out unique data points. RASHoMONING Wednesday, May 29, 13
LIMITS OF EMOTIONAL correlation Wednesday, May 29, 13
LIMITS OF EMOTIONAL correlation • Provides a trail not an
answer Wednesday, May 29, 13
LIMITS OF EMOTIONAL correlation • Provides a trail not an
answer • Depends on having a team of people Wednesday, May 29, 13
LIMITS OF EMOTIONAL correlation • Provides a trail not an
answer • Depends on having a team of people • Many ideas, needs a “judge” Wednesday, May 29, 13
LIMITS OF EMOTIONAL correlation • Provides a trail not an
answer • Depends on having a team of people • Many ideas, needs a “judge” • HUMANS (Hence Rashomoning) Wednesday, May 29, 13
I’m sold, show me how! Wednesday, May 29, 13
But I have some ideas. I don’t know exactly Wednesday,
May 29, 13
TRYING TO MAKE THE DATA MORE VISIBLE Wednesday, May 29,
13
A conflagration of data HOTPOT Wednesday, May 29, 13
Wednesday, May 29, 13
Hotpot = Chef, Sensu, Graphite, (Logstash) Simply align disparate sources
of data TO VISUALLY CORRELATE Wednesday, May 29, 13
create relationships for alerts and notifications Wednesday, May 29, 13
Wednesday, May 29, 13
Math to filter out noise. USe PEARSONS to pull out
potentially related data Wednesday, May 29, 13
Have the ability to easily divide datasets by “cohorts” cohort
analysis for processes/nodes Wednesday, May 29, 13
“Node notes”. Document everything. Treat personal and institutional knowledge as
data Wednesday, May 29, 13
By making more data available to everyone. Make emotional correlation
less EMO Wednesday, May 29, 13
So if that’s just level 2, what’s level 3? Wednesday,
May 29, 13
Wednesday, May 29, 13
TAKE the correlations and let the machine turn them into
decisions Wednesday, May 29, 13
Lets figure out level 2 first. NOT YET. Wednesday, May
29, 13
github.com/quirkey github.com/paperlesspost twitter.com/aq twitter.com/paperlessdev quirkey.com paperlesspost.com THANKS! Wednesday, May 29,
13