Computers and Technology

Three computers, A, B, and C communicate using a protocol that implements Lamport logical clocks (they include their clock time stamp in messages). At the beginning of time, all three computers begin with their
logical clock set to zero. Later, the following sequence of events occurs:
A sends message M1 to B
C sends message M2 to B
B receives M2 before M1
B replies message M3 to C first, and then message M4 to A
After receiving message M3, C sends message M5 to A
After receiving message M5, A sends message M6 to B
After receiving message M6, B sends message M7 to A
The last message A receive is M4
1. Indicate the time included with the messages as they are sent at each step.
Send(M1, _ )
Send(M2, _ )
Send(M3, _ )
Send(M4, _ )
Send(M5, _ )
Send(M6, _ )
Send(M7, _ )
2. After all of these messages have been sent and received, what time (Lamport logical clocks)
does each computer think it is?
3. Name any one pair of causally connected events correctly identified by Lamport scalar clocks.
4. Can B sending M4 and C sending M5 be identified as concurrent events using Lamport’s scalar
clock? Explain why.
a. Yes
b. No

answer
Answers: 3

Other questions on the subject: Computers and Technology

image
Computers and Technology, 22.06.2019 15:30, DestinyK8033
Why would a programmer use the logical operator and in an if statement? a: when an action is to be taken that requires both conditions to be falseb: when an action is to be taken that requires both conditions to be truec: when an action is to be taken that requires the first condition to be falsed: when an action is to be taken that requires the second condition to be truei took the test and the answer is b.
Answers: 3
image
Computers and Technology, 23.06.2019 06:00, tchloe448
What makes myhexadecimalnumber a child of mynumber? which methods does myhexadecimalnumber inherit directly from the mynumber class? what can an instance of the mynumber class do? what can an instance of the myhexadecimalnumber class do? which methods are overridden? why are they overridden? how many examples of overloading are there? why was this done? where is the super keyword used? what is it doing? why isn’t the incoming value set immediately in the second myhexadecimalnumber constructor? how many examples can you find of an inherited method being called?
Answers: 1
image
Computers and Technology, 23.06.2019 09:30, ranmmm
The place where the extended axis of the earth would touch the celestial sphere is called the celestial
Answers: 1
image
Computers and Technology, 23.06.2019 17:30, granta1
Write pseudocode to represent the logic of a program that allows the user to enter a value. the program multiplies the value by 10 and outputs the result.
Answers: 1
Do you know the correct answer?
Three computers, A, B, and C communicate using a protocol that implements Lamport logical clocks (th...

Questions in other subjects: