6 ms·
I think people really exaggerated with the microservices trend. Today, I recommend to keep code in the same executable unless there is a good reason not to. Goo
by anticristi 4y ago
I think people really exaggerated with the microservices trend. Today, I recommend to keep code in the same executable unless there is a good reason not to. Good reasons include:
- Stateful vs stateless: databases and message queues should be your first (hopefully off-the-shelf) "microservices".
- Different lifecycles: API serving vs background task
- Different security needs: Frontoffice vs Backoffice code
- Different teams: But make sure to introduce a clear customer-vendor relationship.