Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Docker High Performance

You're reading from   Docker High Performance Complete your Docker journey by optimizing your application's work?ows and performance

Arrow left icon
Product type Paperback
Published in Apr 2019
Publisher
ISBN-13 9781789807219
Length 174 pages
Edition 2nd Edition
Tools
Arrow right icon
Authors (2):
Arrow left icon
Russ McKendrick Russ McKendrick
Author Profile Icon Russ McKendrick
Russ McKendrick
Allan Espinosa Allan Espinosa
Author Profile Icon Allan Espinosa
Allan Espinosa
Arrow right icon
View More author details
Toc

Table of Contents (11) Chapters Close

Scaling applications


When we receive alerts from our monitoring system, as in Chapter 3, Monitoring Docker, that the pool of Docker containers running our web application is not loaded, it is time to scale out. We accomplished this using load balancers in Chapter 7, Load Balancing. The following diagram shows the high-level architecture of the commands we ran in Chapter 7, Load Balancing:

When we decide to scale out and add an additional Docker host, we can automate the process with a Scale out orchestrator component. This can be a series of simple shell scripts that we will install inside a build server, such as Jenkins. The orchestrator will basically ask the cloud provider API to create a New Docker Host. This request will then provision the Docker host and run the initial bootstrap script to download the configuration from our Configuration Management System in Chapter 2, Configuring Docker with Chef. This will then increase the number of nodes in our Docker Swarm cluster. After this...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image