CSE 486/586 Distributed Systems Reliable Multicast --- 2

Slides:



Advertisements
Similar presentations
1 Process groups and message ordering If processes belong to groups, certain algorithms can be used that depend on group properties membership create (
Advertisements

Chapter 12 Message Ordering. Causal Ordering A single message should not be overtaken by a sequence of messages Stronger than FIFO Example of FIFO but.
CS425/CSE424/ECE428 – Distributed Systems – Fall 2011 Material derived from slides by I. Gupta, M. Harandi, J. Hou, S. Mitra, K. Nahrstedt, N. Vaidya.
CS425 /CSE424/ECE428 – Distributed Systems – Fall 2011 Material derived from slides by I. Gupta, M. Harandi, J. Hou, S. Mitra, K. Nahrstedt, N. Vaidya.
DISTRIBUTED SYSTEMS II FAULT-TOLERANT BROADCAST Prof Philippas Tsigas Distributed Computing and Systems Research Group.
CSE 486/586, Spring 2012 CSE 486/586 Distributed Systems Leader Election Steve Ko Computer Sciences and Engineering University at Buffalo.
CS4231 Parallel and Distributed Algorithms AY 2006/2007 Semester 2 Lecture 6 Instructor: Haifeng YU.
CSE 486/586, Spring 2012 CSE 486/586 Distributed Systems Consensus Steve Ko Computer Sciences and Engineering University at Buffalo.
CSE 486/586, Spring 2014 CSE 486/586 Distributed Systems Reliable Multicast Steve Ko Computer Sciences and Engineering University at Buffalo.
CS542 Topics in Distributed Systems Diganta Goswami.
Synchronization Chapter clock synchronization * 5.2 logical clocks * 5.3 global state * 5.4 election algorithm * 5.5 mutual exclusion * 5.6 distributed.
CSE 486/586, Spring 2013 CSE 486/586 Distributed Systems Byzantine Fault Tolerance Steve Ko Computer Sciences and Engineering University at Buffalo.
1 Causality. 2 The “happens before” relation happens before (causes)
CSE 486/586, Spring 2013 CSE 486/586 Distributed Systems Consistency Steve Ko Computer Sciences and Engineering University at Buffalo.
LEADER ELECTION CS Election Algorithms Many distributed algorithms need one process to act as coordinator – Doesn’t matter which process does the.
CSE 486/586, Spring 2012 CSE 486/586 Distributed Systems Logical Time Steve Ko Computer Sciences and Engineering University at Buffalo.
Computer Science 425 Distributed Systems (Fall 2009) Lecture 5 Multicast Communication Reading: Section 12.4 Klara Nahrstedt.
CSE 486/586, Spring 2013 CSE 486/586 Distributed Systems Logical Time Steve Ko Computer Sciences and Engineering University at Buffalo.
CSE 486/586, Spring 2012 CSE 486/586 Distributed Systems Consensus Steve Ko Computer Sciences and Engineering University at Buffalo.
CSE 486/586, Spring 2012 CSE 486/586 Distributed Systems Distributed Shared Memory Steve Ko Computer Sciences and Engineering University at Buffalo.
CSE 486/586, Spring 2012 CSE 486/586 Distributed Systems Mutual Exclusion Steve Ko Computer Sciences and Engineering University at Buffalo.
Multicast Communication. Unicast vs. Multicast Multicast Whereas the majority of network services and network applications use unicast for IPC, multicasting.
CSE 486/586 CSE 486/586 Distributed Systems Logical Time Steve Ko Computer Sciences and Engineering University at Buffalo.
CSE 486/586, Spring 2013 CSE 486/586 Distributed Systems Global States Steve Ko Computer Sciences and Engineering University at Buffalo.
EEC 688/788 Secure and Dependable Computing Lecture 10 Wenbing Zhao Department of Electrical and Computer Engineering Cleveland State University
Distributed systems Consensus Prof R. Guerraoui Distributed Programming Laboratory.
CSE 486/586, Spring 2012 CSE 486/586 Distributed Systems Mutual Exclusion & Leader Election Steve Ko Computer Sciences and Engineering University.
D u k e S y s t e m s Asynchronous Replicated State Machines (Causal Multicast and All That) Jeff Chase Duke University.
Building Dependable Distributed Systems, Copyright Wenbing Zhao
CSE 486/586, Spring 2014 CSE 486/586 Distributed Systems Consistency Steve Ko Computer Sciences and Engineering University at Buffalo.
Distributed Systems Topic 5: Time, Coordination and Agreement
CSE 486/586, Spring 2012 CSE 486/586 Distributed Systems Replication Steve Ko Computer Sciences and Engineering University at Buffalo.
CSE 486/586 CSE 486/586 Distributed Systems Global States Steve Ko Computer Sciences and Engineering University at Buffalo.
Fault Tolerance (2). Topics r Reliable Group Communication.
CSE 486/586, Spring 2012 CSE 486/586 Distributed Systems Paxos Steve Ko Computer Sciences and Engineering University at Buffalo.
CSE 486/586 CSE 486/586 Distributed Systems Leader Election Steve Ko Computer Sciences and Engineering University at Buffalo.
CSE 486/586, Spring 2014 CSE 486/586 Distributed Systems Logical Time Steve Ko Computer Sciences and Engineering University at Buffalo.
CSE 486/586 CSE 486/586 Distributed Systems Consensus Steve Ko Computer Sciences and Engineering University at Buffalo.
CSE 486/586, Spring 2014 CSE 486/586 Distributed Systems Paxos Steve Ko Computer Sciences and Engineering University at Buffalo.
EEC 688/788 Secure and Dependable Computing Lecture 10 Wenbing Zhao Department of Electrical and Computer Engineering Cleveland State University
CSE 486/586, Spring 2013 CSE 486/586 Distributed Systems Consistency Steve Ko Computer Sciences and Engineering University at Buffalo.
CSE 486/586 Distributed Systems Reliable Multicast --- 1
CSE 486/586 Distributed Systems Leader Election
CSE 486/586 Distributed Systems Consistency --- 2
CSE 486/586 Distributed Systems Logical Time
Lecture 17: Leader Election
CSE 486/586 Distributed Systems Global States
CSE 486/586 Distributed Systems Logical Time
Computer Science 425 Distributed Systems CS 425 / ECE 428 Fall 2013
CS 525 Advanced Distributed Systems Spring 2018
CS 425 / ECE 428 Distributed Systems Fall 2017 Indranil Gupta (Indy)
Distributed Systems CS
CS 425 / ECE 428 Distributed Systems Fall 2017 Indranil Gupta (Indy)
EEC 688/788 Secure and Dependable Computing
CSE 486/586 Distributed Systems Leader Election
CSE 486/586 Distributed Systems Mutual Exclusion
Distributed Systems CS
EEC 688/788 Secure and Dependable Computing
EEC 688/788 Secure and Dependable Computing
Distributed Systems CS
CSE 486/586 Distributed Systems Global States
CSE 486/586 Distributed Systems Consistency --- 2
Distributed systems Consensus
CSE 486/586 Distributed Systems Logical Time
CSE 486/586 Distributed Systems Mutual Exclusion
CSE 486/586 Distributed Systems Time and Synchronization
CSE 486/586 Distributed Systems Reliable Multicast --- 1
CSE 486/586 Distributed Systems Leader Election
CSE 486/586 Distributed Systems Consensus
Presentation transcript:

CSE 486/586 Distributed Systems Reliable Multicast --- 2 Steve Ko Computer Sciences and Engineering University at Buffalo

Last Time How do a group of processes communicate? Multicast One-to-many: “Local” broadcast within a group g of processes What are the issues? Processes crash (we assume crash-stop) Messages get delayed B-multicast R-Multicast Properties: integrity, agreement, validity Ordering Why do we care about ordering?

Recap: Ordering Totally ordered messages T1 and T2. FIFO-related messages F1 and F2. Causally related messages C1 and C3 Total ordering does not imply causal ordering. Causal ordering implies FIFO ordering Causal ordering does not imply total ordering. Hybrid mode: causal-total ordering, FIFO-total ordering.

Example: FIFO Multicast (do NOT be confused with vector timestamps) “Accept” = Deliver Physical Time Reject: 1 < 1 + 1 Accept 1 = 0 + 1 Accept: 2 = 1 + 1 1 0 0 2 0 0 2 1 0 2 1 0 P1 0 0 0 1 2 2 1 1 1 P2 0 0 0 2 1 0 1 0 0 2 0 0 Accept 1 = 0 + 1 1 P3 0 0 0 0 0 0 1 0 0 2 1 0 2 0 0 Buffer 2>0 +1 2 0 0 Accept Buffer 2 =1 + 1 Accept: 1 = 0 + 1 0 0 0 Sequence Vector

Totally Ordered Multicast Using a sequencer One dedicated “sequencer” that orders all messages Everyone else follows. ISIS system Similar to having a sequencer, but the responsibility is distributed to each sender.

Total Ordering Using a Sequencer Sequencer = Leader process i: unique message id

ISIS algorithm for total ordering No central sequencer Achieves decentralization Distributed doesn’t mean decentralized. Every sender acts as a sequencer. Since there is no single sequencer that determines a number, it requires agreement on sequence numbers. Agreement is very important for decentralization. Thus, each sender does not pick a sequence number alone. Otherwise, two different senders can pick the same number. Each sender receives proposals for a sequence number every time. Among the proposals, the sender picks a number.

ISIS algorithm for total ordering P 2 1 Message 3 2 2 P 2 Proposed Seq 4 1 3 Agreed Seq 1 2 P 1 3 P 3

ISIS algorithm for total ordering How to propose a number? Need a way to guarantee that a higher number is picked among all numbers assigned as sequence numbers already or potentially assigned as sequence numbers Each message receiver pick a number that is the highest among all the numbers that it has ever seen, i.e., all previous proposals and actual message sequence numbers. How to pick a sequence number out of all proposals? Among all proposals, pick the highest number

ISIS algorithm for total ordering Sender multicasts message to everyone Reply with proposed priority (sequence no.) Larger than all observed agreed priorities Larger than any previously proposed (by self) priority Store message in priority queue Ordered by priority (proposed or agreed) Mark message as undeliverable Sender chooses agreed priority, re-multicasts message with agreed priority Maximum of all proposed priorities Upon receiving agreed (final) priority Mark message as deliverable Reorder the delivery queue based on the priorities Deliver any deliverable messages at the front of priority queue Notice any (small) issue?

CSE 486/586 Administrivia PA2-B is due on 3/15. Midterm is on 3/13. Right before Spring break Midterm is on 3/13. Come up with a schedule that works.

Problematic Scenario Two processes P1 & P2 at their initial state. P1 sends M1 & P2 sends M2. P1 receives M1 (its own) and proposes 1. P2 does the same for M2. P2 receives M1 (P1’s message) and proposes 2. P1 does the same for M2. P1 picks 2 for M1 & P2 also picks 2 for M2. Same sequence number for two different msgs. How do you want to solve this? Use process numbers as a tie-breaker. For a proposal, always use the following format: X.Y X is the proposed number and Y is the process id. P1 has proposed 2 for M1  The proposal for M1 is now 2.1.

Example: ISIS algorithm We don’t dictate when events are happening P1 P2 Green arrows are message multicasts. Dotted arrows are sequence number proposals. A:1 in gray means message A, proposal 1 P3

Example: ISIS algorithm We don’t dictate when events are happening A P1 A:1.1 P2 Green arrows are message multicasts. Dotted arrows are sequence number proposals. A:1 in gray means message A, proposal 1 P3

Example: ISIS algorithm We don’t dictate when events are happening A P1 A:1.1 P2 Green arrows are message multicasts. Dotted arrows are sequence number proposals. A:1 in gray means message A, proposal 1 P3 B:1.3 B

Example: ISIS algorithm We don’t dictate when events are happening A P1 A:1.1 P2 B:1.2 Green arrows are message multicasts. Dotted arrows are sequence number proposals. A:1 in gray means message A, proposal 1 P3 B:1.3 B

Example: ISIS algorithm We don’t dictate when events are happening A P1 A:1.1 P2 B:1.2 A:2.2 Green arrows are message multicasts. Dotted arrows are sequence number proposals. A:1 in gray means message A, proposal 1 P3 B:1.3 B

Example: ISIS algorithm We don’t dictate when events are happening A P1 A:1.1 P2 B:1.2 A:2.2 Green arrows are message multicasts. Dotted arrows are sequence number proposals. A:1 in gray means message A, proposal 1 P3 B:1.3 A:2.3 B

Example: ISIS algorithm We don’t dictate when events are happening A P1 A:1.1 P2 B:1.2 A:2.2 C:3.2 C Green arrows are message multicasts. Dotted arrows are sequence number proposals. A:1 in gray means message A, proposal 1 P3 B:1.3 A:2.3 B

Example: ISIS algorithm We don’t dictate when events are happening A P1 A:1.1 C:2.1 P2 B:1.2 A:2.2 C:3.2 C Green arrows are message multicasts. Dotted arrows are sequence number proposals. A:1 in gray means message A, proposal 1 P3 B:1.3 A:2.3 B

Example: ISIS algorithm We don’t dictate when events are happening A P1 A:1.1 C:2.1 P2 B:1.2 A:2.2 C:3.2 C Green arrows are message multicasts. Dotted arrows are sequence number proposals. A:1 in gray means message A, proposal 1 P3 B:1.3 A:2.3 C:3.3 B

Example: ISIS algorithm We don’t dictate when events are happening A P1 A:1.1 C:2.1 B:3.1 P2 B:1.2 A:2.2 C:3.2 C Green arrows are message multicasts. Dotted arrows are sequence number proposals. A:1 in gray means message A, proposal 1 P3 B:1.3 A:2.3 C:3.3 B

Example: ISIS algorithm We don’t dictate when events are happening A P1 A:1.1 C:2.1 B:3.1 P2 B:1.2 A:2.2 C:3.2 C Green arrows are message multicasts. Dotted arrows are sequence number proposals. A:1 in gray means message A, proposal 1 P3 B:1.3 A:2.3 C:3.3 B

Example: ISIS algorithm We don’t dictate when events are happening A P1 A:2.3 C:2.1 B:3.1 P2 B:1.2 A:2.2 C:3.2 C Green arrows are message multicasts. Dotted arrows are sequence number proposals. A:1 in gray means message A, proposal 1 P3 B:1.3 A:2.3 C:3.3 B

Example: ISIS algorithm We don’t dictate when events are happening A P1 A:2.3 C:2.1 B:3.1 P2 B:1.2 A:2.2 C:3.2 C Green arrows are message multicasts. Dotted arrows are sequence number proposals. A:1 in gray means message A, proposal 1 P3 B:1.3 A:2.3 C:3.3 B

Example: ISIS algorithm We don’t dictate when events are happening A P1 C:2.1 A:2.3 B:3.1 P2 B:1.2 A:2.2 C:3.2 C Green arrows are message multicasts. Dotted arrows are sequence number proposals. A:1 in gray means message A, proposal 1 P3 B:1.3 A:2.3 C:3.3 B

Example: ISIS algorithm We don’t dictate when events are happening A P1 C:2.1 A:2.3 B:3.1 P2 B:1.2 A:2.2 C:3.2 C Green arrows are message multicasts. Dotted arrows are sequence number proposals. A:1 in gray means message A, proposal 1 P3 B:1.3 A:2.3 C:3.3 B

Example: ISIS algorithm We don’t dictate when events are happening A P1 C:2.1 A:2.3 B:3.1 P2 B:1.2 A:2.3 C:3.2 C Green arrows are message multicasts. Dotted arrows are sequence number proposals. A:1 in gray means message A, proposal 1 P3 B:1.3 A:2.3 C:3.3 B

Example: ISIS algorithm We don’t dictate when events are happening A P1 C:2.1 A:2.3 B:3.1 P2 B:1.2 A:2.3 C:3.2 C Green arrows are message multicasts. Dotted arrows are sequence number proposals. A:1 in gray means message A, proposal 1 P3 B:1.3 A:2.3 C:3.3 B

Example: ISIS algorithm We don’t dictate when events are happening A P1 C:2.1 A:2.3 B:3.1 P2 B:1.2 A:2.3 C:3.2 C Green arrows are message multicasts. Dotted arrows are sequence number proposals. A:1 in gray means message A, proposal 1 P3 B:3.1 A:2.3 C:3.3 B

Example: ISIS algorithm We don’t dictate when events are happening A P1 C:2.1 A:2.3 B:3.1 P2 B:1.2 A:2.3 C:3.2 C Green arrows are message multicasts. Dotted arrows are sequence number proposals. A:1 in gray means message A, proposal 1 P3 B:3.1 A:2.3 C:3.3 B

Example: ISIS algorithm We don’t dictate when events are happening A P1 C:2.1 A:2.3 B:3.1 P2 B:1.2 A:2.3 C:3.2 C Green arrows are message multicasts. Dotted arrows are sequence number proposals. A:1 in gray means message A, proposal 1 P3 A:2.3 B:3.1 C:3.3 B

Example: ISIS algorithm We don’t dictate when events are happening A P1 C:2.1 A:2.3 B:3.1 P2 B:1.2 A:2.3 C:3.2 C Green arrows are message multicasts. Dotted arrows are sequence number proposals. A:1 in gray means message A, proposal 1 ✔ P3 A:2.3 B:3.1 C:3.3 B

Example: ISIS algorithm We don’t dictate when events are happening A P1 C:2.1 A:2.3 B:3.1 P2 B:1.2 A:2.3 C:3.2 C Green arrows are message multicasts. Dotted arrows are sequence number proposals. A:1 in gray means message A, proposal 1 ✔ ✔ P3 A:2.3 B:3.1 C:3.3 B

Example: ISIS algorithm We don’t dictate when events are happening A P1 C:2.1 A:2.3 B:3.1 P2 B:1.2 A:2.3 C:3.2 C Green arrows are message multicasts. Dotted arrows are sequence number proposals. A:1 in gray means message A, proposal 1 ✔ ✔ P3 A:2.3 B:3.1 C:3.3 B

Example: ISIS algorithm We don’t dictate when events are happening A P1 C:2.1 A:2.3 B:3.1 P2 B:1.2 A:2.3 C:3.3 C Green arrows are message multicasts. Dotted arrows are sequence number proposals. A:1 in gray means message A, proposal 1 ✔ ✔ P3 A:2.3 B:3.1 C:3.3 B

Example: ISIS algorithm We don’t dictate when events are happening A P1 C:2.1 A:2.3 B:3.1 P2 B:1.2 A:2.3 C:3.3 C Green arrows are message multicasts. Dotted arrows are sequence number proposals. A:1 in gray means message A, proposal 1 ✔ ✔ P3 A:2.3 B:3.1 C:3.3 B

Example: ISIS algorithm We don’t dictate when events are happening A P1 C:3.3 A:2.3 B:3.1 P2 B:1.2 A:2.3 C:3.3 C Green arrows are message multicasts. Dotted arrows are sequence number proposals. A:1 in gray means message A, proposal 1 ✔ ✔ P3 A:2.3 B:3.1 C:3.3 B

Example: ISIS algorithm We don’t dictate when events are happening A P1 C:3.3 A:2.3 B:3.1 P2 B:1.2 A:2.3 C:3.3 C Green arrows are message multicasts. Dotted arrows are sequence number proposals. A:1 in gray means message A, proposal 1 ✔ ✔ P3 A:2.3 B:3.1 C:3.3 B

Example: ISIS algorithm We don’t dictate when events are happening ✔ A P1 A:2.3 B:3.1 C:3.3 P2 B:1.2 A:2.3 C:3.3 C Green arrows are message multicasts. Dotted arrows are sequence number proposals. A:1 in gray means message A, proposal 1 ✔ ✔ P3 A:2.3 B:3.1 C:3.3 B

Example: ISIS algorithm We don’t dictate when events are happening ✔ A P1 A:2.3 B:3.1 C:3.3 P2 B:1.2 A:2.3 C:3.3 C Green arrows are message multicasts. Dotted arrows are sequence number proposals. A:1 in gray means message A, proposal 1 ✔ ✔ P3 A:2.3 B:3.1 C:3.3 B

Example: ISIS algorithm We don’t dictate when events are happening ✔ A P1 A:2.3 B:3.1 C:3.3 P2 B:1.2 A:2.3 C:3.3 C Green arrows are message multicasts. Dotted arrows are sequence number proposals. A:1 in gray means message A, proposal 1 ✔ ✔ ✔ P3 A:2.3 B:3.1 C:3.3 B

Example: ISIS algorithm We don’t dictate when events are happening ✔ A P1 A:2.3 B:3.1 C:3.3 P2 B:1.2 A:2.3 C:3.3 C Green arrows are message multicasts. Dotted arrows are sequence number proposals. A:1 in gray means message A, proposal 1 ✔ ✔ ✔ P3 A:2.3 B:3.1 C:3.3 B

Example: ISIS algorithm We don’t dictate when events are happening ✔ A P1 A:2.3 B:3.1 C:3.3 P2 B:3.1 A:2.3 C:3.3 C Green arrows are message multicasts. Dotted arrows are sequence number proposals. A:1 in gray means message A, proposal 1 ✔ ✔ ✔ P3 A:2.3 B:3.1 C:3.3 B

Example: ISIS algorithm We don’t dictate when events are happening ✔ A P1 A:2.3 B:3.1 C:3.3 P2 B:3.1 A:2.3 C:3.3 C Green arrows are message multicasts. Dotted arrows are sequence number proposals. A:1 in gray means message A, proposal 1 ✔ ✔ ✔ P3 A:2.3 B:3.1 C:3.3 B

Example: ISIS algorithm We don’t dictate when events are happening ✔ A P1 A:2.3 B:3.1 C:3.3 ✔ P2 A:2.3 B:3.1 C:3.3 C Green arrows are message multicasts. Dotted arrows are sequence number proposals. A:1 in gray means message A, proposal 1 ✔ ✔ ✔ P3 A:2.3 B:3.1 C:3.3 B

Example: ISIS algorithm We don’t dictate when events are happening ✔ A P1 A:2.3 B:3.1 C:3.3 ✔ ✔ P2 A:2.3 B:3.1 C:3.3 C Green arrows are message multicasts. Dotted arrows are sequence number proposals. A:1 in gray means message A, proposal 1 ✔ ✔ ✔ P3 A:2.3 B:3.1 C:3.3 B

Example: ISIS algorithm We don’t dictate when events are happening ✔ A P1 A:2.3 B:3.1 C:3.3 ✔ ✔ ✔ P2 A:2.3 B:3.1 C:3.3 C Green arrows are message multicasts. Dotted arrows are sequence number proposals. A:1 in gray means message A, proposal 1 ✔ ✔ ✔ P3 A:2.3 B:3.1 C:3.3 B

Example: ISIS algorithm We don’t dictate when events are happening ✔ A P1 A:2.3 B:3.1 C:3.3 ✔ ✔ ✔ P2 A:2.3 B:3.1 C:3.3 C Green arrows are message multicasts. Dotted arrows are sequence number proposals. A:1 in gray means message A, proposal 1 ✔ ✔ ✔ P3 A:2.3 B:3.1 C:3.3 B

Example: ISIS algorithm We don’t dictate when events are happening ✔ ✔ A P1 A:2.3 B:3.1 C:3.3 ✔ ✔ ✔ P2 A:2.3 B:3.1 C:3.3 C Green arrows are message multicasts. Dotted arrows are sequence number proposals. A:1 in gray means message A, proposal 1 ✔ ✔ ✔ P3 A:2.3 B:3.1 C:3.3 B

Example: ISIS algorithm We don’t dictate when events are happening ✔ ✔ ✔ A P1 A:2.3 B:3.1 C:3.3 ✔ ✔ ✔ P2 A:2.3 B:3.1 C:3.3 C Green arrows are message multicasts. Dotted arrows are sequence number proposals. A:1 in gray means message A, proposal 1 ✔ ✔ ✔ P3 A:2.3 B:3.1 C:3.3 B

Proof of Total Order For a message m1, consider the first process p that delivers m1 At p, when message m1 is at head of priority queue and has been marked deliverable, let m2 be another message that has not yet been delivered (i.e., is on the same queue or has not been seen yet by p) finalpriority(m2) >= proposedpriority(m2) > finalpriority(m1) Suppose there is some other process p’ that delivers m2 before it delivers m1. Then at p’, finalpriority(m1) >= proposedpriority(m1) > finalpriority(m2) a contradiction! Due to “max” operation at sender Since queue ordered by increasing priority Due to “max” operation at sender Since queue ordered by increasing priority

Causally Ordered Multicast Each process keeps a vector of message clocks. Each counter represents the number of messages received from each of the other processes. This works just like vector clocks, but with messages. When multicasting a message, the sender process increments its own counter and attaches its vector clock. Upon receiving a multicast message, the receiver process waits until it can preserve causal ordering, i.e., until it has delivered all the messages that have happened before: It has delivered all the messages from the sender. It has delivered all the messages that the sender had delivered before the multicast message.

Causal Ordering The number of group-g messages from process j that have been seen at process i so far

Example: Causal Ordering Multicast Reject: Accept 1,0,0 1,1,0 P1 1,1,0 0,0,0 (1,1,0) (1,0,0) (1,1,0) P2 0,0,0 1,1,0 1,0,0 (1,1,0) (1,0,0) P3 0,0,0 1,1,0 Accept: 1,0,0 Accept Buffered message 1,1,0 Accept Buffer, missing P1(1) Physical Time

Summary Two multicast algorithms for total ordering Sequencer ISIS Multicast for causal ordering Uses vector timestamps

Acknowledgements These slides contain material developed and copyrighted by Indranil Gupta (UIUC).