Show that the FIFO-ordered multicast algorithm does not work for overlapping groups, by considering two messages sent from the same source to two overlapping groups, and considering a process in the intersection of those groups. Adapt the protocol to work for this case. Hint: processes should include with their messages the latest sequence numbers of messages sent to all groups

What will be an ideal response?

Let p send a message m1 with group-specific sequence number 1 to group g1 and a message m2 with group- specific sequence number 1 to group g2. (The sequence numbers are independent, hence it is possible for two messages to have the same sequence number.) Now consider process q in the intersection of g1 and g2. How is q to order m1 and m2? It has no information to determine which should be delivered first.
The solution is for the sender p to include with its message the latest sequence numbers for each group that it sends to. Thus if p sent m1 before m2, m1 would include and whereas m2 would include and . Process q is in a position to know that m1 is to be delivered next; it would also know that it had missed a message if it received m2 first.

Computer Science & Information Technology

You might also like to view...

A danger of positive feedback loops is that ____.

A. as more jobs enter, there can be an increase in page faults B. a single job will be allowed to run to completion and preempt waiting jobs C. as more jobs enter, it increases the chance of deadlock D. as more jobs enter, the amount of main memory allocated to each job decreases

Computer Science & Information Technology

To edit text by typing additional text or to remove text using the DELETE or BACKSPACE keys, you must first position the insertion point where your edits will take place.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology