Service instance per VM
In this specialization of the pattern, we involve each microservice as an image of the Virtual Machine (VM). Each instance of a microservice is a VM, and the execution of this VM enables the microservice to work.
The service instance pattern per VM has a number of benefits. One of the main benefits of VMs is that each instance of microservice runs in a completely isolated manner, having fixed CPU and memory consumption, without competing for resource consumption with other microservices. Another great benefit of this pattern is the encapsulation of the technology used in the development of microservices.
Obviously, there are also disadvantages. A disadvantage is the less efficient resource utilization. Each service ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access