SlideShare a Scribd company logo
Docker Usage Patterns
No Hype, Just Data
Docker Meetup Paris

Nov 10, 2015
Benjamin Fernandes
Software Engineer — Datadog

@LotharSee

About Me
• MS, CS degree from Ecole Centrale Paris

Former chairman at VIA Centrale Réseaux

• Joined Datadog 3 years ago

• Worked on Datadog’s integration with
Docker and its ecosystem
Benjamin Fernandes

Software Engineer
Datadog
@LotharSee
Quick Overview of Datadog
Datadog gathers performance data from all your application and infrastructure components.
• Monitoring for modern applications

1. Dynamic Infrastructure

2. Containers (Docker, ECS, Mesos, k8s, and more…)

3. Microservices

• Time series storage of metrics and events

• Trending, alerting and anomaly detection

!
• We’re hiring! (New York, Paris, Remote)
Monitor Everything
Datadog gathers performance data from all your application components.
Why so much Docker?
Avoid Dependency Hell
Who is running Docker today?
Docker Adoption
What about in production?
Docker Adoption
Adopter: the average number of containers running during
the month was at least 50% the number of distinct hosts run,
or there were at least as many distinct containers as distinct
hosts run during the month.
Dabbler: used Docker during the month, but did not reach the
“adopter” threshold.
Abandoner: a currently active company that used Docker in
the past, but hasn't used it at all in the last month.
Study from 7000 organizations.
Docker Adoption
Turns out you aren’t alone!
Docker Adoption
Source: http://dtdg.co/dckr-adopt
Fact 1: Docker Adoption Up 5x in 1 Year
Docker Adoption Growth
We’ve see 5x increase of Docker adoption over the last year.
Fact 2: Docker now runs on 6% of hosts we monitor
Docker Usage Patterns - Meetup Docker Paris - November, 10th 2015
Fact 3: Larger Companies Are the Early Adopters!
Docker Usage Patterns - Meetup Docker Paris - November, 10th 2015
Fact 4: 2/3 of Companies That Try Docker Adopt It
Docker Usage Patterns - Meetup Docker Paris - November, 10th 2015
Fact 5: Users 3x the Number of Containers They Use in 5
Months
Docker Usage Patterns - Meetup Docker Paris - November, 10th 2015
Fact 6: Most Widely Used Images Are Registry, NGINX,
and Redis
Docker Usage Patterns - Meetup Docker Paris - November, 10th 2015
Fact 7: Docker Hosts Often Run Four Containers at a
Time
Fact 8: VMs Live 4x Longer Than Containers
Docker Usage Patterns - Meetup Docker Paris - November, 10th 2015
Bonus fact. Thanks The Onion.
Docker Usage Patterns - Meetup Docker Paris - November, 10th 2015
Operational Complexity
• Average containers per host: N (N=4, 10/2015)!
• N-times as many “hosts” to manage!
• Affects!
• provisioning: prep’ing & building containers!
• configuration: passing config to containers!
• orchestration: deciding where/when containers run!
• monitoring: making sure containers run properly
Operational Complexity: Scale
100
instances
400
containers
Operational Complexity: Scale
160
metrics per host
640
metrics per host
Assuming 4 containers per host
Operational Complexity: Scale
100
instances
64,000
metrics
Assuming 4 containers per host
Operational Complexity: Velocity
So what does that mean for
monitoring and management?
Docker Usage Patterns - Meetup Docker Paris - November, 10th 2015
Monitoring Needs and Pains
• Avoid Static config files tracking dynamic infrastructure.
Monitoring Needs and Pains
• Avoid Static config files tracking dynamic infrastructure.
• Avoid a host centric view. Focus on service level.
Monitoring Needs and Pains: Host Centric vs Service
Centric
Monitoring Needs and Pains
• Avoid Static config files tracking dynamic infrastructure.
• Avoid a host centric view. Focus on service level.
• Use tags, labels, etc on your hosts and metrics to form queries.
Monitoring Needs and Pains: Query Based Monitoring
“Show me rate of HTTP 500 responses from nginx”
“… in region us-east-1 across all availability zones”
“… running my app version 2….”
• Use tags, labels, etc on your hosts and metrics to form queries.
• Pull in labels from your infrastructure whether EC2, Docker or your
scheduler.
• Ask questions that will ring true regardless of your scale that day.
Monitoring Needs and Pains
• Avoid Static config files tracking dynamic infrastructure.
• Avoid a host centric view. Focus on service level.
• Use tags, labels, etc on your hosts and metrics to form queries.
• Know your underlying tech. In this case Docker and how to pull
metrics from it.
Collecting Docker Metrics
Collecting Docker Metrics: stats
• Continuous live stream of basic CPU, memory, & network metrics.!
• At least version 1.5.0 of Docker (released Feb 2015)!
!
• docker stats --no-stream $(docker ps -q)
Collecting Docker Metrics: stats api
• Stream of JSON, more detailed
Collecting Docker Metrics: Pseudo Files
• If you want to do it manually!
!
• CPU/Mem metrics!
• Access via sysfs in /sys/fs/cgroup or /cgroup!
• By default do not require root access!
• Network metrics!
• /proc/$PID/net/dev!
• Disk IO metrics!
• /proc/$PID/io
Docker Usage Patterns - Meetup Docker Paris - November, 10th 2015
What to do with that?
Appendix A:
Monitoring 101 Crash Course
More at: http://goo.gl/t1Rgcg
Monitoring 101: Categorize Your Metrics
More at: http://goo.gl/t1Rgcg
Monitoring 101: Focus on symptoms
More at: http://goo.gl/t1Rgcg
Recurse until you find root cause.
More at: http://goo.gl/t1Rgcg
Woof!

More Related Content

PDF
Virtualization at Gilt - Rangarajan Radhakrishnan
PPTX
Lifting the Blinds: Monitoring Windows Server 2012
PDF
Fact-Based Monitoring - PuppetConf 2014
PDF
Monitoring kubernetes across data center and cloud
PDF
Monitoring Docker at Scale - Docker San Francisco Meetup - August 11, 2015
PDF
The Data Mullet: From all SQL to No SQL back to Some SQL
PDF
Events and metrics the Lifeblood of Webops
PDF
Running & Monitoring Docker at Scale
Virtualization at Gilt - Rangarajan Radhakrishnan
Lifting the Blinds: Monitoring Windows Server 2012
Fact-Based Monitoring - PuppetConf 2014
Monitoring kubernetes across data center and cloud
Monitoring Docker at Scale - Docker San Francisco Meetup - August 11, 2015
The Data Mullet: From all SQL to No SQL back to Some SQL
Events and metrics the Lifeblood of Webops
Running & Monitoring Docker at Scale

What's hot (18)

PDF
Just enough web ops for web developers
PDF
Velocity NYC 2016 - Containers @ Netflix
PDF
Datadog- Monitoring In Motion
PDF
Netflix Container Runtime - Titus - for Container Camp 2016
PDF
Netflix Cloud Architecture and Open Source
PDF
Application Monitoring using Datadog
PDF
Diagnosing Problems in Production: Cassandra Summit 2014
PDF
Scalable and Reliable Logging at Pinterest
PDF
QCon NYC: Distributed systems in practice, in theory
PPTX
Distributed architecture in a cloud native microservices ecosystem
PDF
Serverless Swift for Mobile Developers
PDF
Cassandra Day Denver 2014: Setting up a DataStax Enterprise Instance on Micro...
PDF
AgileTW Feat. DevOpsTW: 維運 Kubernetes 的兩三事
PDF
The new Netflix API
PDF
Python & Cassandra - Best Friends
PDF
NetflixOSS Meetup S6E2 - Spinnaker, Kayenta
PDF
QConSF18 - Disenchantment: Netflix Titus, its Feisty Team, and Daemons
PPTX
Arc305 how netflix leverages multiple regions to increase availability an i...
Just enough web ops for web developers
Velocity NYC 2016 - Containers @ Netflix
Datadog- Monitoring In Motion
Netflix Container Runtime - Titus - for Container Camp 2016
Netflix Cloud Architecture and Open Source
Application Monitoring using Datadog
Diagnosing Problems in Production: Cassandra Summit 2014
Scalable and Reliable Logging at Pinterest
QCon NYC: Distributed systems in practice, in theory
Distributed architecture in a cloud native microservices ecosystem
Serverless Swift for Mobile Developers
Cassandra Day Denver 2014: Setting up a DataStax Enterprise Instance on Micro...
AgileTW Feat. DevOpsTW: 維運 Kubernetes 的兩三事
The new Netflix API
Python & Cassandra - Best Friends
NetflixOSS Meetup S6E2 - Spinnaker, Kayenta
QConSF18 - Disenchantment: Netflix Titus, its Feisty Team, and Daemons
Arc305 how netflix leverages multiple regions to increase availability an i...
Ad

Viewers also liked (20)

PDF
Datadog + VictorOps Webinar
PDF
Dataday Texas 2016 - Datadog
PDF
Data Warehouse vs. Live Datamart - Comparison and Differences
PPTX
Caching, Scaling, and What I've Learned from WordPress.com VIP
PDF
Matthew Kaufman Future Of Communication With Rtmfp Final Revised
PPTX
Keeping web servers safe and profitable with Imunify360
PDF
Content marketing @ Server Density
PPTX
How to optimize CloudLinux OS limits
PPTX
cache concepts and varnish-cache
PPTX
how to mesure web performance metrics
PDF
Caching with Varnish
ODP
Nginx monitoring with graphite
PPTX
Varnish Cache and its usage in the real world!
PPTX
How lve stats2 works for you and your customers
PPTX
LVE Manager's New UI
PPTX
Supercharging your PHP pages with mod_lsapi in CloudLinux OS
DOCX
Redis vs Memcached
PDF
Monitoring NGINX (plus): key metrics and how-to
PDF
Chaos patterns - architecting for failure in distributed systems
PDF
Single tenant software to multi-tenant SaaS using K8S
Datadog + VictorOps Webinar
Dataday Texas 2016 - Datadog
Data Warehouse vs. Live Datamart - Comparison and Differences
Caching, Scaling, and What I've Learned from WordPress.com VIP
Matthew Kaufman Future Of Communication With Rtmfp Final Revised
Keeping web servers safe and profitable with Imunify360
Content marketing @ Server Density
How to optimize CloudLinux OS limits
cache concepts and varnish-cache
how to mesure web performance metrics
Caching with Varnish
Nginx monitoring with graphite
Varnish Cache and its usage in the real world!
How lve stats2 works for you and your customers
LVE Manager's New UI
Supercharging your PHP pages with mod_lsapi in CloudLinux OS
Redis vs Memcached
Monitoring NGINX (plus): key metrics and how-to
Chaos patterns - architecting for failure in distributed systems
Single tenant software to multi-tenant SaaS using K8S
Ad

Similar to Docker Usage Patterns - Meetup Docker Paris - November, 10th 2015 (20)

PDF
DockerCon EU 2015: Monitoring Docker
PPTX
Monitoring Docker containers - Docker NYC Feb 2015
PPTX
How to build a container monitoring solution - David Gildeh, CEO and Co-Found...
PPTX
Monitoring docker containers and dockerized applications
PPTX
Monitoring docker-container-and-dockerized-applications
PPTX
Monitoring docker container and dockerized applications
PPTX
Monitoring-Docker-Container-and-Dockerized-Applications
PDF
Scaling and Monitoring Docker environments
PPTX
Lectre # 11 (VS&S). virtualization .pptx
PPTX
DockerCon EU 2015: Docker Monitoring
PPTX
2015 DockeCon monitoring presentation
PPTX
Monitoring Docker Containers and Dockererized Application
PDF
Docker Monitoring Webinar
PDF
Performance Monitoring for Docker Environments - Docker Amsterdam June Meetup
PDF
Monitoring in 2017 - TIAD Camp Docker
PDF
Common primitives in Docker environments
PDF
Monitoring your shiny new docker environment
PDF
Overcoming 5 Common Docker Challenges: How We Do It at RightScale
PDF
Accelerate your software development with Docker
PPTX
Accelerate your development with Docker
DockerCon EU 2015: Monitoring Docker
Monitoring Docker containers - Docker NYC Feb 2015
How to build a container monitoring solution - David Gildeh, CEO and Co-Found...
Monitoring docker containers and dockerized applications
Monitoring docker-container-and-dockerized-applications
Monitoring docker container and dockerized applications
Monitoring-Docker-Container-and-Dockerized-Applications
Scaling and Monitoring Docker environments
Lectre # 11 (VS&S). virtualization .pptx
DockerCon EU 2015: Docker Monitoring
2015 DockeCon monitoring presentation
Monitoring Docker Containers and Dockererized Application
Docker Monitoring Webinar
Performance Monitoring for Docker Environments - Docker Amsterdam June Meetup
Monitoring in 2017 - TIAD Camp Docker
Common primitives in Docker environments
Monitoring your shiny new docker environment
Overcoming 5 Common Docker Challenges: How We Do It at RightScale
Accelerate your software development with Docker
Accelerate your development with Docker

More from Datadog (17)

PPTX
What it Means to be a Next-Generation Managed Service Provider
PDF
PyData NYC 2015 - Automatically Detecting Outliers with Datadog
PDF
Treating Infrastructure as Garbage
PDF
Big (IT) data
PDF
Deep dive into Nagios analytics
PDF
Customer Ops: DevOps <3 customer support
PDF
I <3 graphs in 20 slides
PDF
Effective monitoring with StatsD
PDF
Alerting: more signal, less noise, less pain
PDF
Fact based monitoring
PDF
Fact-Based Monitoring
PDF
What’s in this Cookbook? - Mike Fiedler
PDF
I Love Graphs - Alexis Lê-Quôc
PDF
Why Puppet Sucks - Rob Terhaar
PDF
Welcome to a Computing Revolution - Alex Lesser
PDF
Cosa Nostra - Tom Santero
PDF
Bulk Exporting from Cassandra - Carlo Cabanilla
What it Means to be a Next-Generation Managed Service Provider
PyData NYC 2015 - Automatically Detecting Outliers with Datadog
Treating Infrastructure as Garbage
Big (IT) data
Deep dive into Nagios analytics
Customer Ops: DevOps <3 customer support
I <3 graphs in 20 slides
Effective monitoring with StatsD
Alerting: more signal, less noise, less pain
Fact based monitoring
Fact-Based Monitoring
What’s in this Cookbook? - Mike Fiedler
I Love Graphs - Alexis Lê-Quôc
Why Puppet Sucks - Rob Terhaar
Welcome to a Computing Revolution - Alex Lesser
Cosa Nostra - Tom Santero
Bulk Exporting from Cassandra - Carlo Cabanilla

Recently uploaded (20)

PDF
Understanding Forklifts - TECH EHS Solution
PPTX
ISO 45001 Occupational Health and Safety Management System
PPTX
CHAPTER 12 - CYBER SECURITY AND FUTURE SKILLS (1) (1).pptx
PDF
Design an Analysis of Algorithms II-SECS-1021-03
PDF
Odoo Companies in India – Driving Business Transformation.pdf
PPTX
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
PPTX
Transform Your Business with a Software ERP System
PDF
top salesforce developer skills in 2025.pdf
PPTX
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
PDF
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
PDF
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
PDF
How to Choose the Right IT Partner for Your Business in Malaysia
PDF
Digital Strategies for Manufacturing Companies
PDF
Adobe Illustrator 28.6 Crack My Vision of Vector Design
PDF
System and Network Administration Chapter 2
PDF
System and Network Administraation Chapter 3
PPTX
Operating system designcfffgfgggggggvggggggggg
PPTX
CHAPTER 2 - PM Management and IT Context
PPTX
Odoo POS Development Services by CandidRoot Solutions
PDF
AI in Product Development-omnex systems
Understanding Forklifts - TECH EHS Solution
ISO 45001 Occupational Health and Safety Management System
CHAPTER 12 - CYBER SECURITY AND FUTURE SKILLS (1) (1).pptx
Design an Analysis of Algorithms II-SECS-1021-03
Odoo Companies in India – Driving Business Transformation.pdf
Agentic AI : A Practical Guide. Undersating, Implementing and Scaling Autono...
Transform Your Business with a Software ERP System
top salesforce developer skills in 2025.pdf
Lecture 3: Operating Systems Introduction to Computer Hardware Systems
Addressing The Cult of Project Management Tools-Why Disconnected Work is Hold...
Claude Code: Everyone is a 10x Developer - A Comprehensive AI-Powered CLI Tool
How to Choose the Right IT Partner for Your Business in Malaysia
Digital Strategies for Manufacturing Companies
Adobe Illustrator 28.6 Crack My Vision of Vector Design
System and Network Administration Chapter 2
System and Network Administraation Chapter 3
Operating system designcfffgfgggggggvggggggggg
CHAPTER 2 - PM Management and IT Context
Odoo POS Development Services by CandidRoot Solutions
AI in Product Development-omnex systems

Docker Usage Patterns - Meetup Docker Paris - November, 10th 2015

  • 1. Docker Usage Patterns No Hype, Just Data Docker Meetup Paris
 Nov 10, 2015 Benjamin Fernandes Software Engineer — Datadog @LotharSee

  • 2. About Me • MS, CS degree from Ecole Centrale Paris
 Former chairman at VIA Centrale Réseaux
 • Joined Datadog 3 years ago
 • Worked on Datadog’s integration with Docker and its ecosystem Benjamin Fernandes
 Software Engineer Datadog @LotharSee
  • 3. Quick Overview of Datadog Datadog gathers performance data from all your application and infrastructure components. • Monitoring for modern applications 1. Dynamic Infrastructure 2. Containers (Docker, ECS, Mesos, k8s, and more…) 3. Microservices • Time series storage of metrics and events • Trending, alerting and anomaly detection ! • We’re hiring! (New York, Paris, Remote)
  • 4. Monitor Everything Datadog gathers performance data from all your application components.
  • 5. Why so much Docker?
  • 7. Who is running Docker today? Docker Adoption
  • 8. What about in production? Docker Adoption
  • 9. Adopter: the average number of containers running during the month was at least 50% the number of distinct hosts run, or there were at least as many distinct containers as distinct hosts run during the month. Dabbler: used Docker during the month, but did not reach the “adopter” threshold. Abandoner: a currently active company that used Docker in the past, but hasn't used it at all in the last month. Study from 7000 organizations. Docker Adoption
  • 10. Turns out you aren’t alone! Docker Adoption Source: http://dtdg.co/dckr-adopt
  • 11. Fact 1: Docker Adoption Up 5x in 1 Year
  • 12. Docker Adoption Growth We’ve see 5x increase of Docker adoption over the last year.
  • 13. Fact 2: Docker now runs on 6% of hosts we monitor
  • 15. Fact 3: Larger Companies Are the Early Adopters!
  • 17. Fact 4: 2/3 of Companies That Try Docker Adopt It
  • 19. Fact 5: Users 3x the Number of Containers They Use in 5 Months
  • 21. Fact 6: Most Widely Used Images Are Registry, NGINX, and Redis
  • 23. Fact 7: Docker Hosts Often Run Four Containers at a Time
  • 24. Fact 8: VMs Live 4x Longer Than Containers
  • 26. Bonus fact. Thanks The Onion.
  • 28. Operational Complexity • Average containers per host: N (N=4, 10/2015)! • N-times as many “hosts” to manage! • Affects! • provisioning: prep’ing & building containers! • configuration: passing config to containers! • orchestration: deciding where/when containers run! • monitoring: making sure containers run properly
  • 30. Operational Complexity: Scale 160 metrics per host 640 metrics per host Assuming 4 containers per host
  • 33. So what does that mean for monitoring and management?
  • 35. Monitoring Needs and Pains • Avoid Static config files tracking dynamic infrastructure.
  • 36. Monitoring Needs and Pains • Avoid Static config files tracking dynamic infrastructure. • Avoid a host centric view. Focus on service level.
  • 37. Monitoring Needs and Pains: Host Centric vs Service Centric
  • 38. Monitoring Needs and Pains • Avoid Static config files tracking dynamic infrastructure. • Avoid a host centric view. Focus on service level. • Use tags, labels, etc on your hosts and metrics to form queries.
  • 39. Monitoring Needs and Pains: Query Based Monitoring “Show me rate of HTTP 500 responses from nginx” “… in region us-east-1 across all availability zones” “… running my app version 2….” • Use tags, labels, etc on your hosts and metrics to form queries. • Pull in labels from your infrastructure whether EC2, Docker or your scheduler. • Ask questions that will ring true regardless of your scale that day.
  • 40. Monitoring Needs and Pains • Avoid Static config files tracking dynamic infrastructure. • Avoid a host centric view. Focus on service level. • Use tags, labels, etc on your hosts and metrics to form queries. • Know your underlying tech. In this case Docker and how to pull metrics from it.
  • 42. Collecting Docker Metrics: stats • Continuous live stream of basic CPU, memory, & network metrics.! • At least version 1.5.0 of Docker (released Feb 2015)! ! • docker stats --no-stream $(docker ps -q)
  • 43. Collecting Docker Metrics: stats api • Stream of JSON, more detailed
  • 44. Collecting Docker Metrics: Pseudo Files • If you want to do it manually! ! • CPU/Mem metrics! • Access via sysfs in /sys/fs/cgroup or /cgroup! • By default do not require root access! • Network metrics! • /proc/$PID/net/dev! • Disk IO metrics! • /proc/$PID/io
  • 46. What to do with that?
  • 47. Appendix A: Monitoring 101 Crash Course More at: http://goo.gl/t1Rgcg
  • 48. Monitoring 101: Categorize Your Metrics More at: http://goo.gl/t1Rgcg
  • 49. Monitoring 101: Focus on symptoms More at: http://goo.gl/t1Rgcg
  • 50. Recurse until you find root cause. More at: http://goo.gl/t1Rgcg
  • 51. Woof!