Lab 2 Group Communication: Andreas Larsson
Lab 2 Group Communication: Andreas Larsson
Group Communication
Andreas Larsson
2011-01-31
Overview
• Introduction to group communication
• Multicast communication
Missile
Ready Cancel
to Fire
Commander
Ask Prepare
Missile
Ready Fire
to Fire
Commander
Ask Prepare
• Group Communication
– For coordination among processes of a group.
• High availability
DSII: Group Comm. 8
Online Game
• Fault-tolerance, Order
DSII: Group Comm. 9
Different Comm. Methods
• Unicast
– Point-to-Point Communication
– Multiple copies are sent.
• Broadcast
– One-to-All Communication
– Abuse of Network Bandwidth
• Multicast
– One-to-multiple Communication
• Multicast communication
• Efficiency Multicast
• Options:
– Peer group or client-server group
– Closed or Open Group
• Multicast communication
• Integrity
A correct process delivers a message at most once.
• Validity
A message from a correct process will be delivered by
the process eventually.
• Agreement
A message delivered by a correct process will be
delivered by all other correct processes in the group.
• FIFO p3
– if mp m’p, all correct
processes that deliver m’p will
deliver mp (that is from the p1
same sender) before m’p.
• Causal p2
– if m m’, all correct p3
processes that deliver m’ will
deliver m before m’.
• Total
p1
– if a correct process delivers m
before m’, all other correct p2
processes that deliver m’ will
deliver m before m’. p3
• Basic multicast
– Requirement:
• All correct processes will eventually deliver the message
from a correct sender.
– Implementation:
• B-multicast( g, m): p g: send( p, m);
• On receive( m) at p: B-deliver( m) at p.
Properties: integrity, validity.
1
crash 3
X
Agreement
4
• Multicast communication
• Group partition:
– Primary-partition – one partition only
– Partitionable – many partiations at once
– basicreceive – basicsend
– basicpeerdown