subject

A client is the only reader and writer of a data item X. Client moves between locations L1 and L2. A server at each location has a replica of the item X which also stores X's local version number (generation). The client reads and writes are always performed locally. A read operation R also returns the local version number of the item X. The initial version number of each copy is equal to 0. A write W increments the (local) version number by 1. PW is an update operation to the remote copy (e. g. after a local W). PW carries the version number of X and stores it with the update. The "" is the time line and the time grows from left to right. For each sub-problem below write the version number next to each R, W, and PW operation and answers the questions
1) Does the sequence of operations below provide monotonic-read consistency?
Explain why it does or does not. If your answer is no, can you add an operation to the sequence so that it does provide monotonic-read consistency (and explain why it does) Use this definition: the monotonic-read consistency guarantees that if a process accessed later time. version of at time t, it will never see an older version of x at
L1 W R P
L2 PW W R.
2) Does the sequence of operations below provide monotonic-write consistency?
Explain why it does or does not. If your answer is no, can you add operations to the sequence so that it does provide monotonic-write consistency (and explain why it does). Use this definition: monotonic-write consistency guarantees that a write is executed on the value of a variable that is the result of all the previous write operations.
L1 W R P
L2 P W R W

ansver
Answers: 1

Another question on Computers and Technology

question
Computers and Technology, 22.06.2019 23:30
What is the digital revolution and how did it change society? what are the benefits of digital media?
Answers: 1
question
Computers and Technology, 24.06.2019 06:30
For which utilities, if any, does the landlord pay?
Answers: 2
question
Computers and Technology, 24.06.2019 17:00
The length of time that a slide appears before automatically advancing to the next slide can be set in the timing group under the transitions tab. transition to this slide group under the transitions tab. timing group in the master slide view. transition to this slide group in the master slide view.
Answers: 1
question
Computers and Technology, 24.06.2019 21:30
Aobject is used for displaying the results of a question based on stored data. a. query b. report c. table d. form
Answers: 2
You know the right answer?
A client is the only reader and writer of a data item X. Client moves between locations L1 and L2. A...
Questions
question
Physics, 09.06.2021 18:30