Although we discussed different aspects, what we have made is a RESTful web service for a simple blog in this book. We took that example to keep things simple in terms of business logic so that we can focus on our actual subject in detail. This was helpful, but in the real world, things are not that simple and small. There are big systems with different parts, which are difficult to maintain. These parts are also difficult to debug and scale. Scaling is different from just maintaining something and optimizing it for better performance. In scaling, optimization of both code and deployment environment matter. Scalability, maintainability, and performance have always been challenges that we have faced.
To handle this, we have an architectural style, known as microservices. So, in this chapter, we will discuss this. Microservices are not an essential thing to use. However, they solve some challenges that we often face while making RESTful web services for bigger systems...