Docker High Performance, Second Edition

Espinosa, Allan, McKendrick, Russ

  • 出版商: Packt Publishing
  • 出版日期: 2019-04-30
  • 定價: $875
  • 售價: 8.0$700
  • 語言: 英文
  • 頁數: 174
  • 裝訂: Quality Paper - also called trade paper
  • ISBN: 1789807212
  • ISBN-13: 9781789807219
  • 相關分類: Docker
  • 立即出貨 (庫存=1)

商品描述

Key Features

  • Reconfigure Docker hosts to create a logging system with the ElasticSearch-Logstash-Kibana (ELK) stack
  • Tackle the challenges of large-scale container deployment with this fast-paced guide
  • Benchmark the performance of your Docker containers using Apache JMeter

Book Description

Docker is an enterprise-grade container platform that allows you to build and deploy your apps. Its portable format lets you run your code right from your desktop workstations to popular cloud computing providers. This comprehensive guide will improve your Docker work?ows and ensure your application's production environment runs smoothly.

This book starts with a refresher on setting up and running Docker and details the basic setup for creating a Docker Swarm cluster. You will then learn how to automate this cluster by using Chef Server and Cookbook. After that, you will run the Docker monitoring system with Prometheus and Grafana, and deploy the ELK stack. You will also learn some tips for optimizing Docker images.

After deploying containers with the help of Jenkins, you will then move on to a tutorial on using Apache JMeter to analyze your application's performance. You will learn how to use Docker Swarm and NGINX to load-balance your application and how common debugging tools in Linux can be used to troubleshoot Docker containers.

By the end of this book, you will be able to integrate all the optimizations that you have learned and put everything into practice in your applications.

What you will learn

  • Automate provisioning and setting up nodes in a Docker Swarm cluster
  • Configure a monitoring system with Prometheus and Grafana
  • Use Apache JMeter to create workloads for benchmarking the performance of Docker containers
  • Understand how to load-balance an application with Docker Swarm and Nginx
  • Deploy strace, tcdump, blktrace, and other Linux debugging tools to troubleshoot containers
  • Integrate Docker optimizations for DevOps, Site Reliability Engineering, CI, and CD

Who this book is for

If 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. Developers fascinated with containers and workflow automation with benefit from this book.

商品描述(中文翻譯)

主要特點


  • 重新配置Docker主機以使用ElasticSearch-Logstash-Kibana(ELK)堆棧創建日誌系統

  • 以快節奏的指南應對大規模容器部署的挑戰

  • 使用Apache JMeter對Docker容器的性能進行基準測試

書籍描述

Docker是一個企業級容器平台,允許您構建和部署應用程序。其可移植格式使您可以從桌面工作站直接運行代碼到流行的雲計算提供商。本全面指南將改進您的Docker工作流程,確保應用程序的生產環境運行順利。

本書首先回顧了設置和運行Docker的基礎知識,並詳細介紹了創建Docker Swarm集群的基本設置。然後,您將學習如何使用Chef Server和Cookbook自動化此集群。之後,您將使用Prometheus和Grafana運行Docker監控系統,並部署ELK堆棧。您還將學習一些優化Docker映像的技巧。

在使用Jenkins的幫助下部署容器之後,您將進一步學習使用Apache JMeter分析應用程序的性能的教程。您將學習如何使用Docker Swarm和NGINX來平衡應用程序的負載,以及如何使用Linux中的常見調試工具來解決Docker容器的問題。

通過閱讀本書,您將能夠整合所學的所有優化方法,並將其應用於實際應用程序中。

您將學到什麼


  • 自動化在Docker Swarm集群中配置和設置節點

  • 使用Prometheus和Grafana配置監控系統

  • 使用Apache JMeter創建用於基準測試Docker容器性能的工作負載

  • 了解如何使用Docker Swarm和Nginx平衡應用程序的負載

  • 部署strace、tcdump、blktrace和其他Linux調試工具以解決容器問題

  • 將Docker優化方法整合到DevOps、網站可靠性工程、CI和CD中

本書適合對象

如果您是一名具有良好的Docker服務管理和Linux文件系統管理理解的軟件開發人員,並且正在尋找優化使用Docker容器的方法,那麼本書適合您。對容器和工作流程自動化感興趣的開發人員也會從本書中受益。

作者簡介

Allan Espinosa is a DevOps practitioner and an active open source contributor to various distributed system tools, such as Docker and Chef. Allan maintains several Docker images for popular open source software that were popular even before their official release from the upstream open source groups.

Throughout his career, Allan has worked on large distributed systems containing hundreds to thousands of servers in production. He has built scalable applications on various platforms, ranging from large supercomputing centers to production clusters in the enterprise. He is currently managing distributed systems at scale for Bloomberg, where he oversees the company's Hadoop infrastructure. Allan can be contacted through his Twitter handle, @AllanEspinosa.

Russ McKendrick is an experienced system administrator who has been working in IT and related industries for over 25 years. During his career, he has had varied responsibilities, from looking after an entire IT infrastructure to providing first-line, second-line, and senior support in both client-facing and internal teams for large organizations.

Russ supports open source systems and tools on public and private clouds at N4Stack, a Node4 company, where he is the practice manager (SRE and DevOps). In his spare time, he has written several books including Mastering Docker, Learn Ansible and Kubernetes for Serverless Applications, all published by Packt Publishing.

作者簡介(中文翻譯)

Allan Espinosa 是一位 DevOps 實踐者,也是各種分散式系統工具(如 Docker 和 Chef)的積極開源貢獻者。Allan 維護了幾個受歡迎的開源軟體的 Docker 映像,這些軟體在官方發布之前就已經受到了上游開源團體的歡迎。

在他的職業生涯中,Allan 曾在包含數百到數千台伺服器的大型分散式系統上工作。他在各種平台上建立了可擴展的應用程式,從大型超級計算中心到企業生產集群。他目前在彭博社管理大規模分散式系統,負責監督公司的 Hadoop 基礎架構。您可以通過他的 Twitter 帳號 @AllanEspinosa 與 Allan 聯繫。

Russ McKendrick 是一位經驗豐富的系統管理員,他在 IT 及相關行業工作超過 25 年。在他的職業生涯中,他擔任過各種職責,從管理整個 IT 基礎架構到為大型組織的客戶和內部團隊提供一線、二線和高級支援。

Russ 在 N4Stack(一家 Node4 公司)支援公有雲和私有雲上的開源系統和工具,他是該公司的實踐經理(SRE 和 DevOps)。在業餘時間,他還撰寫了幾本書,包括《精通 Docker》、《學習 Ansible》和《用於無伺服器應用程式的 Kubernetes》,這些書都由 Packt Publishing 出版。

目錄大綱

  1. Preparing Docker Hosts
  2. Configuring Docker with Chef
  3. Monitoring Docker
  4. Optimizing Docker Images
  5. Deploying Containers
  6. Benchmarking
  7. Load Balancing
  8. Troubleshooting Containers
  9. Onto Production

目錄大綱(中文翻譯)

準備 Docker 主機
使用 Chef 配置 Docker
監控 Docker
優化 Docker 映像
部署容器
基準測試
負載平衡
解決容器問題
進入生產環境