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 ...