The ability to scale a particular application service is one of the greatest benefits of using this architectural style. A business's ability to meet its growing demands depends on the ability of its application to scale as needed. While breaking the application into microservices gives us flexibility in scaling individual services, it also adds the complexity of knowing which service to scale. You can pick microservices that deal with critical business aspects, such as an eCommerce checkout service, and equip them with more hardware resources.
When packaging a microservice, you can bundle it as an executable JAR file. Solutions such as Spring Boot, Wildfly Swarm, and Dropwizard support this. With these approaches, you can bundle your application along with a server which starts as part of your application. You can also use Payara Micro, which...