Question: P 2 . ( 3 0 points ) A recovery point is a set of consistent checkpoints in a distributed system. Consider the computation shown

P2.(30 points) A recovery point is a set of consistent checkpoints in a distributed system. Consider the computation shown below. P0 to P3 are four check-pointed processes. Checkpoints are shown by the vertical filled bars. All checkpoints are named as Cix where i is the process number and x ={0,1,2,....} is the checkpoint number for process Pi for i =0 to 3.
The computations performed for each process between two checkpoints are named. Aj, Bj, Cj, and Dj for j={0.1.2.3....) denote the computations performed for processes P0, P1, P2, and P3
between the two checkpoints sequentially, as shown below. Messages are named mi for
i=0,1,2,...... etc. The time between the two consecutive checkpoints for each process is also
known. Computation names and time taken for each computation (interval between two
checkpoints) are shown below for all processes.
These processes are executed on a computer system with two computing nodes, E0 and E1,
where processes P0 and P1 are run on computer node E0, and processes P2 and P3 are run on
computer node E1. The two processes on a node run sequentially, one computation at a time,
and the scheduler alternates between the two processes and switches from one to another
after each checkpoint. Thus, node E0 will execute A0, B0, A1, B1,..., and so on. Similarly,
computer E1 computes C0, D0, C1, D1,...., etc. Messages are handled appropriately. Also, note
that messages m4 and m9 are sent at times t=11 and t=12 in the original sequence.
(a) Draw the computation on a timeline for each computing node, marking message
exchanges, the computation performed, and the time taken clearly. Some computations
may have to wait/delay due to sequencing issues. Clearly mark the wait points and times.
(b) Consider two cases of failures of nodes E0 and E1, one at a time. Assume that in each case,
failure occurs at t=26. How will the computation roll back for each failure?
P 2 . ( 3 0 points ) A recovery point is a set of

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Finance Questions!