How do you determine the right size for a service, and what are the dangers of making a service too small (nanoservices)?
Last updated
Size by business capability and cohesion, not lines of code: one clear responsibility, independently deployable, and owned by a single team.
Nanoservices (too-small services) cause chatty network calls, distributed transaction headaches, heavy operational overhead, and hidden coupling between fragments that always change together.
Start coarser and split only under real pressure (differing scaling needs, change rates, or team boundaries).
- https://www.geeksforgeeks.org/system-design/top-microservices-interview-questions/
- https://www.geeksforgeeks.org/system-design/microservices-resilience-patterns/
- https://medium.com/@RichaShukla2111/saga-pattern-a-practical-guide-to-distributed-transactions-in-microservices-f4f0f27755f0
- https://dev.to/athulmr/making-rest-microservices-resilient-bulkhead-retry-circuit-breaker-in-practice-1mpl
- https://blog.bytebytego.com/p/6-more-microservices-interview-questions