December 2017
Intermediate to advanced
300 pages
8h 30m
English
Earlier, in the chapter on deployment, we looked at how to package a microservice into a Docker container. We also discussed in detail why containerization is useful in the microservice world. In this section, we will advance our skills with Docker and also see how easily we can scale our microservices with Docker Swarm.
Inherently, microservices are distributed systems and need to be distributed and isolated resources. Docker Swarm provides container orchestration clustering capabilities so that multiple Docker engines can work as single virtual engines. This is similar to load balancer capabilities; besides, it also creates new instances of containers or deletes containers, if the need arises.
You can ...
Read now
Unlock full access