devops culture and practices to create flow

27
@jezhumble #chefconf 17 april 2014 devops culture and practices to create flow

Upload: jez-humble

Post on 27-Aug-2014

1.030 views

Category:

Software


4 download

DESCRIPTION

 

TRANSCRIPT

Page 1: Devops Culture and Practices to Create Flow

@jezhumble #chefconf

17 april 2014

devops culture and practicesto create flow

Page 2: Devops Culture and Practices to Create Flow

the production line

http://www.flickr.com/photos/toyotauk/4711057997/

Page 3: Devops Culture and Practices to Create Flow

the production line?

Page 4: Devops Culture and Practices to Create Flow

lean product dev vs manufacturing

Charles Betz, Architecture and Patterns for IT

Page 5: Devops Culture and Practices to Create Flow

https://www.flickr.com/photos/chrishuffman/2336990347/

Page 6: Devops Culture and Practices to Create Flow

infrastructure as code

Page 7: Devops Culture and Practices to Create Flow
Page 8: Devops Culture and Practices to Create Flow

http://www.toyota-global.com/company/vision_philosophy/toyota_production_system/jidoka.html

“Since the loom stopped when a problem arose, no defective products were produced. This meant that a single operator could be put in charge of numerous looms, resulting in a tremendous improvement in productivity.”

toyoda automatic loom, type g

Page 9: Devops Culture and Practices to Create Flow

jidoka

自動化 + 人 = 自働化

automation + people = autonomation

Page 10: Devops Culture and Practices to Create Flow

jidoka

http://www.toyota-global.com/company/vision_philosophy/toyota_production_system/jidoka.html

Page 11: Devops Culture and Practices to Create Flow

Mainline Server

Develop

Build

Build

pull

Local Workstation

Buildpush

✔Done!

Page 12: Devops Culture and Practices to Create Flow

Mainline Server

Develop

Build

Build

pull

Local Workstation

Buildpush

✔Done!

Everyone Commits To

the Mainline Every Day

Page 13: Devops Culture and Practices to Create Flow

deployment pipeline

Delivery team Version control Build & unit tests

Automated acceptance tests

User acceptance tests

Release

Check in

Feedback

Trigger

Check in

Feedback

Trigger

Trigger

Check inTrigger

Trigger

ApprovalApproval

Feedback

Feedback

FeedbackFeedback

Page 14: Devops Culture and Practices to Create Flow

hp laserjet firmware team

~5% - innovation

15% - manual testing

25% - current product support

25% - porting code

20% - detailed planning

10% - code integration

2008

Page 15: Devops Culture and Practices to Create Flow

deployment pipeline

Page 16: Devops Culture and Practices to Create Flow

hp laserjet firmware team

~5% - innovation

15% - manual testing

25% - current product support

25% - porting code

20% - detailed planning

10% - code integration

2008

~40% - innovation

5% - most testing automated

10% - one branch cpe

15% - one main branch

5% - agile planning

2% - continuous integration

2011

The remaining 23% on RHS is spent on managing automated tests.

Page 17: Devops Culture and Practices to Create Flow

the economics

2008 to 2011

• overall development costs reduced by ~40%

• programs under development increased by ~140%

• development costs per program down 78%

• resources now driving innovation increased by 8X

A Practical Approach to Large-Scale Agile Development - Gruver, Young, Fulghum

Page 18: Devops Culture and Practices to Create Flow

s

Jon Jenkins, Velocity Culture http://assets.en.oreilly.com/1/event/60/Velocity%20Culture%20Presentation.pdf

Page 19: Devops Culture and Practices to Create Flow

do less

“Evaluating well-designed and executed experiments that were designed to improve a key metric, only about 1/3 were successful at improving the key metric!”

“Online Experimentation at Microsoft”, Kohavi et al http://stanford.io/130uW6X

Page 20: Devops Culture and Practices to Create Flow

improvement kata

Page 21: Devops Culture and Practices to Create Flow

What obstacles are preventing you from reaching it? which one are you addressing now?

What is the target condition? (The challenge)

What is the actual condition now?

When can we go and see what we learned from taking that step?

What is your next step? (Start of PDCA cycle)

improvement kata

Page 22: Devops Culture and Practices to Create Flow

improvement kata

Page 23: Devops Culture and Practices to Create Flow

delivery — change lead time

quality — time to restore service, % unplanned work

cost — transaction cost of making a change

morale — job satisfaction is highly correlated with business outcomes

safety — make changes and experiments safe to fail

lean metrics

Page 24: Devops Culture and Practices to Create Flow

@jezhumble

high trust culture

Westrum, “A Typology of Organizational Cultures”, Qual Saf Health Care 2004; 13 (Suppl II):ii22-ii27

Page 25: Devops Culture and Practices to Create Flow

measure and improve customer outcomes

use automation to detect problems quickly

work in small batches

use continuous improvement to get better

takeaways

Page 26: Devops Culture and Practices to Create Flow

jesse’s rule

“don’t fight stupid, make more awesome”

Jesse Robbins, Co-founder, Opscode @jesserobbins

Page 27: Devops Culture and Practices to Create Flow

questions@jezhumble | [email protected] http://continuousdelivery.com/

!ThoughtWorks is hiring! http://join.thoughtworks.com/ !Australia | Brazil | Canada | China Germany | India | Singapore | South Africa Uganda | UK | USA

© 2014 ThoughtWorks, Inc.

Pre-order my new book! http://amzn.to/1f7UkbV