Docker High Performance

Master performance enhancement practices for Docker, and unlock faster and more efficient container deployment that will improve your development workflow

Docker High Performance

This ebook is included in a Mapt subscription
Allan Espinosa

1 customer reviews
Master performance enhancement practices for Docker, and unlock faster and more efficient container deployment that will improve your development workflow
$10.00
$34.99
RRP $27.99
RRP $34.99
eBook
Print + eBook
Access every Packt eBook & Video for just $100
 
  • 4,000+ eBooks & Videos
  • 40+ New titles a month
  • 1 Free eBook/Video to keep every month
Find Out More
 
Preview in Mapt

Book Details

ISBN 139781785886805
Paperback160 pages

Book Description

Docker is a portable container format that allows you to run code anywhere from your desktop to the cloud. The workflow around Docker makes development, testing, and deployment much easier and much faster. However, it’s essential that you know the best practices most techniques for optimization so Docker can help you deploy your application most effectively.

This comprehensive guide will improve your Docker workflows and will ensure your application’s production environment runs smoothly. It starts with a short refresher on working with Docker, then you will learn how to take this basic knowledge to the next level by optimizing your Docker infrastructure and applications at scale. At the end of the book, we will put the concepts and everything you have learned about Docker’s features into practice by rolling out supplementary monitoring and troubleshooting instrumentation to your infrastructure. All of these things will ensure your application succeeds using Docker.

Table of Contents

Chapter 1: Preparing Docker Hosts
Preparing a Docker host
Working with Docker images
Running Docker containers
Summary
Chapter 2: Optimizing Docker Images
Reducing deployment time
Improving image build time
Reducing Docker image size
Summary
Chapter 3: Automating Docker Deployments with Chef
An introduction to configuration management
Using Chef
Configuring the Docker host
Deploying Docker containers
Alternative methods
Summary
Chapter 4: Monitoring Docker Hosts and Containers
The importance of monitoring
Collecting metrics to Graphite
Monitoring with collectd
Consolidating logs in an ELK stack
Forwarding Docker container logs
Other monitoring and logging solutions
Summary
Chapter 5: Benchmarking
Setting up Apache JMeter
Building a benchmark workload
Analyzing benchmark results
Tuning the benchmark
Other benchmarking tools
Summary
Chapter 6: Load Balancing
Preparing a Docker host farm
Balancing load with Nginx
Scaling out our Docker applications
Other load balancers
Summary
Chapter 7: Troubleshooting Containers
Inspecting containers
Debugging from the outside
A stack of troubleshooting tools
Summary
Chapter 8: Onto Production
Performing web operations
Supporting web applications with Docker
Deploying applications
Scaling applications
Further reading
Summary

What You Will Learn

  • Tune your Dockerfiles and optimize the performance and size of your Docker containers
  • Configure and tune your Docker hosts at scale with Chef
  • Deploy containers without downtime using load balancers
  • Listen to your Docker container and host logs with an ELK stack
  • Monitor the performance of your Docker containers with collectd
  • Benchmark the performance of your web application containers with Apache JMeter
  • Troubleshoot and diagnose containers using standard Linux diagnostic tools
  • Prepare for production with the most effective DevOps practices

Authors

Table of Contents

Chapter 1: Preparing Docker Hosts
Preparing a Docker host
Working with Docker images
Running Docker containers
Summary
Chapter 2: Optimizing Docker Images
Reducing deployment time
Improving image build time
Reducing Docker image size
Summary
Chapter 3: Automating Docker Deployments with Chef
An introduction to configuration management
Using Chef
Configuring the Docker host
Deploying Docker containers
Alternative methods
Summary
Chapter 4: Monitoring Docker Hosts and Containers
The importance of monitoring
Collecting metrics to Graphite
Monitoring with collectd
Consolidating logs in an ELK stack
Forwarding Docker container logs
Other monitoring and logging solutions
Summary
Chapter 5: Benchmarking
Setting up Apache JMeter
Building a benchmark workload
Analyzing benchmark results
Tuning the benchmark
Other benchmarking tools
Summary
Chapter 6: Load Balancing
Preparing a Docker host farm
Balancing load with Nginx
Scaling out our Docker applications
Other load balancers
Summary
Chapter 7: Troubleshooting Containers
Inspecting containers
Debugging from the outside
A stack of troubleshooting tools
Summary
Chapter 8: Onto Production
Performing web operations
Supporting web applications with Docker
Deploying applications
Scaling applications
Further reading
Summary

Book Details

ISBN 139781785886805
Paperback160 pages
Read More
From 1 reviews

Read More Reviews