Understanding the data within your application
Microservices architecture improves the performance and resilience of your applications by distributing functionalities in different pieces, allowing us to scale them up or down and continue serving some functionalities even when some components fail. But this distribution of functionalities entails the distribution of the data associated with each component and somehow sharing it when more than one component needs it. It is very important to also understand that your application must allow scaling up without corrupting the data in case more than one replica is accessing the same data. Running application components as containers will help us distribute the processes, keeping the same data content in each replica, and starting and stopping processes quickly. The container runtime will attach defined volumes to the containers, but it doesn’t manage your application’s logic. That’s why it is key to understand how data...