SlideShare a Scribd company logo
• Ernest Mueller (@ernestmueller)
• Karthik Gaekwad (@iteration1)
@ernestmueller @iteration1#Agile2014
• Senior Engineer @Signal
Sciences
• Previous:
• 10 years building products-
agile/cloud/devops teams
@ernestmueller @iteration1#Agile2014
• Product Manager at
Copperegg
• Previous:
• 20 years in IT – dev, ops,
management
@ernestmueller @iteration1#Agile2014
Our Goal For You Today
• Empower you with new ideas to bring your
organization together!
• Metrics. What are they?
• How to use metrics for good, as illustrated by
three Epic Rap Battles of History!
– Dev vs Ops (What is this… DevOps?)
– Small vs Large Org
– Scrum vs Kanban
@ernestmueller @iteration1#Agile2014
@ernestmueller @iteration1#Agile2014
What Are Metrics?
• A quantifiable measure of any component or
process whose change is of interest to your
business.
– Business!
– Application!
– System!
– People!
– Process!
– Not: Meaningless numbers!
@ernestmueller @iteration1#Agile2014
@ernestmueller @iteration1#Agile2014
Metrics Driven Development and DevOps - Agile 2014
@ernestmueller @iteration1#Agile2014
11
Metrics Driven Development and DevOps - Agile 2014
@ernestmueller @iteration1#Agile2014
@ernestmueller @iteration1#Agile2014
@ernestmueller @iteration1#Agile2014
Metrics Driven Development and DevOps - Agile 2014
@ernestmueller @iteration1#Agile2014
@ernestmueller @iteration1#Agile2014
@ernestmueller @iteration1#Agile2014
• Tasked with building new cloud business for the
organization.
• Understand how cloud technologies can impact
bottom line.
• Build products customers will want from the new
business unit.
– Read, startup inside a bigger organization
Story Time: Our context
@ernestmueller @iteration1#Agile2014
Metrics Driven Development and DevOps - Agile 2014
Metrics Driven Development and DevOps - Agile 2014
• Used ‘Lean Startup’ ideas to power new area.
– Able to define an MVP (Minimum Viable
Product).
– Easier to define workflow for something brand
new.
– No confusion with existing processes.
• Once we started to see value, retrofitted to
other parts of the org.
Lean Startup Applied
@ernestmueller @iteration1#Agile2014
Showing progress
• Initially- we had weekly
progress/status meetings with
stakeholders.
• Cross functional team with
business/marketing/engineering.
@ernestmueller @iteration1#Agile2014
@ernestmueller @iteration1#Agile2014
@ernestmueller @iteration1#Agile2014
Metrics
• Pivot: change conversations to metrics instead.
• Agreed on metrics that we wanted to track
– Stakeholder input
• “What do you want out of this?”
• “How quickly do you want this?”
• …Okay, let’s measure this!
@ernestmueller @iteration1#Agile2014
Tracked Metrics
• Tracked actionable metrics (dev and business):
– # Users signing up per week
– # Active sessions per day/week
– # of compiles sent per week
– # unique data points sent per week
@ernestmueller @iteration1#Agile2014
Pro Tip: Metrics
• Link all your metrics from one
dashboard.
– Business (Ex: User logins)
– Dev (Ex: Performance
metrics)
– Ops (Ex: DB CPU Usage)
• One bookmark to rule them
all.
@ernestmueller @iteration1#Agile2014
Pro Tip: Metrics
• Don’t use yet another
username/password scheme.
• You’ll lose your users really
fast!
Pro Tip: Metrics
• Try to use a tool that can handle different kinds
of metrics.
• Shoutouts:
– Statsd
– Datadog
@ernestmueller @iteration1#Agile2014
End Result
• Business and engineering on the same
page.
• Management looking at metrics without
having “meetings to look at metrics”.
• Became a part of the culture.
• Innovate faster because different
teams were in sync.
@ernestmueller @iteration1#Agile2014
@ernestmueller @iteration1#Agile2014
Operations
What is it?
Why Do You Care?
@ernestmueller @iteration1#Agile2014
Other Kinds Of Operations
• Wikipedia quoth:
• Business operations is the harvesting of
value from assets owned by a business
• Operations management is […] overseeing,
designing, and controlling the process of
production and redesigning business
operations in the production of goods or
services.
@ernestmueller @iteration1#Agile2014
Technical Operations
• “Operations: The New Secret Sauce” – Tim
O’Reilly (2006)
• Without the ability to
– Release changes
– Quickly respond to change
– Provide a service without interruption
– Operate cost effectively
Your service is borked.
@ernestmueller @iteration1#Agile2014
What Does Operations Do?
• Build Servers, OS, Virtualization/Cloud
• Install/Upgrade Software
• Install Applications/Release Process/Move to Prod
• Configure Network, Load Balancers, Storage, etc.
• Security testing, reporting, and hardening
• Reliability (scaling, backups)
• Performance management (apps, systems)
• Scalability (capacity planning to autoscaling)
@ernestmueller @iteration1#Agile2014
What Else Does Operations Do?
• Availability – Responsible for service being up
• Incident Response
• Fulfill Requests
• Budgeting/Contracts/Cost Tracking/Reduction
• Monitor all of that
• Much more
• So besides “they run the services,” the critical
final piece of your value chain, they have access
to many of the things you want metrics from
Code – Operations =
@ernestmueller @iteration1#Agile2014
Story Time: Black Friday
• Every year, a huge spike in usage
• Uptime and performance critical to retailers
during the period
• Product directly contributed to conversion
• Metrics crucial to plan the period, execute
through the period, report how we did
@ernestmueller @iteration1#Agile2014
@ernestmueller @iteration1#Agile2014
Metrics From…
From:
• Servers
• Applications/App Logs
• App Servers/Software
• Network
• Data Stores
• Web Servers/CDNs
• Client Browsers
• Alerts
• Tickets
Using:
• Open source monitoring
tools (Zabbix, nagios)
• SaaS (SumoLogic,
PagerDuty)
• JIRA
• Custom (Web front end
analytics w.Hadoop)
• Custom (Amazon cost
analytics w.GoodData)
• Custom (Metrics
Dashboard)
Many Tools Are Awful
Metrics Driven Development and DevOps - Agile 2014
Metrics Driven Development and DevOps - Agile 2014
YOU
DECIDE
DEVOPS
@ernestmueller @iteration1#Agile2014
Metrics Driven Development and DevOps - Agile 2014
Traditional Dev and Ops
What is DevOps?
@ernestmueller @iteration1#Agile2014
What is DevOps?
@ernestmueller @iteration1#Agile2014
Metrics Driven Development and DevOps - Agile 2014
Scrumming
away….
Ready to deploy…
Metrics Driven Development and DevOps - Agile 2014
Metrics Promote DevOps
• How do you get the cat inside the circle?
Herding cats is hard. Some people aren’t cat
people.
• Metrics can be used to promote culture,
understanding, and collaboration
• Metrics help keep those different disciplines in
sync by providing tangible collaboration points
• MTTD, MTTR, performance metrics, events
• Bringing all the discipline’s metrics together
cover your whole value chain “code to cash”
Operations – Code = IT
Metrics Driven Development and DevOps - Agile 2014
IT + DevOps = ?
• Many IT teams implement Agile today
• They can implement DevOps too
• But to do either, they have to change how they
interact with others
• Focus on customer’s needs not own needs;
cloud/SaaS providing “competitive pressure”
• Practice Theory of Constraints – embed when
possible, even if you need to add some
• Add devs and automate
Metrics Driven Development and DevOps - Agile 2014
Metrics Driven Development and DevOps - Agile 2014
SMALL
ORG
Metrics Driven Development and DevOps - Agile 2014
Metrics Driven Development and DevOps - Agile 2014
Metrics Driven Development and DevOps - Agile 2014
Metrics Driven Development and DevOps - Agile 2014
Metrics Driven Development and DevOps - Agile 2014
Metrics Driven Development and DevOps - Agile 2014
Metrics Driven Development and DevOps - Agile 2014
Metrics Driven Development and DevOps - Agile 2014
Metrics 101: Culture of communication
• Talk in terms of metrics
– Builds common ground between different
roles.
– Understand different perspectives.
– Find the best way to get everyone talking in 1
place.
Metrics 201
• Push your metrics into your conversation tool
• Use tools that everyone likes:
– IRC v/s Hipchat/slack
• Integrate your metrics into a channel
– “Deployment channel” in your chat
Culture of communication
• Find a way to get people talking.
• Find face to face time with stakeholders.
• Metrics are that specific item to have a
conversation around.
• Engineering teams love IRC, but business and
PM’s might not as much.
• Transitioned to Slack/Hipchat (integrations and
message history)
• Leads to visibility and builds trust 74
End Result
• Metrics drive conversations between everyone.
• Enhances productivity.
• Helped us streamline our process.
LARGE
ORG
Large Mature Org
• Hundreds of developers
• Many teams (many goals, processes)
• Distributed teams
• International teams
• Outsourcers
• Various Weird Partner Relationships
77
Large Org Problems
• Silos Galore
• Communication Problems
• Annoying Compliance Requirements
• Profitability Actually Important
• Less pure greenfield work – also
responsibility for many existing
mature systems
Story Time
• Story Time: SaaS product, 40 Engineers, 2/3
outsourced, mostly maintenance but extreme
scale (1/3 of staff were Ops)
• Lots of support initiated urgent customer
requests
• Dev still required for features,
integration/transition with newer services, bug
fix, scaling
• Team morale issues
Metrics 101
• First, add Agile. (Previously the ‘stew method’)
• Basic Metrics – number of tickets (100+ in queue
at any time), size of backlog (500 or so bugs
and stories), rate of new inflow and completion.
• Used to fix misunderstanding from upper
management and correct resourcing
• Next step on metrics – how to balance the
support work and new work?
Metrics 201
Support SLA
Metrics 201
• Metrics 201
Velocity
Metrics 201
• Balancing these two metrics was the key to
satisfying customers short and long term.
• But it’s not an either-or - by seeing the effects
of people, process, and technology changes on
those metrics we drove SLA from <50% to
100% and kept velocity growing (20.. 50… 200…)
• Having the metrics to focus on gave shared
purpose and eased communication with the large
distributed team
• Experiment, see the impact, pivot.
Metrics 301
• Monthly “Operational
Excellence (Metrics)
Meeting”
• Teams presented their
metrics portfolio – with
some variation as
appropriate
• Drawn from system info,
app metrics, db reports,
Salesforce, surveys, etc.
• Keep it lean!!!
• Revenue and Cost
• Product Usage
• Performance
• Availability
• Client Satisfaction
• Employee Satisfaction
• Quality
• Security
Metrics Driven Development and DevOps - Agile 2014
Metrics 401 - A/B Testing
• All features had usage measured
• Feature flags would turn features on for
customer subsets to measure usage, effect on
conversion, etc. before committing
• Sometimes you had to kill it despite work spent
• Retooling could save a high profile failure
• “Yes, product guy, you have to.”
• Look for things metrics say you can kill – it’s the
only way to stay lean long term
YOU
DECIDE
@ernestmueller @iteration1#Agile2014
Metrics Driven Development and DevOps - Agile 2014
KANBAN
@ernestmueller @iteration1#Agile2014
Metrics Driven Development and DevOps - Agile 2014
Here’s why…
• How many meetings?
• “Short planning meeting”?
• How often do these go long?
• Wait how long before prioritizing a feature/bug?
• Role of a dedicated scrum master is a luxury.
• Derailed sprints because of changing business
priorities…
@ernestmueller @iteration1#Agile2014
Metrics Driven Development and DevOps - Agile 2014
Why Kanban?
• Limited number of WIP tasks in play.
• Easier to prioritize. There is only 1 list!
• Standups are simpler.
• Task estimates in days versus hours (1/2 day->7
day).
• Research tasks to figure out how long something
may take.
94
@ernestmueller @iteration1#Agile2014
Kanban benefits
• Kanban + CI == Solved our issue of “when to
release”. Didn’t have to wait for release windows
like in scrum.
• Less stressful == Only x number of tasks going
on at once. Easier to measure.
• Velocity is awesome!
95
@ernestmueller @iteration1#Agile2014
Kanban Metrics
• Things we track:
– Visualized board (JIRA Greenhopper)
– Cycle Time (How fast something gets done)
– WIP (Work/Tasks in progress)
– Flow diagram
– %of bugs
SCRUM
@ernestmueller @iteration1#Agile2014
Scrum Rules
• Have used Scrum for both pure Ops and
Dev+Ops teams
Kanban Drools
• Deadlines help maintain tempo – we had multiple
releases a sprint, don’t need to tie them together
• You can reliably commit to a near term ETA with
Scrum instead of just “when it’s done”
• Scrum has a better backlog (esp. in JIRA!)
• Many people “doing Kanban” are really “doing
nothing”, like some doing “Agile” are really doing
“cowboy coding.” Kanban takes more discipline
and training than Scrum.
@ernestmueller @iteration1#Agile2014
Scrum and Metrics
• Velocity is easier for people to understand than
flow diagrams
@ernestmueller @iteration1#Agile2014
But I Hear Kanban Is Better For Ops
• In a DevOps world, most Ops work SHOULD
NOT be interrupt driven – it’s project work just
like the devs are doing
• Dev and Ops expedite work approach each other
in magnitude over time assuming appropriate
investment in automation
• You may be thinking of “Level 1 Support” or “The
Helpdesk” – that is NOT an Ops Engineer
@ernestmueller @iteration1#Agile2014
Scrum for Ops?
• Devs have to be involved in major incidents too!
• Over the length of a sprint, the interrupt level
evens out – my metrics show that velocity
doesn’t vary more than with dev teams
• You manage WIP in your scrum too
@ernestmueller @iteration1#Agile2014
Complications Scrum Helps
• Distributed teams need more communication
ceremonies
• Foreign/contract workers need more
communication ceremonies
• Same process across teams is better – in most
cases other teams were using Scrum
• Simple common metrics -> better collaboration
• When starting from zero, Scrum was the
quickest path to team continuous improvement
YOU
DECIDE@ernestmueller @iteration1#Agile2014
Metrics Driven Development and DevOps - Agile 2014
Using Metrics For Evil
@ernestmueller @iteration1#Agile2014
Too Many Metrics
Cargo Cult Metrics
Demand Perfection
@ernestmueller @iteration1#Agile2014
Weaponized Metrics
Metrics Driven Development and DevOps - Agile 2014
Recap
• Metrics are good - use them, be
guided by them, communicate with
them.
@ernestmueller @iteration1#Agile2014
Recap
• Metrics can enhance your:
–Culture
–Productivity
–Process
Recap
• Use them for good, not for evil.
@ernestmueller
@iteration1
theagileadmin.com

More Related Content

PPTX
DevOps unraveled - Nyenrode masterclass on Agile Management
PPTX
Metrics to Power DevOps
PDF
DevOps Kaizen: Find and Fix What is Really Behind Your Problems
PDF
iSQI Certification Days DASA – DevOps & ISTQB Frank Frambach
PPTX
Continuous Delivery + DevOps = Awesome
PPT
DevOps 101 for Government
PDF
DEVNET-2015 DevOps In Depth - Damon Edwards on DevOps Kaizen: Building an Ent...
PDF
KPI's are your best friend - Slides
DevOps unraveled - Nyenrode masterclass on Agile Management
Metrics to Power DevOps
DevOps Kaizen: Find and Fix What is Really Behind Your Problems
iSQI Certification Days DASA – DevOps & ISTQB Frank Frambach
Continuous Delivery + DevOps = Awesome
DevOps 101 for Government
DEVNET-2015 DevOps In Depth - Damon Edwards on DevOps Kaizen: Building an Ent...
KPI's are your best friend - Slides

What's hot (20)

PDF
DevOpsDays Austin: Helping Horses Become Unicorns, Chef's Operations Maturity...
PDF
DevOps Primer : Presented by Uday Kumar
PPT
DevOps Transition Strategies
PDF
The History of DevOps (and what you need to do about it)
PDF
CampDevOps keynote - DevOps: Using 'Lean' to eliminate Bottlenecks
PDF
DevOps Transformation - Another View
PPTX
DevOps Kaizen: Practical Steps to Start & Sustain a Transformation
PDF
Blueprinting DevOps for Digital Transformation_v4
PDF
SAFe and DevOps - better together
PPTX
DevOps State of the Union 2015
PDF
How to become a great DevOps Leader, an ITSM Academy Webinar
PPT
DevOps Explained
PPTX
DevOps Test Engineering: Putting the ‘Continuous’ in Testing, an ITSM Academy...
PPTX
DevOpsGuys - How to get started with DevOps - Redgate Webinar April 2017
PPTX
2014 State Of DevOps Findings! Velocity Conference
PPTX
Evolving Team Structure in DevOps
PPTX
DevOps: The Key to IT Performance
PDF
Agile webinar pack (2)
PDF
DevOps – the future of Agile – why, what, how? Agile Israel 2014
PDF
Bn1006 demo ppt devops
DevOpsDays Austin: Helping Horses Become Unicorns, Chef's Operations Maturity...
DevOps Primer : Presented by Uday Kumar
DevOps Transition Strategies
The History of DevOps (and what you need to do about it)
CampDevOps keynote - DevOps: Using 'Lean' to eliminate Bottlenecks
DevOps Transformation - Another View
DevOps Kaizen: Practical Steps to Start & Sustain a Transformation
Blueprinting DevOps for Digital Transformation_v4
SAFe and DevOps - better together
DevOps State of the Union 2015
How to become a great DevOps Leader, an ITSM Academy Webinar
DevOps Explained
DevOps Test Engineering: Putting the ‘Continuous’ in Testing, an ITSM Academy...
DevOpsGuys - How to get started with DevOps - Redgate Webinar April 2017
2014 State Of DevOps Findings! Velocity Conference
Evolving Team Structure in DevOps
DevOps: The Key to IT Performance
Agile webinar pack (2)
DevOps – the future of Agile – why, what, how? Agile Israel 2014
Bn1006 demo ppt devops
Ad

Viewers also liked (20)

PDF
Continuous feedback
PDF
Metrics driven development 10.09.2014
PDF
LeanTribe #22 - Project management
PDF
Metrics-Driven Engineering at Etsy
PPTX
Continuous Delivery Maturity Model
PDF
Hiring for Devops - how to nail that DevOps interview - Uri Cohen VP GigaSpaces
KEY
Vision 2010
PPTX
PDF
Information literacy in an online world: A digital approach to address the n...
PPT
บทนำ1
DOCX
Facebook feedback for Newspaper
PPT
Поиск доноров крови
PDF
Australasian Talent Conference 2016: marketing hacks presentation
PPTX
[BLT] 고벤처포럼 - 스타트업과 특허전략
PPTX
Autótrofos
PDF
Technology Innovation For Banks In The "New Hard Times"
PDF
Theories of why states and
PDF
Buzzword Bingo 2012
PDF
mini portfolio ss 2017 inspired by Burberry
DOCX
Is international law a true law.vvvvvvvvvi
Continuous feedback
Metrics driven development 10.09.2014
LeanTribe #22 - Project management
Metrics-Driven Engineering at Etsy
Continuous Delivery Maturity Model
Hiring for Devops - how to nail that DevOps interview - Uri Cohen VP GigaSpaces
Vision 2010
Information literacy in an online world: A digital approach to address the n...
บทนำ1
Facebook feedback for Newspaper
Поиск доноров крови
Australasian Talent Conference 2016: marketing hacks presentation
[BLT] 고벤처포럼 - 스타트업과 특허전략
Autótrofos
Technology Innovation For Banks In The "New Hard Times"
Theories of why states and
Buzzword Bingo 2012
mini portfolio ss 2017 inspired by Burberry
Is international law a true law.vvvvvvvvvi
Ad

Similar to Metrics Driven Development and DevOps - Agile 2014 (20)

PDF
Metrics 4 faster feedback
PPTX
Agile Metrics
PDF
People Metrics: How to Use Team Data to Produce Positive Change
PDF
Data-Driven DevOps: Mining Machine Data for 'Metrics that Matter' in a DevOps...
PDF
Data-Driven DevOps: Improve Velocity and Quality of Software Delivery with Me...
PPTX
Agile Metrics...That Matter
PDF
That's not a metric! Data for cloud-native success
PDF
Agile Gurugram 2023 I Metrics and Business Agility - Dinker Charak
PPTX
Agile Kolkata 2022 - Vaibhav Sharma | One Metric that your Agile Team will ev...
PDF
Agile Kolkata 2023 I EEBO Metrics in the Times of GenAI - Dinker Charak
PDF
VSL Las Vegas 2023 - Measuring Up! How To Choose Agile Metrics
PDF
Iwsm2014 dev ops measurements (amir arooni)
PDF
Agile metrics at-pmi bangalore
PDF
AgileCamp Silicon Valley 2015: Unlock Excellence with Agile Metrics
PDF
How to get things done - Lessons from Yahoo, Google, Netflix and Meta
PDF
Agile metrics at-pmi bangalore
PPTX
Measuring for team effectiveness (with Reecetech)
PDF
Key items for a digital enterprise
PDF
To successfully deliver your IT project: build your team, build your Agile it...
PDF
Metrics that Matter
Metrics 4 faster feedback
Agile Metrics
People Metrics: How to Use Team Data to Produce Positive Change
Data-Driven DevOps: Mining Machine Data for 'Metrics that Matter' in a DevOps...
Data-Driven DevOps: Improve Velocity and Quality of Software Delivery with Me...
Agile Metrics...That Matter
That's not a metric! Data for cloud-native success
Agile Gurugram 2023 I Metrics and Business Agility - Dinker Charak
Agile Kolkata 2022 - Vaibhav Sharma | One Metric that your Agile Team will ev...
Agile Kolkata 2023 I EEBO Metrics in the Times of GenAI - Dinker Charak
VSL Las Vegas 2023 - Measuring Up! How To Choose Agile Metrics
Iwsm2014 dev ops measurements (amir arooni)
Agile metrics at-pmi bangalore
AgileCamp Silicon Valley 2015: Unlock Excellence with Agile Metrics
How to get things done - Lessons from Yahoo, Google, Netflix and Meta
Agile metrics at-pmi bangalore
Measuring for team effectiveness (with Reecetech)
Key items for a digital enterprise
To successfully deliver your IT project: build your team, build your Agile it...
Metrics that Matter

More from Ernest Mueller (20)

PDF
DevOps at a Distance
PPTX
AlienVault USM Anywhere: Building a Security SaaS in AWS in Six Months
PDF
Intro to DevOps
PPTX
The DevOps Panel - Innotech Austin CD Summit
PPTX
Lean Security - LASCON 2016
PPTX
Lean Security - OWASP Austin March 2016
PPTX
Lean Security - RSA 2016
PPTX
DevOps Transformations
PPTX
DevOps 101
PPT
App Assessments Reloaded
PPTX
The DevOps Centipede
PDF
2012 - A Release Odyssey
PPT
Mobile and the Cloud
PPTX
CloudAustin Black Friday 2013
PPTX
Cloud Monitoring
PPTX
DevOps and Cloud at NI
PPTX
Business model driven cloud adoption - what NI is doing in the cloud
PPTX
Inside Microsoft Azure
PPTX
PIE - The Programmable Infrastructure Environment
PPTX
Why the cloud is more secure than your existing systems
DevOps at a Distance
AlienVault USM Anywhere: Building a Security SaaS in AWS in Six Months
Intro to DevOps
The DevOps Panel - Innotech Austin CD Summit
Lean Security - LASCON 2016
Lean Security - OWASP Austin March 2016
Lean Security - RSA 2016
DevOps Transformations
DevOps 101
App Assessments Reloaded
The DevOps Centipede
2012 - A Release Odyssey
Mobile and the Cloud
CloudAustin Black Friday 2013
Cloud Monitoring
DevOps and Cloud at NI
Business model driven cloud adoption - what NI is doing in the cloud
Inside Microsoft Azure
PIE - The Programmable Infrastructure Environment
Why the cloud is more secure than your existing systems

Recently uploaded (20)

PPTX
MYSQL Presentation for SQL database connectivity
PDF
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
PPTX
Digital-Transformation-Roadmap-for-Companies.pptx
PDF
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
PDF
Electronic commerce courselecture one. Pdf
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PPTX
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
PPT
Teaching material agriculture food technology
PPTX
Big Data Technologies - Introduction.pptx
PDF
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
PPTX
Understanding_Digital_Forensics_Presentation.pptx
PDF
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Review of recent advances in non-invasive hemoglobin estimation
PPTX
20250228 LYD VKU AI Blended-Learning.pptx
PDF
Approach and Philosophy of On baking technology
PPTX
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
PDF
Building Integrated photovoltaic BIPV_UPV.pdf
MYSQL Presentation for SQL database connectivity
Peak of Data & AI Encore- AI for Metadata and Smarter Workflows
Digital-Transformation-Roadmap-for-Companies.pptx
Shreyas Phanse Resume: Experienced Backend Engineer | Java • Spring Boot • Ka...
Electronic commerce courselecture one. Pdf
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
Effective Security Operations Center (SOC) A Modern, Strategic, and Threat-In...
Teaching material agriculture food technology
Big Data Technologies - Introduction.pptx
7 ChatGPT Prompts to Help You Define Your Ideal Customer Profile.pdf
Spectral efficient network and resource selection model in 5G networks
TokAI - TikTok AI Agent : The First AI Application That Analyzes 10,000+ Vira...
Understanding_Digital_Forensics_Presentation.pptx
Bridging biosciences and deep learning for revolutionary discoveries: a compr...
Per capita expenditure prediction using model stacking based on satellite ima...
Review of recent advances in non-invasive hemoglobin estimation
20250228 LYD VKU AI Blended-Learning.pptx
Approach and Philosophy of On baking technology
VMware vSphere Foundation How to Sell Presentation-Ver1.4-2-14-2024.pptx
Building Integrated photovoltaic BIPV_UPV.pdf

Metrics Driven Development and DevOps - Agile 2014

  • 1. • Ernest Mueller (@ernestmueller) • Karthik Gaekwad (@iteration1)
  • 3. • Senior Engineer @Signal Sciences • Previous: • 10 years building products- agile/cloud/devops teams @ernestmueller @iteration1#Agile2014
  • 4. • Product Manager at Copperegg • Previous: • 20 years in IT – dev, ops, management @ernestmueller @iteration1#Agile2014
  • 5. Our Goal For You Today • Empower you with new ideas to bring your organization together! • Metrics. What are they? • How to use metrics for good, as illustrated by three Epic Rap Battles of History! – Dev vs Ops (What is this… DevOps?) – Small vs Large Org – Scrum vs Kanban @ernestmueller @iteration1#Agile2014
  • 7. What Are Metrics? • A quantifiable measure of any component or process whose change is of interest to your business. – Business! – Application! – System! – People! – Process! – Not: Meaningless numbers! @ernestmueller @iteration1#Agile2014
  • 11. 11
  • 20. • Tasked with building new cloud business for the organization. • Understand how cloud technologies can impact bottom line. • Build products customers will want from the new business unit. – Read, startup inside a bigger organization Story Time: Our context @ernestmueller @iteration1#Agile2014
  • 23. • Used ‘Lean Startup’ ideas to power new area. – Able to define an MVP (Minimum Viable Product). – Easier to define workflow for something brand new. – No confusion with existing processes. • Once we started to see value, retrofitted to other parts of the org. Lean Startup Applied @ernestmueller @iteration1#Agile2014
  • 24. Showing progress • Initially- we had weekly progress/status meetings with stakeholders. • Cross functional team with business/marketing/engineering. @ernestmueller @iteration1#Agile2014
  • 27. Metrics • Pivot: change conversations to metrics instead. • Agreed on metrics that we wanted to track – Stakeholder input • “What do you want out of this?” • “How quickly do you want this?” • …Okay, let’s measure this! @ernestmueller @iteration1#Agile2014
  • 28. Tracked Metrics • Tracked actionable metrics (dev and business): – # Users signing up per week – # Active sessions per day/week – # of compiles sent per week – # unique data points sent per week
  • 29. @ernestmueller @iteration1#Agile2014 Pro Tip: Metrics • Link all your metrics from one dashboard. – Business (Ex: User logins) – Dev (Ex: Performance metrics) – Ops (Ex: DB CPU Usage) • One bookmark to rule them all.
  • 30. @ernestmueller @iteration1#Agile2014 Pro Tip: Metrics • Don’t use yet another username/password scheme. • You’ll lose your users really fast!
  • 31. Pro Tip: Metrics • Try to use a tool that can handle different kinds of metrics. • Shoutouts: – Statsd – Datadog @ernestmueller @iteration1#Agile2014
  • 32. End Result • Business and engineering on the same page. • Management looking at metrics without having “meetings to look at metrics”. • Became a part of the culture. • Innovate faster because different teams were in sync. @ernestmueller @iteration1#Agile2014
  • 34. Operations What is it? Why Do You Care? @ernestmueller @iteration1#Agile2014
  • 35. Other Kinds Of Operations • Wikipedia quoth: • Business operations is the harvesting of value from assets owned by a business • Operations management is […] overseeing, designing, and controlling the process of production and redesigning business operations in the production of goods or services. @ernestmueller @iteration1#Agile2014
  • 36. Technical Operations • “Operations: The New Secret Sauce” – Tim O’Reilly (2006) • Without the ability to – Release changes – Quickly respond to change – Provide a service without interruption – Operate cost effectively Your service is borked. @ernestmueller @iteration1#Agile2014
  • 37. What Does Operations Do? • Build Servers, OS, Virtualization/Cloud • Install/Upgrade Software • Install Applications/Release Process/Move to Prod • Configure Network, Load Balancers, Storage, etc. • Security testing, reporting, and hardening • Reliability (scaling, backups) • Performance management (apps, systems) • Scalability (capacity planning to autoscaling) @ernestmueller @iteration1#Agile2014
  • 38. What Else Does Operations Do? • Availability – Responsible for service being up • Incident Response • Fulfill Requests • Budgeting/Contracts/Cost Tracking/Reduction • Monitor all of that • Much more • So besides “they run the services,” the critical final piece of your value chain, they have access to many of the things you want metrics from
  • 39. Code – Operations = @ernestmueller @iteration1#Agile2014
  • 40. Story Time: Black Friday • Every year, a huge spike in usage • Uptime and performance critical to retailers during the period • Product directly contributed to conversion • Metrics crucial to plan the period, execute through the period, report how we did @ernestmueller @iteration1#Agile2014
  • 42. Metrics From… From: • Servers • Applications/App Logs • App Servers/Software • Network • Data Stores • Web Servers/CDNs • Client Browsers • Alerts • Tickets Using: • Open source monitoring tools (Zabbix, nagios) • SaaS (SumoLogic, PagerDuty) • JIRA • Custom (Web front end analytics w.Hadoop) • Custom (Amazon cost analytics w.GoodData) • Custom (Metrics Dashboard)
  • 43. Many Tools Are Awful
  • 50. What is DevOps? @ernestmueller @iteration1#Agile2014
  • 51. What is DevOps? @ernestmueller @iteration1#Agile2014
  • 56. Metrics Promote DevOps • How do you get the cat inside the circle? Herding cats is hard. Some people aren’t cat people. • Metrics can be used to promote culture, understanding, and collaboration • Metrics help keep those different disciplines in sync by providing tangible collaboration points • MTTD, MTTR, performance metrics, events • Bringing all the discipline’s metrics together cover your whole value chain “code to cash”
  • 59. IT + DevOps = ? • Many IT teams implement Agile today • They can implement DevOps too • But to do either, they have to change how they interact with others • Focus on customer’s needs not own needs; cloud/SaaS providing “competitive pressure” • Practice Theory of Constraints – embed when possible, even if you need to add some • Add devs and automate
  • 71. Metrics 101: Culture of communication • Talk in terms of metrics – Builds common ground between different roles. – Understand different perspectives. – Find the best way to get everyone talking in 1 place.
  • 72. Metrics 201 • Push your metrics into your conversation tool • Use tools that everyone likes: – IRC v/s Hipchat/slack • Integrate your metrics into a channel – “Deployment channel” in your chat
  • 73. Culture of communication • Find a way to get people talking. • Find face to face time with stakeholders. • Metrics are that specific item to have a conversation around. • Engineering teams love IRC, but business and PM’s might not as much. • Transitioned to Slack/Hipchat (integrations and message history) • Leads to visibility and builds trust 74
  • 74. End Result • Metrics drive conversations between everyone. • Enhances productivity. • Helped us streamline our process.
  • 76. Large Mature Org • Hundreds of developers • Many teams (many goals, processes) • Distributed teams • International teams • Outsourcers • Various Weird Partner Relationships 77
  • 77. Large Org Problems • Silos Galore • Communication Problems • Annoying Compliance Requirements • Profitability Actually Important • Less pure greenfield work – also responsibility for many existing mature systems
  • 78. Story Time • Story Time: SaaS product, 40 Engineers, 2/3 outsourced, mostly maintenance but extreme scale (1/3 of staff were Ops) • Lots of support initiated urgent customer requests • Dev still required for features, integration/transition with newer services, bug fix, scaling • Team morale issues
  • 79. Metrics 101 • First, add Agile. (Previously the ‘stew method’) • Basic Metrics – number of tickets (100+ in queue at any time), size of backlog (500 or so bugs and stories), rate of new inflow and completion. • Used to fix misunderstanding from upper management and correct resourcing • Next step on metrics – how to balance the support work and new work?
  • 81. Metrics 201 • Metrics 201 Velocity
  • 82. Metrics 201 • Balancing these two metrics was the key to satisfying customers short and long term. • But it’s not an either-or - by seeing the effects of people, process, and technology changes on those metrics we drove SLA from <50% to 100% and kept velocity growing (20.. 50… 200…) • Having the metrics to focus on gave shared purpose and eased communication with the large distributed team • Experiment, see the impact, pivot.
  • 83. Metrics 301 • Monthly “Operational Excellence (Metrics) Meeting” • Teams presented their metrics portfolio – with some variation as appropriate • Drawn from system info, app metrics, db reports, Salesforce, surveys, etc. • Keep it lean!!! • Revenue and Cost • Product Usage • Performance • Availability • Client Satisfaction • Employee Satisfaction • Quality • Security
  • 85. Metrics 401 - A/B Testing • All features had usage measured • Feature flags would turn features on for customer subsets to measure usage, effect on conversion, etc. before committing • Sometimes you had to kill it despite work spent • Retooling could save a high profile failure • “Yes, product guy, you have to.” • Look for things metrics say you can kill – it’s the only way to stay lean long term
  • 91. Here’s why… • How many meetings? • “Short planning meeting”? • How often do these go long? • Wait how long before prioritizing a feature/bug? • Role of a dedicated scrum master is a luxury. • Derailed sprints because of changing business priorities… @ernestmueller @iteration1#Agile2014
  • 93. Why Kanban? • Limited number of WIP tasks in play. • Easier to prioritize. There is only 1 list! • Standups are simpler. • Task estimates in days versus hours (1/2 day->7 day). • Research tasks to figure out how long something may take. 94 @ernestmueller @iteration1#Agile2014
  • 94. Kanban benefits • Kanban + CI == Solved our issue of “when to release”. Didn’t have to wait for release windows like in scrum. • Less stressful == Only x number of tasks going on at once. Easier to measure. • Velocity is awesome! 95 @ernestmueller @iteration1#Agile2014
  • 95. Kanban Metrics • Things we track: – Visualized board (JIRA Greenhopper) – Cycle Time (How fast something gets done) – WIP (Work/Tasks in progress) – Flow diagram – %of bugs
  • 97. Scrum Rules • Have used Scrum for both pure Ops and Dev+Ops teams
  • 98. Kanban Drools • Deadlines help maintain tempo – we had multiple releases a sprint, don’t need to tie them together • You can reliably commit to a near term ETA with Scrum instead of just “when it’s done” • Scrum has a better backlog (esp. in JIRA!) • Many people “doing Kanban” are really “doing nothing”, like some doing “Agile” are really doing “cowboy coding.” Kanban takes more discipline and training than Scrum. @ernestmueller @iteration1#Agile2014
  • 99. Scrum and Metrics • Velocity is easier for people to understand than flow diagrams @ernestmueller @iteration1#Agile2014
  • 100. But I Hear Kanban Is Better For Ops • In a DevOps world, most Ops work SHOULD NOT be interrupt driven – it’s project work just like the devs are doing • Dev and Ops expedite work approach each other in magnitude over time assuming appropriate investment in automation • You may be thinking of “Level 1 Support” or “The Helpdesk” – that is NOT an Ops Engineer @ernestmueller @iteration1#Agile2014
  • 101. Scrum for Ops? • Devs have to be involved in major incidents too! • Over the length of a sprint, the interrupt level evens out – my metrics show that velocity doesn’t vary more than with dev teams • You manage WIP in your scrum too @ernestmueller @iteration1#Agile2014
  • 102. Complications Scrum Helps • Distributed teams need more communication ceremonies • Foreign/contract workers need more communication ceremonies • Same process across teams is better – in most cases other teams were using Scrum • Simple common metrics -> better collaboration • When starting from zero, Scrum was the quickest path to team continuous improvement
  • 105. Using Metrics For Evil @ernestmueller @iteration1#Agile2014
  • 111. Recap • Metrics are good - use them, be guided by them, communicate with them. @ernestmueller @iteration1#Agile2014
  • 112. Recap • Metrics can enhance your: –Culture –Productivity –Process
  • 113. Recap • Use them for good, not for evil.

Editor's Notes

  • #3: Karthik
  • #5: Ernest
  • #6: Karthik
  • #7: Karthik: Who are you? Dev, Ops/IT, QA/Release, Product, Project Manager, other Company size? Up to 20? 200? 2000? 20,000?
  • #8: Karthik
  • #9: Ernest: Now we will rap battle for supremacy!
  • #10: Ernest: Who makes the most badass use of metrics? Developers or Operations? FIGHT!!!
  • #11: Karthik’s Part. Metrics help developers more!
  • #12: http://boomstickcomics.com/wp-content/uploads/2014/07/GeneWilderWillyWonka1.jpg
  • #13: http://a.tgcdn.net/images/products/zoom/61b7_swingline_stapler.jpg
  • #15: http://img452.imageshack.us/img452/3788/officespace13og6.png
  • #16: Teamwork gets you there. http://www.buckleycountryday.com/uploaded/Summer_Camp/images/Day_in_the_Life/Junior_Camp/Nassau_County_Camp_Sports_Huddle.jpg
  • #19: http://materialisticboy.files.wordpress.com/2009/08/alice-in-wonderland-trailer.jpg
  • #22: http://sites.imsa.edu/acronym/files/2014/04/lean-startup_book-cover.jpeg
  • #23: http://scottebales.com/wp-content/uploads/2013/09/the-lean-startup_50291668aa9bb.png
  • #27: http://img.webmd.com/dtmcms/live/webmd/consumer_assets/site_images/articles/health_tools/insomnia_myths_and_facts_slideshow/getty_rf_photo_of_man_nodding_off_in_meeting.jpg
  • #28: http://img.webmd.com/dtmcms/live/webmd/consumer_assets/site_images/articles/health_tools/insomnia_myths_and_facts_slideshow/getty_rf_photo_of_man_nodding_off_in_meeting.jpg
  • #35: Ernest’s Part. Metrics help Operations more!
  • #37: These orgs tend to be one of the primary producers and consumers of metrics in a business by their nature.
  • #38: Yes, “borked” is a technical term. See the New Hacker’s Dictionary, http://www.eps.mcgill.ca/jargon/jargon.html#borken
  • #39: Keeping in mind Operations can be a role not a “person” or “org,” this is a long list of things I’ve seen ops be responsible for.
  • #40: Keeping in mind Operations can be a role not a “person” or “org,” this is a long list of things I’ve seen ops be responsible for.
  • #41: Without Operations, all that code is just sitting on a shelf, not realizing its value. Warehousing your intellectual property is just as good of an idea as warehousing your physical products.
  • #42: “So you move some files around, so what?” Let’s use an example from my time at Bazaarvoice to show how Operations is not a passive role.
  • #43: We used metrics to project for the period, which implied how much scaling we needed to do
  • #44: We collected metrics from many places to operate our system properly.
  • #45: Don’t be afraid to roll your own metrics tools – collection, visualization, analysis. We built out our own Web beacon to measure things more in depth than e.g. Google Analytics gives you. There is no “right tool,” just tools that suit your business.
  • #46: We used metrics (and built a custom visualization) to manage through the period – the whole company was watching our regular updates.
  • #47: Result? Smooth… like Keith Stone.
  • #48: Ernest: “Dev vs Ops! Using metrics! Who won? You decide!”
  • #49: Karthik: Psych! Dev and Ops can only win by coming together.
  • #50: Karthik
  • #51: Karthik
  • #52: Karthik
  • #53: Karthik
  • #54: Karthik
  • #55: Karthik Sysadmin Cat: https://www.flickr.com/photos/mendel/2680168375/in/set-72157606241982124
  • #57: Karthik Happy Cat: http://knowyourmeme.com/photos/100128-happy-cat
  • #58: Ernest
  • #59: Ernest: We’re talking about dev or ops but many of you just have “IT” – not delivering your product(s) but instead services that are consumed inside and in some cases outside your company. Does this picture remind you of your IT department? Show of hands!
  • #60: How about this?
  • #62: Ernest Intro All Epic Rap Battles of History images and dress taken from http://www.youtube.com/user/ERB
  • #63: What kind of org gets the most benefit out of metrics? Small or large? FIGHT!!!
  • #64: Karthik’s Part. Metrics rule more in small orgs!
  • #65: http://smallimprovementstech.files.wordpress.com/2013/11/img_6303.jpg
  • #66: http://danielalexandra.com/wp-content/uploads/2013/05/confused-baby.jpg
  • #77: Ernest’s Part. Metrics rule more in large orgs! Small orgs? Ha! They’re child’s play!
  • #86: So let’s take a specific example of how we used metrics to drive development at that level – A/B testing.
  • #87: We would use our metrics framework to do A/B testing on new features to determine their viability. This helps quickly try out variations and iterate towards a provably superior implementation. It’s easy to “be lean” when you’re little bitty. It’s a lot harder to stay lean in the long term in a large org.
  • #88: Ernest: “Large org or small org! Who won? You decide!”
  • #89: Ernest Intro
  • #90: Ernest: “Tiebreaker round! Everyone’s favorite competitors! Scrum vs Kanban, FIGHT!!!”
  • #91: Karthik’s Part. Kanban + Metrics is best!
  • #98: Ernest’s Part. Scrum+ Metrics is best!
  • #105: Ernest: “Who won? You decide! All right, the final winner of the Epic Rap Battles of History, Agile 2014 edition, is…”
  • #106: Ernest: Oh no, what’s happening?
  • #107: Ernest: Dr. Evil here! All this tomfoolery is well and good, but I wanted to discuss how to use metrics… For evil!
  • #108: First, demand more metrics. More is never enough. It doesn’t matter if you don’t understand what they mean. Every little metric is pretty hard to understand once you really look at it closely. So don’t try, just pile on more! The more metrics you have, the harder it’ll be to turn them into decisions! Then you don’t have to do anything. Success!
  • #109: Make sure people worship the metric. Even if they don’t know where it came from, or why it exists, or what it means you should do. You should totally make them continue to spend time and effort collecting it and reporting on it. Looking the same is way better than charting your own path.
  • #110: Don’t put up with “approximate” metrics or metrics that are more qualitative than quantitative. If a number doesn’t have at least two places after the decimal point, it doesn’t look very official, does it? Who cares how much effort it takes to get a metric to that precision, or that the precision is probably false? If someone gives you a metric that isn’t 100% rigorous, just shriek “You have failed me!” and dump them into the fire pit.
  • #111: And finally - use metrics against people! Groups should definitely fight using their metrics. You should use velocity metrics against individual engineers, too. Whatever the reason for a change in a metric is, make sure and frown and look unhappy to let your minions know that they should be making the number look good, who cares about that messy “reality” behind it. People are often reluctant to start keeping and advertising metrics because of the fear someone two levels up who doesn’t know what they mean is going to give them grief over it. So definitely do that! Dr. Evil, signing off!
  • #113: Karthik: “Well that was exciting, I can’t believe that side won! All right, now for your post battle recap.”
  • #116: Freestyle! (In other words, questions.)