liveBook · Manning

Distributed system

As explained in Rust Servers, Services, and Apps

A distributed system is a collection of independent computing components that coordinate over a network to provide combined functionality.

A distributed system has components that may run on different processors, communicate over a network, and execute workloads concurrently. A distributed web application is a non-monolithic program whose components cooperate over a network. section 1.1

A web application’s distributed-system stack has three parts:

  • Distributed applications, whose components communicate using networking protocols. section 1.1
  • A networking stack. section 1.1
  • Hardware and operating-system infrastructure. section 1.1

HTTP is a common choice for communication between a web application and the outside world. Backend services, frontends, and infrastructure have distinct concerns, including availability, user experience, and low-level resource control. section 1.1 section 1.2

A social media application

A social media service can distribute features across servers, with components implemented using different design choices, languages, and locations. Facebook and Twitter are examples of large-scale distributed web applications. section 1.0 section 1.1

Figure 1.1 A simplified distributed systems stack for a social media application

Use the simplified stack diagram to see how a social media application’s components fit into a distributed system. section 1.1

How Rust Servers, Services, and Apps covers it

How deep it goes
Defines system components and stack layers, then relates them to web applications without detailing implementation internals.
Examples
Uses social media, e-commerce, sharing-economy, and entertainment services, plus a social media stack diagram.
What you can do after
Build Rust web servers, services, and applications using the distributed-web context.
How it connects
Connects distributed systems with distributed applications, client-server applications, peer-to-peer applications, HTTP, and web applications.

Also explained in

Compare how 15 books explain distributed system →

Related concepts

This explainer was generated by Manning's knowledge graph from the text of Rust Servers, Services, and Apps. The section links point to the parts of the book it draws on.