Starting from:
$28

$18.20

SOLVED CS550 Homework 4

  1. Read Chapter 6, 7, 8
  1. (5 points) What are the design issues of distributed scheduling?
  1. (5 points) Why is message logging useful in Checkpointing? Discuss.
  1. (5 points) In Fig. 7.7 of the text, is signature 001001 valid for sequential consistent memory? Explain your answer.
  1. (5 points) Suppose that two processes detect the demise of the coordinator simultaneously and both decide to hold an election using the bull algorithm. What happens?
  1. (10 points) Explain in your own words what the main reason is for considering weak consistency models.
  1. (10 points) For active replication to work in general, it is necessary that all operations be carried out in the same order at each replica. Is this ordering always necessary?
  1. (10 points) What kind of consistency would you use to implement an electronic stock market? Explain your answer.
  1. (10 points) Give an example where client-centric consistency can easily lead to write-write conflicts.
  1. (10 points) A file is replicated on 10 servers. List all the combinations of read quorum and write quorum that are permitted by the voting algorithm.
  1. (10 points) Explain the difference between linearizability and sequential consistency, and why the latter is more practical to implement, in general.
  1. (10 points) During the discussion of consistency models, we often referred to the contract between the software and data store. Why is such a contract needed?
  1. (10 points) Describe a simple implementation of read-your-writes consistency for displaying Web pages that have just been updated.
  1. (10 points) Is the following sequence of events allowed with a sequentially-consistent store? What about a causally-consistent data store? Explain your answer.

Note: We encourage collaboration between you and your classmates. Discuss various approaches and techniques to better understand the questions. However, we do NOT allow copying solutions or code. This is considered as cheating and falls under IIT code of honor. Penalties will be enforced. Please make sure you write your own solutions.

GOOD LUCK!