Top Banner
Lean DevOps Lessons Learned from Innovation-driven Companies Xavier Amatriain (@xamat) DevOps Unleashed Seminar, Mountain View, 04/21/2015
37

Lean DevOps - Lessons Learned from Innovation-driven Companies

Jul 15, 2015

Download

Software

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: Lean DevOps - Lessons Learned from Innovation-driven Companies

Lean DevOpsLessons Learned from

Innovation-driven Companies

Xavier Amatriain (@xamat)

DevOps Unleashed Seminar, Mountain View, 04/21/2015

Page 2: Lean DevOps - Lessons Learned from Innovation-driven Companies

A bit about me...

2007-2011 2011-2014 2015

~275000 empl. ~2500 empl. ~110 empl.

$73B (market cap) $34B (market cap) $880M (valuation)

Page 3: Lean DevOps - Lessons Learned from Innovation-driven Companies

Outline

1. Being Lean

2. Experimentation, innovation

& breaking things

3. The CASSSH Model

4. Lessons Learned

5. Conclusions

Page 4: Lean DevOps - Lessons Learned from Innovation-driven Companies

Being Lean

Page 5: Lean DevOps - Lessons Learned from Innovation-driven Companies

The lean “company”

Optimize learning velocity

Page 6: Lean DevOps - Lessons Learned from Innovation-driven Companies

“If you want to increase your success

rate, double your failure rate”Thomas J. Watson, IBM CEO (1914-56)

Page 7: Lean DevOps - Lessons Learned from Innovation-driven Companies

The lean DevOps

From Bernie Coyne, DevOps Evangelist, IBM Cloud - Austin Devops Unleashed 2015

Page 8: Lean DevOps - Lessons Learned from Innovation-driven Companies

Experimentation, innovation

& breaking things

Page 9: Lean DevOps - Lessons Learned from Innovation-driven Companies

● Offline Experimentation

○ Data Analysis

○ Modeling

○ Prototyping

● Online Experimentation

○ A/B Testing

Consumer Data Science

Page 10: Lean DevOps - Lessons Learned from Innovation-driven Companies

Enabling Experimentation

define_experiment( experiment_name = 'homepage_image', description = 'Sample description', funnel = funnel.types.homepage_signup, traffic_type = traffic.types.browser, default_value = None, layer = layer.types.logged_out_homepage, layer_buckets = [ (range(0, 250), 'earth_image'), (range(250, 500), 'book_image'), (range(500, 750), 'person_image') ])

Page 11: Lean DevOps - Lessons Learned from Innovation-driven Companies

The probability of

breaking things

increases with

innovation velocity

Innovation vs. stability

Page 12: Lean DevOps - Lessons Learned from Innovation-driven Companies

The Innovation

Velocity curve can

shift with better

processes

Innovation vs. stability

Page 13: Lean DevOps - Lessons Learned from Innovation-driven Companies

CASSSH(Cost, Availability, Scalability, Speed,

Security, devops Happiness)

Page 14: Lean DevOps - Lessons Learned from Innovation-driven Companies

Short-term vs. long-term

In-house vs. outsourced

Machines vs. DevOps

Cost

Page 15: Lean DevOps - Lessons Learned from Innovation-driven Companies

How many nines?

What’s the cost of an extra 9?

The Christmas Eve Paradigm

Availability

Page 16: Lean DevOps - Lessons Learned from Innovation-driven Companies

Are you ready to be big?

What is the probability of that happening and its cost?

Scalability

Page 17: Lean DevOps - Lessons Learned from Innovation-driven Companies

How much does speed matter?

Speed

Page 18: Lean DevOps - Lessons Learned from Innovation-driven Companies

Better safe than sorry

Security

Page 19: Lean DevOps - Lessons Learned from Innovation-driven Companies

What does that depend on?

● Developing velocity

● Impact

● Inversely correlated with probability of

being paged in the middle of the night

DevOps Happiness

Page 20: Lean DevOps - Lessons Learned from Innovation-driven Companies

The CASSSH Dilemma

Page 21: Lean DevOps - Lessons Learned from Innovation-driven Companies

Lessons Learned: CASSSH in a

Lean Innovation Environment

Page 22: Lean DevOps - Lessons Learned from Innovation-driven Companies

Cost? What cost?

Lesson 1

Page 23: Lean DevOps - Lessons Learned from Innovation-driven Companies

Quality pays off

Lesson 2

Page 24: Lean DevOps - Lessons Learned from Innovation-driven Companies

Lesson 2

Average Velocity

Average Velocity

Quality pays off

Page 25: Lean DevOps - Lessons Learned from Innovation-driven Companies

Lesson 2

Quality pays off

Average Velocity

Average Velocity

Page 26: Lean DevOps - Lessons Learned from Innovation-driven Companies

Lesson 2

Quality pays off -

Technical Debt

Page 27: Lean DevOps - Lessons Learned from Innovation-driven Companies

Everything (including CASSSH

dimensions) can be tested

Lesson 3

Page 28: Lean DevOps - Lessons Learned from Innovation-driven Companies

When things break:

Alerts are not notifications

Lesson 4

Page 29: Lean DevOps - Lessons Learned from Innovation-driven Companies

When things break:

Different shades of alerts

Lesson 4

Page 30: Lean DevOps - Lessons Learned from Innovation-driven Companies

Metrics, Metrics, Metrics

Lesson 5

Page 31: Lean DevOps - Lessons Learned from Innovation-driven Companies

Teams optimizing competing dimensions

= recipe for disaster

Lesson 6

Speed!!!Cost!!!

Page 32: Lean DevOps - Lessons Learned from Innovation-driven Companies

Teams optimizing competing dimensions

= recipe for disaster

Lesson 6

Innovation!!!Cost!!!

Page 33: Lean DevOps - Lessons Learned from Innovation-driven Companies

Everything is Production

(a.k.a. Prod is the new Dev)

Lesson 7

Page 34: Lean DevOps - Lessons Learned from Innovation-driven Companies

But...

Sometimes it helps to isolate things

Lesson 7

Page 35: Lean DevOps - Lessons Learned from Innovation-driven Companies

Conclusions

Page 36: Lean DevOps - Lessons Learned from Innovation-driven Companies

Conclusions

● Both companies and devops teams benefit from

being lean

● Being lean adds instability and risk

● Devops need to measure and optimize across the different

dimensions of CASSSH

● Lean Devops can implement processes that optimize

CASSSH and encourage innovation

Page 37: Lean DevOps - Lessons Learned from Innovation-driven Companies