Let's take a very simple example of a traditional monolithic application: a hotel booking website.
Besides the static HTML content, the website has a booking feature that will let its users book hotels in any city in the world. Users can search for hotels, then book them with their credit cards.
When a user performs a search on the hotel website, the application goes through the following steps:
- It runs a couple of SQL queries against its hotels' database.
- An HTTP request to a partner's service is made to add more hotels to the list.
- An HTML results page is generated using an HTML template engine.
From there, once the user has found the perfect hotel and clicked on it to book it, the application performs these steps: ...