Question 1 of 3 · CIE-1 QB · CIE-1 paper · 7 marks
Open in ChatGPTExplain the Characteristics and Properties of Distributed System with suitable examples.
Introduction
A distributed system is a collection of independent computers that appear to its users as a single coherent system. The independence of the computers is hidden behind a layer of software, and the whole collection cooperates to give the user one machine's worth of service.
Definition
A distributed system is "a collection of independent computers that appears to its users as a single coherent system" (Tanenbaum and van Steen). Each computer has its own memory and clock, and the computers communicate only by passing messages over a network.
Diagram
Characteristics
- Multiple autonomous computers. Each node has its own processor, memory and operating system. A node can fail without taking the system down, unlike a single mainframe.
- No shared memory or global clock. The only shared resource is the communication network. Processes exchange messages, and because each node has its own clock, ordering events needs logical clocks rather than physical time.
- Concurrency. Many processes execute at the same time on different nodes, and the system must protect shared resources with distributed mutual exclusion.
- Heterogeneity. Nodes may run different hardware, operating systems and languages. Middleware such as CORBA, DCOM or web services hides this difference behind standard interfaces.
- Transparency. The distribution is hidden from the user in seven forms: access, location, migration, relocation, replication, concurrency and failure transparency.
Properties
- Scalability. Capacity grows by adding nodes: vertically by upgrading a machine, horizontally by adding more machines to a cluster.
- Fault tolerance. Replication allows the system to keep serving when a node fails. A failed replica is replaced while other copies answer requests.
- Resource sharing. Printers, storage, databases and compute capacity are shared across nodes, which is why a lab's files are reachable from any machine.
- Openness. Interfaces are published, so components from different vendors can be added and interworked rather than locked into one supplier.
- Performance. Work is spread across nodes and can run in parallel. A distributed search splits one query over many machines, though the gain is limited by communication cost.
Example
- The web servers sit behind a load balancer.
- The question bank and results sit in replicated database nodes.
- The marks entry system runs on a separate node.
- A student sees one address and one login, while several machines share the load.
- If one web server fails, the load balancer sends the next request to a healthy one.
Conclusion
A distributed system is therefore defined less by its parts than by what it hides: many computers, one view. Its characteristics (autonomy, message passing, concurrency, heterogeneity) and its properties (scalability, fault tolerance, sharing, openness) are what a designer trades against consistency, cost and complexity.