






Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!







Replica Placement Model: We consider objects (and don’t worry whether they contain just data or code, or both) Distinguish different processes: A process is capable of hosting a replica of an object or data:
Server-Initiated Replicas
Update Propagation ( 3 / 3 ) Observation: We can dynamically switch between pulling and pushing using leases : A contract in which the server promises to push updates to the client until the lease expires. Issue: Make lease expiration time dependent on system’s behavior (adaptive leases):
System Model
Consistency Protocols Consistency protocol: describes the implementation of a specific consistency model. We will concentrate only on sequential consistency.
Primary-Based Protocols ( 2 / 4 ) Primary-backup protocol : writes are typically forwarded to server Example : Traditionally applied in distributed databases and file systems that require a high degree of fault tolerance. Replicas are often placed on same LAN. Primary-Based Protocols ( 3 / 4 ) Example : Establishes only a fully distributed, non-replicated data store. Useful when writes are expected to come in series from the same client (e.g., mobile computing without replication. Primary-based, local-write protocol : migrate the data, do not replace it.
Replicated-Write Protocols ( 2 / 2 ) Replicated invocations: “Centralized” Solution Assign a coordinator on each side (client and server), which ensures that only one invocation (a), and one reply is send (b). Triple Modular Redundancy
Quorum-Based Protocols Quorum-based protocols: Ensure that each operation is carried out in such a way that a majority vote is established: distinguish read quorum and write quorum : Example: Lazy Replication