- Mastering Microservices with Java 9(Second Edition)
- Sourabh Sharma
- 158字
- 2021-07-02 21:54:41
Limitation of monolithic architecture versus its solution with microservices
As we know, change is eternal. Humans always look for better solutions. This is how microservices became what it is today and it may evolve further in the future. Today, organizations are using Agile methodologies to develop applications--it is a fast-paced development environment and it is also on a much larger scale after the invention of cloud and distributed technologies. Many argue that monolithic architecture could also serve a similar purpose and be aligned with Agile methodologies, but microservices still provides a better solution to many aspects of production-ready applications.
To understand the design differences between monolithic and microservices, let's take an example of a restaurant table-booking application. This application may have many services such as customers, bookings, analytics and so on, as well as regular components such as presentation and database.
We'll explore three different designs here; traditional monolithic design, monolithic design with services, and microservices design.