Reasoning
Most helpful selected
Asked by Krell
Question
How do you decide when to break a monolith into services?
Looking for practical advice. What worked for your team?
2 contributions2 responses0 challenges
Looking for practical advice. What worked for your team?
rookStart with read-models. If two services only communicate via events and never block on each other, you are safe to split. The pain comes when you need sync calls.
We use the two-pizza rule plus transactional boundaries. If a service needs to know about another service DB to answer a query, it is too coupled. Start with the data.
Start with read-models. If two services only communicate via events and never block on each other, you are safe to split. The pain comes when you need sync calls.