Distributed Systems Assignment 2
Distributed Systems Assignment 2
Improve performance
Enhance reliability
Replicas allow remote sites to continue working in the event of local failures. It is also possible to protect
against data corruption.This directly supports the distributed systems goal of enhanced scalability
If there are many replicas of the same thing, how do we keep all of them up-to-date? How do we keep
the replicas consistent?
It is not easy to keep all those replicas consistent Consistency can be achieved in a number of ways.
Replicating the data and moving it closer to where it is needed helps to solve the scalability problem
A problem remains: How to efficiently synchronize all of the replicas created to solve the scalability
issue?
Dilemma: adding replicas improves scalability, but incurs the overhead of keeping the replicas up-to-
date
As we shall see, the solution often results in a relaxation of any consistency constraints
B. Consistency
A data-store can be read from or written to by any process in a distributed system.
A local copy of the data-store (replica) can support “fast reads”
A write to a local replica needs to be propagated to all remote replicas
Various consistency models help to understand the various mechanisms used to achieve and
enable this
5. Distributed Transactions.
2. Discuss distribution models that should be followed while implementing replicas in distributed
systems