In the modern, cloud-based application era, the idea of a monolith application that manages all tasks no longer exists. The application is designed in small pieces, each handling a single business responsibility. Microservices is an architectural style in which a large complex application is composed of multiple, smaller services:
This style loosely couples the system being developed and each service can be developed independently. With Kotlin, it is much easier to write the microservices in order to experience the benefits of this architectural style of developing software.
In this chapter, we will discuss the following:
- Microservices and their architecture
- Breaking a monolith application into smaller microservices
- The benefits of the microservices architecture style
- How to test microservices