Question 1 of 11 · Set 1 · 6 marks
Open in ChatGPTDifferentiate between distributed system transparency and design goals. Explain any four types of transparency with their limitations.
Introduction
- Transparency is what the user experiences: the distribution is invisible.
- Design goals are what the designer optimises: openness, scalability, sharing, security and fault tolerance.
- Transparency is one goal among several, and it is not free.
The seven forms of transparency
| Transparency | What the user does not see | Limitation |
|---|---|---|
| Access | Whether a resource is local or remote | Same calls, but latency differs |
| Location | Where the resource is | Needs a naming and lookup service |
| Migration | That the resource has moved | Breaks open connections and cached references |
| Relocation | That the resource moves while in use | The client must follow a redirect |
| Replication | That several copies exist | Hides the consistency cost, not the latency |
| Concurrency | That others share the resource | Hides the contention, not the wait |
| Failure | That a component failed and recovered | Hides the fault at the cost of timeouts and retries |
Why each has a limit
- Location and migration transparency need indirection: every access pays a lookup, and a cached reference becomes stale when the object moves.
- Replication transparency is the hardest, because a hidden copy is a hidden consistency decision; the user cannot see the staleness the protocol accepts.
- Failure transparency hides retries, which means the user cannot tell a slow system from a broken one.
- Concurrency transparency hides locking, but a long wait is still visible as delay.
Design goals that conflict with transparency
- Openness: published interfaces let components be replaced, which exposes the seams transparency tried to hide.
- Scalability: caching and replication improve scale but weaken consistency, which is a visible form of transparency.
- Performance: full transparency is expensive; every layer of indirection costs a lookup.
- Security: the client must sometimes know where a resource is to decide whether to trust it.
Example
- A file system that hides replication may serve a stale block.
- Making the replication visible, with a version number, would break transparency but let the user decide.
- Most systems choose close-to-open consistency: transparent enough, honest about staleness.
Conclusion
Transparency is a spectrum of indirection, not a binary. Naming it, bounding it, and saying where it stops is what separates a design from a slogan; the design goals decide how much of it a system can afford.