Using microservices and serverless
As we tested throughout this whole chapter, breaking the monolith into several pieces produces many advantages but also complicates the whole system.Â
This concept is amplified when we use a microservices and serverless approach. This is because, if you use these two approaches in the correct way, it is possible to increase scalability, increase reliability, and reduce infrastructure costs. However, you always need to consider that the system will be more complex to build and manage. This leads to increasing the build and operative cost, especially if it is the first time that your team builds and manages a system with this kind of approach.Â
The following image represents the concept of load and cost with micro services and serverless:
Image source: https://medium.freecodecamp.org/serverless-is-cheaper-not-simpler-a10c4fc30e49