Question: P 2 . ( 3 0 points ) A recovery point is a set of consistent checkpoints in a distributed system. Consider the computation shown
P points A recovery point is a set of consistent checkpoints in a distributed system. Consider the computation shown below. P to P are four checkpointed processes. Checkpoints are shown by the vertical filled bars. All checkpoints are named as Cix where i is the process number and x is the checkpoint number for process Pi for i to
The computations performed for each process between two checkpoints are named. Aj Bj Cj and Dj for j denote the computations performed for processes P P P and P
between the two checkpoints sequentially, as shown below. Messages are named mi for
i 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, E and E
where processes P and P are run on computer node E and processes P and P are run on
computer node E 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 E will execute A B A B and so on Similarly,
computer E computes C D C D etc. Messages are handled appropriately. Also, note
that messages m and m are sent at times t and t 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 waitdelay due to sequencing issues. Clearly mark the wait points and times.
b Consider two cases of failures of nodes E and E one at a time. Assume that in each case,
failure occurs at t How will the computation roll back for each failure?
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
