

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!


(a) Describe briefly the fail-stop failure model. What makes the fail-stop model in the case of crash failures tricky to implement in practice?
Number of Votes Unavailability Replica 1 2 0. Replica 2 1 0. Replica 3 1 0. Replica 4 1 0.
(a) If the read quorum size is 2, then what is the minimum write quorum size? (b) Assuming a read quorum size of 2 and the minimum write quorum size that you computed above, compute the blocking probabilities for read and write operations (the blocking probability of an operation is the probability that an appropriate quorum cannot be obtained). There is no need to compute the final number; stating the formula is sufficient
(b) Causal Consistency P1: R(x)a R(x)b W(x)a P2: R(x)a R(x)b R(x)a W(x)c P3: R(x)b R(x)a Is the above sequence valid for a causal consistency model? If not, explain why.
(c) Weak Consistency P1: W(x)a W(x)b S W(x)a P2: R(x)a R(x)b S R(x)b P3: R(x)b R(x)a W(x)b Is the above sequence valid for a weak consistency model? If not, explain why.
(d) Caching and replication are closely related techniques that both create redundant copies of data to improve system scalability, availability, and performance. What are the basic differences between caching and replication (in terms of deciding what data are copied and how consistency of the copies is maintained)?