With a Swarm infrastructure we can put up various types of load to deploy. We'll work on the application stack in this and the next chapter. In this chapter we'll:
The IT industry has always been keen on decoupling and reusing its creations, either source code or applications. Modeling applications at the architectural level is not an exception. Modularization was earlier called service-oriented architecture (SOA) and was kept glued by open source protocols based on XML. However, with the advent of containers, everyone is now speaking of micro services.
Micro services are small and self-contained autonomous modules that work together to accomplish an architectural goal.
The most inflated example of a micro service architecture is a web-application stack, for example WordPress, where web server might be one service, others being the database, cache engine, and the service containing the application itself. Modeling micro services through Docker containers can be done immediately and that's how the industry is moving ahead right now.
There are many advantages of using microservices and they are as follows: