Achieving High Performance DevOps · Confidential –Oracle Internal/Restricted/Highly Restricted...
Transcript of Achieving High Performance DevOps · Confidential –Oracle Internal/Restricted/Highly Restricted...
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Achieving High Performance DevOpsA Roadmap for Managers and Decision Makers
Vlado BarunReal-World PerformanceServer Technologies
Confidential – Oracle Internal/Restricted/Highly Restricted
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Safe Harbor Statement
The following is not intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. The development, release, and timing of any features or functionality described for Oracle’s products remains at the sole discretion of Oracle.
Confidential – Oracle Internal/Restricted/Highly Restricted 3
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
What this presentation is NOT about
• Something you can buy
– The latest/coolest tools
– Services (i.e. consulting)
• Case Studies*
Thus, feel free to leave if you expected any of the above …
* ie. DevOps Enterprise Summit videos - events.itrevolution.com/us/
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
What this presentation IS about
• Understanding the root cause of the problem
• First order principles common to various approaches to solve the problem
• Common pitfalls
• Roadmap for achieving high-performance DevOps
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Introductions
• 21 years in IT
• Various roles
– Database Engineer
– DBA
– Database Architect
–Manager of Database Dev & Ops
– Performance Engineer
–Organizational Change Engineer
Vlado Barun, M.Sc., OCE, OCA, MCP
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Why are you here?
Confidential – Oracle Internal/Restricted/Highly Restricted 7
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
The Challenges we face
• Long Time-to-Market
– Time from Business approval to successful production deployment
• Agile methods (i.e. Scrum) re-introduce feedback loops
Business Development QA Operations
Time-to-Market
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
The Challenges we face
• It takes too many resources
– Dev and Ops are already stretched thin
– Not enough (powerful) hardware
• Error prone– 70% of outages due to human errors*
– If we fix the error and redeploy, we introduce more delays and contention for resources
– If we fix it in-place, risk increases
* “Database Administration: The Complete Guide to Practices and Procedures” by Craig Mullins
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Is Automation the solution?
• Pros
– Reduces human errors
– Reduces time and resources needed for deployments• Sure, but by how much?
Event Duration
------------------------ -------------------------
Waiting for Information hours/days 95.77%
Preparation minutes/hours 4.16%
Execution seconds/minutes 0.07%
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Is Automation the solution?
• Cons
– automation of a broken process can itself take a long time and be resource intensive
–Maintaining automation of a broken process can be cost prohibitive
• First fix the process, then automate it
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Root cause analysis
• Why does it take so long?
• Why does it take so many resources?
• Why is it so error prone?
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Time-to-Market vs Stability
• Frequent deployments result in
– Faster time-to-market => increased business value
– Higher probability of new production bugs => decreased stability
• Common response to stability issue
– Enforce bureaucratic process => reduced frequency of deployments => slower time-to-market
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
How?
Confidential – Oracle Internal/Restricted/Highly Restricted 15
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
The Mission
Transition
from
Time-to-Market vs Stability Mindset
to
Time-to-Market & Stability Mindset
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
DevOps executes the Mission
Time-to-Market
vs
Stability
Mindset
&
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Time-to-Market & Stability Mindset
“Most successful DevOps teams have a strong rapport between groups and believe that everyone is part of the solution, not the problem.“
- Kellyn Pot’Vin-Gorman
Confidential – Oracle Internal/Restricted/Highly Restricted 19
*Source: DBA and DevOps - The Last Frontier
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Time-to-Market & Stability Mindset
“More investors don't copy our model because our model is too simple“* – Charlie Munger
“When basic beats flashy”* - Morgan Housel
Confidential – Oracle Internal/Restricted/Highly Restricted 20
*Source: Take a Simple Idea and Take It Seriously
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
What is DevOps?
Confidential – Oracle Internal/Restricted/Highly Restricted 21
• A set of practices
– Leadership and Organizational Culture
–Management• Based on Lean and Agile principles
– Technology• Based on Continuous Delivery
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Where do we start?
Confidential – Oracle Internal/Restricted/Highly Restricted 22
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Metrics
Confidential – Oracle Internal/Restricted/Highly Restricted 23
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Benefits of metrics
• Provides a specific definition
– Reduces confusion, allows us to talk about the “same thing”
• Allows us to set goals
• Progress can me measured
• Helps with building a case with the “Business” side
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
4 Key Metrics to start with
• Time-to-Market
– Change lead time• from code committed to code deployed AND successfully executing in production
– Deployment frequency
• Stability– Change Failure Rate• % of changes that result in service degradation or requires corrective action
–Mean-Time-To-Recover (MTBR)• Time to restore service after an incident occurs
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
State of DevOps - Performance by Cluster 1
Confidential – Oracle Internal/Restricted/Highly Restricted 26
1Source: 2017 State of DevOps Report - bit.ly/2017-devops-report
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Confidential – Oracle Internal/Restricted/Highly Restricted 27
1Source: 2017 State of DevOps Report - bit.ly/2017-devops-report
State of DevOps – Time to Market1
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Confidential – Oracle Internal/Restricted/Highly Restricted 28
1Source: 2017 State of DevOps Report - bit.ly/2017-devops-report
State of DevOps – Stability 1
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Confidential – Oracle Internal/Restricted/Highly Restricted 29
1Source: 2017 State of DevOps Report - bit.ly/2017-devops-report
State of DevOps1
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
What do we do now?
Confidential – Oracle Internal/Restricted/Highly Restricted 30
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Leadership
Confidential – Oracle Internal/Restricted/Highly Restricted 31
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Leadership
• By 2020, 50% of the CIO’s that have not transformed their capabilities will be displaced from the digital leadership team2
• Transformational Leadership3
– Vision
– Inspirational communication
– Intellectual stimulation
– Personal recognition
– Supportive leadership
Confidential – Oracle Internal/Restricted/Highly Restricted 32
2Source: Gartner Predicts3Source: Rafferty & Griffin: Dimensions of transformational leadership: Conceptual and empirical extensions
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Culture
Confidential – Oracle Internal/Restricted/Highly Restricted 33
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Culture
Confidential – Oracle Internal/Restricted/Highly Restricted 34
4Source: Westrum, R. A typology of organisational cultures
How organisations process information4
Pathological(Power oriented)
Bureaucratic(Rule oriented)
Generative(Performance oriented)
Low cooperation Modest cooperation High cooperation
Messengers shot Messengers neglected Messengers trained
Responsibilities shirked Narrow responsibilities Risks are shared
Bridging discouraged Bridging tolerated Bridging encouraged
Failure→scapegoating Failure→ justice Failure→ inquiry
Novelty crushed Novelty→ problems Novelty implemented
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
How do you change your Organizational Culture?
Confidential – Oracle Internal/Restricted/Highly Restricted 35
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Lean Management Practices
Confidential – Oracle Internal/Restricted/Highly Restricted 36
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Lean Management Practices• Product Management
– Experimentation• Small Batch size
– i.e. Earliest Testable Product
• Frequent Customer Feedback
– i.e. A/B testing
– Entrust your team
– “…failure and innovation are inseparable twins” – Jeff Bezos
• Team Structure
1. Highly Collaborative Teams
2. Dedicated DevOps
3. Interdisciplinary teams
Confidential – Oracle Internal/Restricted/Highly Restricted 37
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Incentives
• “Perhaps the most important rule in management is to get the incentives right.” – Charlie Munger
• Law of unintended consequences
Confidential – Oracle Internal/Restricted/Highly Restricted 38
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Continuous Delivery
Confidential – Oracle Internal/Restricted/Highly Restricted 39
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Continuous Delivery
• Version Control
• Continuous Integration and trunk-based development
• Left Shift on Security
• Test Automation
• Deployment Automation
Confidential – Oracle Internal/Restricted/Highly Restricted 40
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Conway’s Law5
"Any organization that designs a system … will inevitably produce a design whose structure is a copy of the organization's communication structure.“
- Melvin Conway
Confidential – Oracle Internal/Restricted/Highly Restricted 41
5Source: How Do Committees Invent?
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Roadmap for Achieving High Performance DevOps
Confidential – Oracle Internal/Restricted/Highly Restricted 42
Leadership Culture
Metrics
Continuous Delivery
Lean Management
Practices
IT PerformanceOrganization Performance
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
What can I do today?• Time-to-Market & Stability Mindset
• Metrics
– Find where most of the time is spend then address the top consumers• i.e. change approval -> streamline approval process
• i.e. deployment scrip creation/execution –> automation
– Find the root cause for failures then fix them• i.e. wrong version/config -> version control/configuration management
• i.e. bug count -> Test automation + Formal Inspections
• Transformational Leadership Dimensions
• Generative Culture
• Lean Management Practices– Experimentation
Confidential – Oracle Internal/Restricted/Highly Restricted 43
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Resources
• Lean Enterprise
• Leading the Transformation
• The Phoenix Project
• The DevOps Handbook
• Continuous Delivery
• 2017 State of DevOps Report
• How to Build a High-Performing IT Team
Confidential – Oracle Internal/Restricted/Highly Restricted 44
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Resources
Confidential – Oracle Internal/Restricted/Highly Restricted 45
• DBA and DevOps - The Last Frontier
• Jez Humble on Continuous Delivery
• Toyota Kata
• How to F Up “Respect for People” & Really Piss Off your Employees
• The Agile Mindset - And Beyond
• Making sense of MVP
• NUUMI 2015 – This American Life
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Confidential – Oracle Internal/Restricted/Highly Restricted 46
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. |
Safe Harbor Statement
The preceding is not intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. The development, release, and timing of any features or functionality described for Oracle’s products remains at the sole discretion of Oracle.
Confidential – Oracle Internal/Restricted/Highly Restricted 47
Copyright © 2017, Oracle and/or its affiliates. All rights reserved. | Confidential – Oracle Internal/Restricted/Highly Restricted 48