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 00:40
Write a function 'music_func' that takes 3 parameters -- music type, music group, vocalist -- and prints them all out as shown in the example below. in case no input is provided by the user, the function should assume these values for the parameters: "classic rock", "the beatles", "freddie mercury". for example: input: alternative rock,pearl jam,chris cornell output: the best kind of music is alternative rock the best music group is pearl jam the best lead vocalist is chris cornell note: the print statements will go inside the for example: print("the best kind of music is"
Answers: 2
question
Computers and Technology, 22.06.2019 17:30
The forerunner to cell phones, pdas, and smartphones was
Answers: 1
question
Computers and Technology, 23.06.2019 22:00
Jackson, who works in the finance department of a company, is holding a seminar for other employees on how to file taxes. only three employees sign up to attend the seminar. which device can he use to share his presentation with a group of three employees?
Answers: 1
question
Computers and Technology, 24.06.2019 19:00
Luis is cloud-based( microsoft bot framework). true false
Answers: 1
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
Mathematics, 05.05.2020 06:34
question
Mathematics, 05.05.2020 06:34
Questions on the website: 13722363