Skip to content
IT glossary
ArchitectureUpdated December 3, 2026

Distributed system

Распределённая система

A distributed system uses multiple computers that communicate over a network to do a shared job. For example, one computer may handle a request while another stores the data needed to answer it.

What makes a system distributed?

Think of an online store: to a shopper it's one website, but an HTTP request may go through a load balancer to an application server that reads from a separate database. Those machines, or nodes, coordinate by sending messages over a network. A distributed system doesn't have to use microservices: identical copies of a monolithic application can serve traffic across several machines. Running several threads on one machine, by contrast, is concurrency, not a distributed deployment.

Why the network matters

Nodes can fail independently. The application server may be healthy while its connection to the database is down, leaving some features usable and others broken. This is a partial failure. Network delays also make failures hard to diagnose: if a request times out, the caller knows it didn't get a response in time, not whether the work happened.

Distributing a system can increase capacity or help it survive failures. Sharding splits a dataset into subsets so different nodes can handle different records. Replication stores copies of the same data on multiple nodes. With asynchronous replication, a write can succeed on the primary before a replica sees it, so a read from that replica may return older data.

Example: booking the last seat

A booking service commits a reservation, but the response never reaches the customer. The customer's app retries. If both attempts use the same idempotency key, the server can recognize the retry and return the existing reservation rather than create another one. The server needs to record that key atomically with the booking so a crash can't leave the booking saved but the key missing.

Deduplicating retries won't stop two different customers from booking the same seat. Those are distinct requests, so the system also needs to enforce the rule that a seat can be reserved only once, for example with a unique constraint on the show and seat in the reservations database.

What comes up in system design interviews?

Start with a concrete requirement: which operation must keep working if a node goes down, and which data can be stale? A seat map can briefly show outdated availability as long as checkout checks and reserves the seat atomically. Then trace the dependencies. Adding application servers won't keep reservations working if they all rely on one database with no failover.