3 ms·
I don't really care about service size. I care about service division across logical boundaries, namely encapsulated responsibilities. A properly architected se
by pageandrew 5y ago
I don't really care about service size. I care about service division across logical boundaries, namely encapsulated responsibilities. A properly architected service should be responsible for a particular domain, say payments, messaging, image processing, etc.
It's up to each team to decide where to draw those lines. I think that for most teams, domain-specific services are superior to task-specific microservices, since it strikes the best balance between the benefits of separate services and the infrastructural overhead required to run a distributed system.
That said I agree that you should start with a monolith.
- dgb23 5y ago> domain-specific services are superior to task-specific microservices Can you elaborate on that? Isn't "messaging" or "image processing" a task?
- konschubert 5y agoIf you go all in on micro-services, image processing may have an ingress service and a scaling service, and a conversion service, and, and, and...