C3_Gossip_C_CSRAfinal.pdf

13

Transcript of C3_Gossip_C_CSRAfinal.pdf

Page 1: C3_Gossip_C_CSRAfinal.pdf
Page 2: C3_Gossip_C_CSRAfinal.pdf

Page 3: C3_Gossip_C_CSRAfinal.pdf

3

From old mathematical branch of Epidemiology [Bailey 75]

• Population of (n+1) individuals mixing homogeneously

• Contact rate between any individual pair is

• At any time, each individual is either uninfected (numbering x) or infected (numbering y)

• Then,

and at all times

• Infected–uninfected contact turns latter infected, and it stays infected

1, 00 ynx1 nyx

Page 4: C3_Gossip_C_CSRAfinal.pdf

xydt

dx

tntn ne

ny

en

nnx

)1()1( 1

)1(,

)1(

Page 5: C3_Gossip_C_CSRAfinal.pdf
Page 6: C3_Gossip_C_CSRAfinal.pdf

n

b

2

1)1(

cbnny

Page 7: C3_Gossip_C_CSRAfinal.pdf

2

1cbn

Page 8: C3_Gossip_C_CSRAfinal.pdf

Page 9: C3_Gossip_C_CSRAfinal.pdf

Page 10: C3_Gossip_C_CSRAfinal.pdf

••

Page 11: C3_Gossip_C_CSRAfinal.pdf

• In all forms of gossip, it takes O(log(N)) rounds before about N/2 gets the gossip

• Why? Because that’s the fastest you can spread a message – a spanning tree with fanout (degree) of constant degree has O(log(N)) total nodes

• Thereafter, pull gossip is faster than push gossip

• After the ith, round let be the fraction of non-infected processes. Then

• This is super-exponential

• Second half of pull gossip finishes in time O(log(log(N))

1

1

k

iipp

ip

Page 12: C3_Gossip_C_CSRAfinal.pdf

•Network topology is

hierarchical

•Random gossip target

selection => core routers

face O(N) load (Why?)

•Fix: In subnet i, which

contains ni nodes, pick

gossip target in your subnet

with probability 1/ni

•Router load=O(1)

•Dissemination

time=O(log(N))

•Why?

N/2 nodes in a subnet

N/2 nodes in a subnet

Page 13: C3_Gossip_C_CSRAfinal.pdf

n

b

1

)log()1( 11

1

1

1

cb

ncnn

b

n

n

ne

ny

)1

1)(1(1

cbn

n

2

1)1(

cbnn