Computers and Technology

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 and 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. Required:
a. Does the sequence of operations below provide monotonic-read consistency? Explain why it does or does not.

L1 W R R
L2 PW W R

b. Does the sequence of operations below provide monotonic-write consistency? Explain why it does or does not.

L1 W R R
L2 PW W R

answer
Answers: 2

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 04:00, lovebug3563
Chloe is building a kiosk-based excel application. she wants to make some modifications to the screen elements in order to keep users from being distracted by parts of the application that are irrelevant to her application. she turns to henry for guidance as she knows he built a similar solution earlier this year. chloe has decided to hide the worksheet gridlines and the vertical scroll bar. what does henry tell her to use to do this? a) screen elements dialog boxb) display options dialog boxc) customization dialog boxd) excel options dialog box
Answers: 2
image
Computers and Technology, 22.06.2019 19:30, tfaulk2884
Singing in the rain: this first part of the film shows the early history of motion picture. how accurate do you think the portrayal of the early motion picture industry is? why? is historical accuracy important in films and theater productions? explain.
Answers: 1
image
Computers and Technology, 23.06.2019 01:50, jumoke26
Create a class named majors that includes an enumeration for the six majors offered by a college as follows: acc, chem, cis, eng, his, phys. display the enumeration values for the user, then prompt the user to enter a major. display the college division in which the major falls. acc and cis are in the business division, chem and phys are in the science division, and eng and his are in the humanities division. save the file as majors. java.
Answers: 2
image
Computers and Technology, 24.06.2019 13:30, nina288
What process should be followed while giving a reference? sam has given a reference of his previous manager in his resume. sam should him in advance that the potential employers will him.
Answers: 1
Do you know the correct answer?
A client is the only reader and writer of a data item X. Client moves between locations L1 and L2. A...

Questions in other subjects:

Konu
Mathematics, 19.05.2020 20:58
Konu
Spanish, 19.05.2020 20:58
Konu
Mathematics, 19.05.2020 20:58