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 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

answer
Answers: 1

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 23:30, Arealbot
To check spelling errors in a document, the word application uses the to determine appropriate spelling. internet built-in dictionary user-defined words other text in the document
Answers: 1
image
Computers and Technology, 23.06.2019 02:00, mayapril813
Consider the following function main: int main() { int alpha[20]; int beta[20]; int matrix[10][4]; . . } a. write the definition of the function inputarray that prompts the user to input 20 numbers and stores the numbers into alpha. b. write the definition of the function doublearray that initializes the elements of beta to two times the corresponding elements in alpha. make sure that you prevent the function from modifying the elements of alpha. c. write the definition of the function copyalphabeta that stores alpha into the first five rows of matrix and beta into the last five rows of matrix. make sure that you prevent the function from modifying the elements of alpha and beta. d. write the definition of the function printarray that prints any onedimensional array of type int. print 15 elements per line. e. write a c11 program that tests the function main and the functions discussed in parts a through d. (add additional functions, such as printing a two-dimensional array, as needed.)
Answers: 3
image
Computers and Technology, 23.06.2019 22:20, Izzyfizzy
Read “suburban homes construction project” at the end of chapters 8 and 9 (in the textbook) and then develop a wbs (work breakdown structure) in microsoft excel or in microsoft word (using tables)
Answers: 1
image
Computers and Technology, 24.06.2019 14:00, ameliaxbowen7
Which computer tools allow you to communicate with coworkers, family, and friends
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, 13.05.2021 06:50
Konu
Computers and Technology, 13.05.2021 06:50