devopsguys / ranger4 - stop thinking about servers
DESCRIPTION
One of the key tenets of the DevOps philosophy is 'systems thinking' (the 'First Way of DevOps' as championed by Gene Kim) but what does that really mean for Operations staff on the front-line? In this presentation with the DevOpsGuys we explore this concept and challenge ourselves to be 'application-centric' and think beyond individual components like servers, databases and the like.TRANSCRIPT
DevOpsGuys
@DevOpsGuys www.devopsguys.com 1
DevOpsGuys
Stop Thinkingabout Servers
DevOps, “Systems Thinking” and becoming Application-Centric
DevOpsGuys
@DevOpsGuys www.devopsguys.com 2
Agenda
• Forces acting on Operations• DevOps as a Response• DevOps 3-ways and “Systems
Thinking”• Being “Application-Centric”• Q&A
DevOpsGuys
@DevOpsGuys www.devopsguys.com 3
Companies are Changing
DevOpsGuys
@DevOpsGuys www.devopsguys.com 4
Who needs IT Depts?
• “Gartner predicts that in less than three years, 35% of enterprise IT expenditures will happen outside of the corporate IT budget.”
• “results of PricewaterhouseCoopers' Digital IQ Survey indicate that at 100 of the companies PwC ranks as "top performers," IT controls less than 50% of corporate technology expenditures.”
http://www.computerworld.com/s/article/9226415/The_Upside_of_Shadow_IT?pageNumber=1
DevOpsGuys
@DevOpsGuys www.devopsguys.com 5
Development HAS changed
DevOpsGuys
@DevOpsGuys www.devopsguys.com 6
How the Ops world is changing
OperationsTime-to-market
Agile
Continuous Delivery
Cloud
SaaS“Infrastructure
as Code”
Software-Defined
Networking
APM
BYOD
And many, many more…
DevOpsGuys
@DevOpsGuys www.devopsguys.com 7
Technology keeps evolving
DevOpsGuys
@DevOpsGuys www.devopsguys.com 8
Servers today are like razors…
• High Capex• Longer lifetime• Maintenance Cost
• High Opex• Ephemeral• Easier to replace than
fix
DevOpsGuys
@DevOpsGuys www.devopsguys.com
WHAT IS DEVOPS?And why should you care?
9
DevOpsGuys
@DevOpsGuys www.devopsguys.com
Defining Devops I
“The term “DevOps” typically refers to the emerging professional movement that advocates a
collaborative working relationship between Development and IT
Operations, resulting in the fast flow of planned work (i.e., high deploy
rates)” – Gene Kimhttp://itrevolution.com/11devops/
10
DevOpsGuys
@DevOpsGuys www.devopsguys.com
He goes on to say…
“…while simultaneously increasing the reliability,
stability, resilience and security of the production environment.”
– Gene Kim
11
DevOpsGuys
@DevOpsGuys www.devopsguys.com 12
DevOps influences
DevOpsAgile
Lean
DemingToyota (TPS)• Muri• Mura• Muda• Kaizen
Goldratt ToC
DevOpsGuys
@DevOpsGuys www.devopsguys.com
CALMS Model• Hearts & Minds• Embrace ChangeCulture• CI/CD/• “Infrastructure as Code”Automation• Focus on producing value for the end-user• Small batch sizesLean• Measure everything• Show the improvementMetrics• Open information sharing• CollaborationSharing
13
DevOpsGuys
@DevOpsGuys www.devopsguys.com
THE 3 WAYS OF DEVOPS &
SYSTEMS THINKING
Looking at the “Big Picture”
14
DevOpsGuys
@DevOpsGuys www.devopsguys.com
Think about the System, focus on the end ValueOperations Represents the Customer…
The First Way
15
DevOpsGuys
@DevOpsGuys www.devopsguys.com
“Feedback Loops” = Continuous Service ImprovementCSI is a key enabler of DevOps
The Second Way
16
DevOpsGuys
@DevOpsGuys www.devopsguys.com
Embrace ChangeBe willing to ExperimentLearn from your mistakes
The Third Way
17
DevOpsGuys
@DevOpsGuys www.devopsguys.com 18
Systems Thinking 101
“Systems thinking is a framework for seeing interrelationships rather than things, for seeing patterns rather than static snapshots. It is a set of general principles spanning fields as diverse as physical and social sciences, engineering and management.” - Peter Senge
DevOpsGuys
@DevOpsGuys www.devopsguys.com 19
Systems Thinking 101
“Systems thinking enables you to grasp and manage situations of complexity and uncertainty in which there are no simple answers. It's a way of 'learning your way towards effective action' by looking at connected wholes rather than separate parts. It's sometimes called practical holism.” - Open University
DevOpsGuys
@DevOpsGuys www.devopsguys.com 20
C&C versus Systems Thinking
http://www.systemsthinking.co.uk/2-1.asp
DevOpsGuys
@DevOpsGuys www.devopsguys.com 21
BECOMING APPLICATION-CENTRIC
Practical Systems thinking in a DevOps World
DevOpsGuys
@DevOpsGuys www.devopsguys.com 22
Lifecycle view
DevOpsGuys
@DevOpsGuys www.devopsguys.com
Products not Projects
"Delivery teams run software products
- not projects – that run from inception to retirement“
– Jez Humble, (Thoughtworks)
https://sites.google.com/a/jezhumble.net/devops-manifesto/
23
DevOpsGuys
@DevOpsGuys www.devopsguys.com 24
Organisational Change
DevOpsGuys
@DevOpsGuys www.devopsguys.com 25
Understand Dependencies
DevOpsGuys
@DevOpsGuys www.devopsguys.com 26
Find your constraints
"Any improvement not made at the
point of constraint is an illusion.“ – “The Phoenix Project”
http://www.amazon.co.uk/The-Phoenix-Project-Helping-Business-ebook/dp/B00AZRBLHO
DevOpsGuys
@DevOpsGuys www.devopsguys.com 27
Metrics, Learning & Change
• Arbitrary Measures– Focus on Outputs (“Inside-out view”)– Used for Command & Control
VS• Capability Measures– Focus on Purpose (“Outside-In view”)– Used for Learning and Improvement
DevOpsGuys
@DevOpsGuys www.devopsguys.com 28
Incentivise Learning not Faking
“Will a numerical goal be achieved? Anybody can achieve almost any goal by:– Redefinition of terms – Distortion and faking – Running up costs”
Deming 1994 ‘The New Economics’ p 43
DevOpsGuys
@DevOpsGuys www.devopsguys.com 29
CASE STUDY #1 TRANSACTIONS PER SECOND
More transactions = better, right?
DevOpsGuys
@DevOpsGuys www.devopsguys.com 30
4,000 calls/min! 2ms!
Arbitrary Measure = “Focus is on the metric
(higher transactions rates)!”
DevOpsGuys
@DevOpsGuys www.devopsguys.com 31
Zoom out… (Systems Thinking!)
DevOpsGuys
@DevOpsGuys www.devopsguys.com 32
Capability Measure = “What does high
transaction rate tell us about the System?”
262 calls = Inefficient SQL!
DevOpsGuys
@DevOpsGuys www.devopsguys.com 33
6 key elements of being Application-Centric
• System thinking – “Outside-In View”– Understand the Customer Needs– And your business goals
• Understand the Product Lifecycle• Understand the Dependencies• Know your Constraints• Capability Metrics for Learning• Embrace Change (Feedback Loops)
DevOpsGuys
@DevOpsGuys www.devopsguys.com
DevOpsGuys
Thank You
operations | availability | performance | scalability | migration | strategy
34
DevOpsGuys
@DevOpsGuys www.devopsguys.com 35
CASE STUDY #2 FINDING THE CONSTRAINT
Focussing on servers leads to pointless optimisation
DevOpsGuys
@DevOpsGuys www.devopsguys.com 36
The Situation
• E-commerce customer• New website • High data-start times on page load• Poor load testing results• Initial conversation with client• 2 week delay while hosting provider
scaled out the hardware…• Problem still not fixed…
DevOpsGuys
@DevOpsGuys www.devopsguys.com 37
The big picture
DevOpsGuys
@DevOpsGuys www.devopsguys.com
DevOpsGuys provide development & operations support (DevOps) services
for your online applications.
You run your business. We run your website.
It’s as simple as that.
What We Do
38
DevOpsGuys
@DevOpsGuys www.devopsguys.com 39
Our service portfolio
• 24 x 7 Application-Centric web operations
• DevOps Transformation & Training
• Continuous Delivery implementation
• Infrastructure Automation & “Infrastructure as Code”
• Application Performance Management
• AppDynamics Implementation & Consultancy
• Web Performance consulting
• Web monitoring• Load Testing• Test Automation and
scripting• JetBrains Product
Implementation & Consultancy
• Octopus Deploy implementation
DevOpsGuys
@DevOpsGuys www.devopsguys.com
James Smith (@TheDevMgr)
• 16 years of software delivery experience.
• Proven track record– Pizza Hut– KFC– Dell– RAC– Aviva– Fujitsu Siemens– Whitbread
Steve Thair (@TheOpsMgr)
• 25 years of IT Operations experience.
• Proven track record– Vodafone– Credit Suisse Group– IBM– BNP Paribas– Zurich Financial Services– Totaljobs Group– TSL Education
The Leadership Team
40
DevOpsGuys
@DevOpsGuys www.devopsguys.com
Contact UsVisit us at www.devopsguys.com
Call our team on +44 (0)20 8798 3079
Email our engineers at [email protected]
41