Docker high performance : master performance enhancement practices for Docker, and unlock faster and more efficient container deployment that will improve your development workflow / Allan Espinosa.
Material type: TextSeries: Community experience distilledPublisher: Birmingham, UK : Packt Publishing, 2016Description: 1 online resource (1 volume) : illustrationsContent type:- text
- computer
- online resource
- 9781785888328
- 1785888323
- 1785886800
- 9781785886805
- 005.3 23
- QA76.76.A65
Description based on online resource; title from cover page (Safari, viewed February 12, 2016).
Includes index.
Annotation Master performance enhancement practices for Docker, and unlock faster and more efficient container deployment that will improve your development workflowAbout This Book Implement a scalable Docker infrastructure that has been optimized for greater efficiency Tackle the challenges of large-scale container deployment with this fast-paced guide Extend your capabilities as a developer to take full advantage of Docker and containerizationWho This Book Is ForIf you are a software developer with a good understanding of managing Docker services and the Linux file system and are looking for ways to optimize working with Docker containers, then this is the book for you.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 practicesIn DetailDocker 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.Style and approachThis is a comprehensive guide on real-world Docker workflows, and each topic is explained in an easy step-by-step format, accompanied by screenshots where required.
Cover ; Copyright; Credits; About the Author; About the Reviewer; www.PacktPub.com; Table of Contents; Preface; Chapter 1: Preparing Docker Hosts; Preparing a Docker host; Working with Docker images; Building Docker images; Pushing Docker images to a repository; Pulling Docker images from a repository; Running Docker containers; Exposing container ports; Publishing container ports; -- publish-all; -- publish; Linking containers; Interactive containers; Summary; Chapter 2 : Optimizing Docker Images; Reducing deployment time; Improving image build time; Using registry mirrors
Reusing image layersReducing the build context size; Using caching proxies; Reducing Docker image size; Chaining commands; Separating build and deployment images; Summary; Chapter 3 : Automating Docker Deployments with Chef; An introduction to configuration management; Using Chef; Signing up for a Chef server; Setting up our workstation; Bootstrap nodes; 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; Graphite in production
Monitoring with collectdCollecting Docker-related data; Running collectd inside Docker; Consolidating logs in an ELK stack; Forwarding Docker container logs; Other monitoring and logging solutions; Summary; Chapter 5 : Benchmarking; Setting up Apache JMeter; Deploying a sample application; Installing JMeter; Building a benchmark workload; Creating a test plan in JMeter; Analyzing benchmark results; Viewing the results of JMeter runs; Calculating throughput; Plotting response time; Observing performance in Graphite and Kibana; Tuning the benchmark; Increasing concurrency
Running distributed testsOther benchmarking tools; Summary; Chapter 6 : Load Balancing; Preparing a Docker host farm; Balancing load with Nginx; Scaling out our Docker applications; Deploying with zero downtime; Other load balancers; Summary; Chapter 7 : Troubleshooting Containers; Inspecting containers; Debugging from the outside; Tracing system calls; Analyzing network packets; Observing block devices; A stack of troubleshooting tools; Summary; Chapter 8 : Onto Production; Performing web operations; Supporting web applications with Docker; Deploying applications; Scaling applications
eBooks on EBSCOhost EBSCO eBook Subscription Academic Collection - Worldwide