Scaling Services Up and Down

As the number of requests coming into your application increases or decreases, there will be a need to scale the infrastructure. We have recently worked with node replicas running the same WordPress installation we made.

Note

That is a very basic example of a production-level setup. Ideally, we would need a few more manager nodes and replicas, but since we are running a demo, this will be sufficient.

Scaling involves both the increase and decrease of resources depending on an application's traffic.

Scaling Our Database Service

We will scale our database service as an example of how to scale services. In a real-world scenario, cloud services such as Google Cloud Platform and Amazon Web Services may have automatic scaling ...

Get Beginning DevOps with Docker now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.