Chapter 15. Scaling Dockerized Microservices with Mesos and Marathon
In order to leverage full power of a cloud-like environment, the dockerized microservice instances should also be capable of scaling out and shrinking automatically, based on the traffic patterns. However, this could lead to another problem. Once there are many microservices, it is not easy to manually manage thousands of dockerized microservices. It is essential to have an infrastructure abstraction layer and a strong container orchestration platform to successfully manage internet-scale dockerized microservice deployments.
This chapter will explain the basic scaling approaches and the need and use of Mesos and Marathon as an infrastructure-orchestration layer to achieve optimized resource usage in a cloud-like environment when deploying microservices at scale. This chapter will also provide a step-by-step approach to setting up Mesos and Marathon in a cloud environment. Finally, this chapter will demonstrate how to manage...