Using this pattern, we provide one or more physical or virtual host and run multiple instances of microservices on each. This is the traditional approach to deploying applications. Each microservice instance runs on a well-known port on one or more hosts.
The following diagram shows the structure of this pattern:
The multiple service instances per host pattern has benefits and drawbacks. One of the key benefits is that it uses resources efficiently. Multiple instances of the service share the server and its operating system. Another benefit of this pattern is the relatively rapid deployment of a microservice ...