A distributed system is an application whose components run as separate processes or services and communicate across a network. A microservices application is one form of distributed system, but services can be sized to suit the problem rather than made as small as possible. section 1.1 section 1.12
Distribution can help teams manage a growing application and scale individual services. It also introduces techniques, technologies, communication protocols, and operational tradeoffs that a monolithic application may not need. Building, running, and understanding the whole system can be difficult, so weigh the benefits against the cost. section 1.0 section 1.1 section 1.10.2
A distributed application can offer practical advantages:
- Scale services independently and allocate dedicated resources to those with the heaviest workloads. section 1.9
- Deploy or roll back a service without necessarily changing the whole application, potentially reducing deployment risk. section 1.9
- Choose a suitable technology stack for each service instead of constraining the application to one stack. section 1.9
Choose a stopping point
When converting a monolith, early changes may bring substantial benefits. Further subdivision can yield diminishing returns, and services that become too small may cost more than they save. A smaller monolith alongside several services can be a sensible outcome. section 12.7.2
Cloud technology, virtualization, and infrastructure automation have made distributed systems less costly to build. Tools such as Docker, Kubernetes, Terraform, and GitHub Actions can support applications with services of different sizes, not just microservices. section 1.8 section 1.12















