What a DS is & why distributedefinition · nodes · 4 reasons · downsides Practise · 4 Qs
Exam card
- Definition (Coulouris): a distributed system is one in which components located at networked computers communicate and coordinate their actions only by passing messages — so no shared memory and no global clock.
- Lamport's quip: "…a system in which the failure of a computer you didn't even know existed can render your own computer unusable" — captures how distribution couples you to parts you can't see.
- Node = any communicating computing device — desktop, datacenter server, phone, internet-connected car, robot, industrial controller, sensor — separated by any distance (same room → separate continents).
- Four reasons to distribute: (1) inherently distributed work, (2) better reliability, (3) better performance, (4) to solve bigger problems than one machine can.
- Downsides: added complexity, partial failure (links drop, nodes crash — often silently and nondeterministically), no global clock to order events, and harder security, coordination & debugging; the goal is fault tolerance.
- DS vs networking: a network merely connects computers; a distributed system makes them cooperate so they appear as ONE coherent system.
Key diagram
swipe to see the whole diagramKey terms
distributed systemmessage passing onlyno shared memoryno global clocknodelatency & bandwidthinherently distributedreliability / performancepartial failurefault toleranceDS vs networking
What this topic covers
- The definition — and the Lamport quote
- Nodes — any device, any distance
- Why distribute — the four reasons
- Downsides — and DS vs computer networking
Exam questions · 4 Practise these 4
Q1Define a distributed system and explain what the definition rules out.
A distributed system is one in which components located at networked computers communicate and coordinate their actions only by passing messages (Coulouris). "Only by messages" rules out shared memory (no variable both parties can read directly) and a global clock (no single trusted time to order events). It is captured by Lamport's line that a DS is "a system in which the failure of a computer you didn't even know existed can render your own computer unusable."
Q2What is a node? Give the range of devices and distances involved.
A node is each computer in a distributed system — any type of communicating computing device: desktop, datacenter server, mobile phone, internet-connected car, robot, industrial control system or sensor. Nodes may be spatially separated by any distance — same room, same building, or separate continents. From the DS viewpoint we see only an abstract channel with a given latency and bandwidth.
Q3Give the four reasons to make a system distributed, with an example of each.
(1) Inherently distributed — the task must cross a network (phone-to-phone messaging). (2) Better reliability — one node keeps serving while another reboots, so the system outlasts a single machine. (3) Better performance — place nodes worldwide and route each user to a nearby one, avoiding slow long-distance access. (4) To solve bigger problems — tasks too large for one computer, e.g. CERN's LHC worldwide grid (~1M CPU cores, ~1 exabyte storage).
Q4Why is distribution hard, and how does a distributed system differ from a computer network?
Hard because of partial failure: communication may fail and processes may crash, often silently and nondeterministically, without warning; there is no global clock to order events, and security, coordination and debugging are harder — so systems must strive for fault tolerance (keep working despite faults). Difference: a network merely connects computers to exchange data; a distributed system makes them cooperate on a shared task so they appear to the user as one coherent system.