1 / 8

Comments

Comments. Farnaz Moradi 2013. Construct a bulletin board system using Ensemble. Lab 1. Replies. RE:m1. A. m1. m2. B. m1. C. RE:m1. m2. Delivered by C:. RE:m1 must appear after m1 using a layer of ”Ensemble” .

duy
Download Presentation

Comments

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Comments Farnaz Moradi 2013

  2. Construct a bulletin board system using Ensemble Lab 1

  3. Replies RE:m1 A m1 m2 B m1 C RE:m1 m2 Delivered by C: RE:m1 must appear after m1 using a layer of ”Ensemble”. m2 is not caused by m1, so it doesn’t matter if it is delivered before m1.

  4. Sending a Request for Old Messages m2 m3 m4 A B m1 Old Req m4 m3 C join m1,m2,m3 Duplicate! Delivered by C: m4 should be Delivered after old messages

  5. Sending a Request for Old Messages m2 m3 Crash! A B m1 Req m4 m3 C join Messages queue in C: If the member from which we have requested the old messages crashes, what should C do?

  6. Old Messages Sent by Leader m2 A Old m3 B m1 m3 join C m1,m2,m3 Delivered by C: Duplicate!

  7. Old Messages Sent by Everyone m2 A Old m3 B m1 m3 Old m1,m2 join C m1,m2,m3 Duplicate! Delivered by C: Does the second ”Old” message replace the first ”Old” message or are they merged?

  8. Old Messages Sent One by One m2 m3 Crash! A B m1 m2 m1 join C m4 If A crashes before it sends all the old messages to C, what should C deliver?

More Related