From monoliths to microservices
At the given time, they all meet in the designated room, settle down in the chairs, and wait for the presentation to begin. David starts, and after the formal introduction, he shows a picture of a hammer and some nails:
Figure 12.1 – Hammer and nails
David: When the only tool you have is a hammer, every problem looks like a nail.
The audience roars with laughter.
David: This was so true in our approach to application design when the only option we had was building a monolith. I will first explain to you about them and then we’ll talk about how microservices are a better solution. But let’s first hear what a monolith is by comparing it to a taco stand:
Figure 12.2 – A taco stand (Source: Photo by bradleyolin, at https://commons.wikimedia.org/wiki/File:Taco_stand.jpg, used under Creative Commons Attribution 2.0 Generic license.)
David: We can...