Skip to main content

DS vs centralized; layers of transparency

Short answer

Distributed systems are preferred for better price/performance, reliability, scalability, resource sharing, and geographic distribution without a single bottleneck. Transparency layers are network (access and location), system (migration, replication, concurrency, failure), and operational (performance and scaling).

Why is a distributed system preferred over a centralized system? Explain the layers of transparency.

Why a distributed system is preferred

  • Better price/performance: many low-cost machines are cheaper than one mainframe.
  • Higher performance: work is shared by parallel processing and load balancing.
  • Reliability and availability: failure of one node does not stop the whole system; replicas continue the service.
  • Scalability: capacity is increased by adding nodes, while a centralised system is limited by one machine.
  • Resource sharing: data and devices are shared across sites.
  • Geographic distribution: an organisation with branches (a bank) keeps data near its users, with low access delay.
  • No single bottleneck or single point of failure.

Layers (levels) of transparency

Transparency can be viewed at three layers.

  • Network (access) layer: access transparency (same operations for local and remote resources) and location transparency (names do not reveal location).
  • System (resource management) layer: migration/relocation (resources move), replication (copies), concurrency (shared use) and failure (recovery).
  • Operational layer: performance (reconfiguration to keep performance) and scaling (the system grows without changes to its structure).
TransparencyWhat is hiddenExample
AccessDifferences in data representation and how a resource is accessedSame call to read a local or remote file
LocationWhere the resource is physically locatedURL does not show the server's place
MigrationA resource may move to another locationA process moved to another host without the user noticing
RelocationMovement of a resource while it is in useMobile user keeps a call while moving between cells
ReplicationExistence of several copiesMany mirror servers behind one name
ConcurrencySharing of a resource by several usersTwo users editing a database safely
FailureFailure and recovery of a componentRequest is served by a backup when a server crashes
PersistenceWhether the resource is in memory or on diskObject is loaded from disk when needed
Performance / scalingSystem reconfigures to keep performance or growLoad balancer adds servers

✓ Answer checked by Claude Opus 5.5 (high effort)

All Distributed System chapter 1 questions →