A microservice is a small application designed to perform a specific business task well. Microservices are typically implemented as RESTful web services. The following are some of the characteristics of a microservice:
- Smaller in size (compared to monolithic applications), and focuses on a single business task/module
- Has its own database, in contrast to a monolithic application that has one database for all business functionalities
- Is typically a standalone application, with a web container bundled into it
A large business application can be built by assembling smaller microservices. Compared to a large monolithic application, a microservice architecture provides the following benefits:
- They are easy to deploy. In a monolithic application, deployment can be quite cumbersome because of the complexity of the application. Microservices are...