liveBook · Manning

Distributed system

As explained in Bootstrapping Microservices, Second Edition: With Docker, Kubernetes, GitHub Actions, and Terraform

An application architecture in which components execute as separate processes or services that communicate across a network.

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

How Bootstrapping Microservices, Second Edition: With Docker, Kubernetes, GitHub Actions, and Terraform covers it

How deep it goes
Explains basic structuring concerns and tradeoffs while limiting technology detail to what is needed to bootstrap an application.
Examples
Uses a small application built toward production and a monolith-to-microservices conversion with diminishing returns.
What you can do after
Evaluate distributed architecture by weighing scalability and deployment benefits against complexity, cost, and service size.
How it connects
Connects distributed systems to microservices, monolithic applications, scalability, deployment risk, and cloud infrastructure.

Also explained in

Compare how 16 books explain distributed system →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Bootstrapping Microservices, Second Edition: With Docker, Kubernetes, GitHub Actions, and Terraform. The section links point to the parts of the book it draws on.