Assignment1_answer

Assignment1_answer - Model Answer for Assignment 1 1(a) q a...

Info iconThis preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Model Answer for Assignment 1 1(a) q a c i w q i w i a i c ) 1 ( ? Re m i i ady END - Timeout ) ( ) ( i i Commit And Yes And ? Re i i Yes ady- ) ( i No Or ) ( ? Re m j ij i No ady - ) ( 1 , ( m j i j ij No Or- i Commit No, the protocol isnt non-blocking. Because the concurrency set for the ) ( i w c ={all except q }contains both a commit and an abort state. Advantage: When the coordinator fails and a participant votes NO, all the other participant sites can terminate with the NO message from the certain participant site which sent NO message to all the other sites. Shortcomings: When the coordinator timeouts and turns to the ABORT state, the participants cannot turn to the ABORT state except receive any NO massage from the other participants. Much more messages need to be sent or received in the participant site. The protocol is blocking. 1(b) q a c i w q i w i a i c ) 1 ( ? Re m i i ady END ) ( i ABORT And Timeout- ) ( i Yes And ) , ( ? Re m j i j ij...
View Full Document

This note was uploaded on 04/23/2010 for the course CSC CSC5120 taught by Professor Adafu during the Fall '09 term at CUHK.

Page1 / 3

Assignment1_answer - Model Answer for Assignment 1 1(a) q a...

This preview shows document pages 1 - 2. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online