RTUComputer ScienceYr 2020 · Sem 82020

Q11Distributed Systems

Question

4 marks

Explain the different types of transparencies in a distributed system with examples.

Answer

A rigorous theoretical exposition on Distributed System Transparencies. Details how Access, Location, Migration, and Failure transparency mathematically shield the user from the chaotic underlying physics of the network.

The absolute holy grail of distributed computing is to take 10,000 chaotic, unreliable physical servers and mathematically present them to the user as a single, flawless, invisible supercomputer. This illusion is architected through multiple rigid layers of Transparency.

1. Access Transparency

It mathematically hides the differences in data representation and machine architectures. Example: An Intel x86 Windows client requests a file from an ARM-based Linux server. Access transparency mathematically handles the Endianness (byte-order) translation so the user has zero idea the hardware architectures are completely alien to each other.

2. Location Transparency

It completely decouples the logical name of a resource from its physical coordinate. Example: The user accesses a URL www.google.com. The user does not mathematically know if that server is physically in California or Tokyo. The DNS architecture violently abstracts the physical IP address.

3. Migration Transparency

It mathematically allows the system to physically move resources without changing their names or breaking client connections. Example: A database table is violently transferred from Server Rack 1 to Server Rack 10 because Rack 1 is overheating. The client application mathematically continues to query the table without requiring a configuration update.

4. Replication Transparency

It hides the mathematical fact that multiple physical copies of the data exist. Example: A YouTube video is copied to 50 CDN servers globally. The user simply hits "Play", completely unaware that the distributed system dynamically routed them to the closest physical copy.

5. Failure Transparency

The most critical. It mathematically conceals catastrophic hardware crashes. Example: If an Amazon checkout server physically catches fire mid-transaction, the system violently reroutes the state to a backup server in milliseconds, ensuring the user's shopping cart doesn't crash.

Back to Paper