4 ms·
You can use the same data store with different services. If you have a web application that handles most of the traffic on your site, and you have some managem
by gt565k 11y ago
You can use the same data store with different services.
If you have a web application that handles most of the traffic on your site, and you have some management task/process that hogs resources in the same application, you're affecting your end users by running those processes on the same service.
The idea of microservices is to separate components so one does not affect the other, and you can scale individual components easily.
- StavrosK 11y agoDefine "application". You can easily have the task be a part of the same codebase and run on a different process or even server. For example, my Django maintenance commands run on a different server, and so do tasks, but they're still part of the same monolithic codebase.