Docker for Microservices: Reasons
Explore the reasons Docker is used in microservices to ensure process isolation, scalability, and resource efficiency. Learn how Docker overcomes challenges of traditional OS processes and heavy virtual machines, making microservice deployment more robust and manageable.
We'll cover the following...
Chapter 2 defined microservices as separately deployable units. The separate deployment not only results in a decoupling at the architectural level, but also in regard to technology choice, robustness, security, and scalability.
OS processes for microservices #
If microservices are supposed to have all these characteristics, the question arises as to how they can be implemented. Microservices must be scalable independently of each other. In the event of a crash, a microservice must not be allowed to make other microservices unavailable, too, and thus endanger the robustness of the whole system. Therefore, microservices must at least be separate processes ...