Monolithic architecture
Before we move into the microservices architecture, let’s make sure we understand the concept of monolithic architecture. Breaking down the term “monolithic,” mono means single, and lithic means stone (thus, single stone). So, the monolithic software architectural style is where we encompass all the functionality into one single application, as shown in Figure 7.1.
Monolithic architecture unites all business concerns into a single, vast computer network with a single code base. This kind of application involves upgrading the complete stack to make changes, which includes generating and deploying an updated service-side interface and gaining access to the code base.
Figure 7.1 shows that we have a single application containing all the functionality, including the authentication service, order service, payment service, and shipping service, all of which are connected to a database. A typical web application developed with this kind of...