Diese Präsentation wurde erfolgreich gemeldet.
Wir verwenden Ihre LinkedIn Profilangaben und Informationen zu Ihren Aktivitäten, um Anzeigen zu personalisieren und Ihnen relevantere Inhalte anzuzeigen. Sie können Ihre Anzeigeneinstellungen jederzeit ändern.

From Pets to Cattle to Bacteria OSCON BOF

We see a move of servers move from virtualization (cattle) to process separators (bacteria). What will the impact be to have servers that last only last as long a single process? At New Relic, we have customers monitoring Docker containers that last 5 minutes or less. How can organizations plan, develop and operate software in this environment? I’ll provide insights we gathered from our customers and from our own internal use of containers and short-lived servers.

  • Als Erste(r) kommentieren

From Pets to Cattle to Bacteria OSCON BOF

  1. 1. @ToriWieldt From Pets to Cattle to Bacteria TORI WIELDT JULY 2015
  2. 2. @ToriWieldt Evolution Add Copy Pet Photo: Chicken, the best dog ever Cattle Photo: John Comloquoy Bacteria image: R. Muir, Bacteriological Atlas
  3. 3. @ToriWieldt Kale Photo by Martin Bodman
  4. 4. @ToriWieldt Virtualization PETS CATTLE Server attached to particular app Servers typically on site Own and maintain Name and become attached Improved resource utilization Typically off site Vendor maintained Problems? Just delete Done? Delete
  5. 5. @ToriWieldt Containerization CATTLE BACTERIA VMs are “heavyweight” Images are hard to upload Not portable Typically “long lived” Lightweight A process isolator Alive for minutes
  6. 6. @ToriWieldt • Docker Monitoring Beta since May • 300 New Relic customers • 40,000 to 60,000 containers daily • > 2 million containers • Disclaimer: it’s early! New Relic CustomersUsing Docker
  7. 7. @ToriWieldt
  8. 8. @ToriWieldt ContainerLifespan
  9. 9. @ToriWieldt What To Monitor • Monitoring servers makes less sense • Applications span containers
  10. 10. @ToriWieldt F O R D E V E L O P E R S Implications Iterate fast and often Containers aren’t VM replacements Single container for a single process Processes working together to solve a problem
  11. 11. @ToriWieldt • New Relic 5th largest generator of data in the world • Using Docker for 1.5 years • Our Engineers have written the book! • From zero to using it for deployment of a huge release in 2 months • Started with simplest web apps • “We generate bacteria” • One process to create info and another to clean it up New Relic Use of Docker
  12. 12. @ToriWieldt Centurion • Docker Deployment Tool for repeatable deployments 1. Build ships container to Docker registry 2. Centurion sends container to Docker fleet • Developers can deploy apps • Open source tool • GitHub: Newrelic/centurion • Ruby Gem • Implementing Docker in Production at Scale This image is the work of Luc Viatour
  13. 13. @ToriWieldt F O R O P E R A T I O N S Implications Measure images, not servers Containers can provide 4-6x more capacity than VMs Update dependencies in sync w releases Separate builds from deployment Lower the bar for developer use of Docker Start simple: high throughput apps should not be the first thing you Dockerize