Epidemic Multicast
(Mike) Yu Cheng
Outline
Definition, properties of epidemic multicast Why is it so special? Advantages over other
algorithms
Take a look at some proposals
Epidemic Multicast (Mike) Yu Cheng Outline Definition, properties - - PDF document
Epidemic Multicast (Mike) Yu Cheng Outline Definition, properties of epidemic multicast Why is it so special? Advantages over other algorithms Take a look at some proposals Epidemic? Outbreak of a contagious disease which
Definition, properties of epidemic multicast Why is it so special? Advantages over other
Take a look at some proposals
Outbreak of a contagious disease which
SIR/SEIR (Susceptible, Exposed, Infected,
Example: Flu
Inspired by the theory of epidemics of
“Infect” as many nodes as possible In networking: send the message to as many
Have been applied to many problems, e.g.,
Nodes/Hosts periodically compare their
Randomly decide when and with whom each
States can be missing messages or packets,
A chooses randomly another host to gossip
A sends to B information about the messages
A and B will reconcile the states by
n1 n4 n6 n2 A n7 n3 n5 B
A has messages 1, 2, 4 B has messages 1, 2, 3, 5
Pulling/ negative Pushing/ possible
n1 n4 n6 n2 A n7 n3 n5 B
Example: Current state: A has messages 1, 2, 4, 5 Pushing: “ I have messages 1, 2, 4, 5, I will give them to you” Pulling: “ I need message 3! I will take it from you”
For Pulling strategy, gossip is triggered only
For Pushing, gossip must take place
A mixed approach is possible
Every nodes/hosts share the same amount of
Simple to implement Scalable
There are N number of hosts/nodes Each group member that receives the
During each round, the group member select
A round can be a fixed interval at the member.
Large networks, for example, wide area networks, or
Internet is a perfect example as well ( AS, class
Flat gossiping generates substantial network traffic
Creates significant network overhead on connection
In each gossip round:
Router
Domain1: O(N) infected members Domain2: O(N) infected members
O(N) gossip messages in each round go across the
bandwidth usage grows linearly with group size
Assume group size = N The number of leaf box = N/K (K is a
There is a map function H that maps
Each leaf box has a LogkN -1 digit address Subtrees of height j ( 0<= j <= LogkN -1) Leaf boxes whose address match in the most
Picture from [1]
Contiguous Mapping:
Picture from [1]
Each member Mi maintains a view that
There are viewFactor*logkN members in each
Members in the subviews are chosen
Picture from [1]
Picture from [1]
probability of picking:
box hierarchy
H1 H7 H4 H3 H5 H2 H6 H8
Domain 2 Domain 1
Leaf Box 00 LB 01 LB10 LB11
K N
Subtree 0* Subtree 1* Subtree **
N
K
log
3 8 log2 =
level of subtrees (e.g. ) H1 H7 H4 H3 H5 H2 H6 H8 Leaf Box 00 LB 01 LB10 LB11 Subtree 0* Subtree 1* Subtree **
N
K
log N
K
log
3 8 log * 1
2
= 3 8 log2 =
Subview[2]: H4 Subview[1]: H1, H2, H4 Subview[0]: H1, H3, H7 H5’s view
H1 H7 H4 H3 H5 H2 H6 H8 Leaf Box 00 LB 01 LB10 LB11 Subtree 0* Subtree 1* Subtree **
subview:
1/2*8/7 = 4/7
subview:
1/4*8/7 = 2/7
subview:
1/8*8/7 = 1/7
) , ( * 1
1
K N p K P
l+
=
1 1 ) ( log
) 1 ( ) , (
1
− − =
+
=
N j
k j
K K N p
boundary load/Gossip per round Picture from [1]
Picture from [1]
starts at 0.75
starts at 0.3
[1] Indranil Gupta Efficient Epidemic-style
[2] Werner Vogels, Ken , Birman, et. al. Using