## Abstract

We study randomized gossip-based processes in dynamic networks that are motivated by information discovery in large-scale distributed networks such as peer-to-peer and social networks. A well-studied problem in peer-to-peer networks is resource discovery, where the goal for nodes (hosts with IP addresses) is to discover the IP addresses of all other hosts. Also, some of the recent work on self-stabilization algorithms for P2P/overlay networks proceed via discovery of the complete network. In social networks, nodes (people) discover new nodes through exchanging contacts with their neighbors (friends). In both cases the discovery of new nodes changes the underlying network - new edges are added to the network - and the process continues in the changed network. Rigorously analyzing such dynamic (stochastic) processes in a continuously changing topology remains a challenging problem with obvious applications. This paper studies and analyzes two natural gossip-based discovery processes. In the push discovery or triangulation process, each node repeatedly chooses two random neighbors and connects them (i.e., "pushes" their mutual information to each other). In the pull discovery process or the two-hop walk, each node repeatedly requests or "pulls" a random contact from a random neighbor and connects itself to this two-hop neighbor. Both processes are lightweight in the sense that the amortized work done per node is constant per round, local, and naturally robust due to the inherent randomized nature of gossip. Our main result is an almost-tight analysis of the time taken for these two randomized processes to converge. We show that in any undirected n-node graph both processes take O(nlog2n) rounds to connect every node to all other nodes with high probability, whereas Ω(nlogn) is a lower bound. We also study the two-hop walk in directed graphs, and show that it takes O(n2logn) time with high probability, and that the worst-case bound is tight for arbitrary directed graphs, whereas Ω(n^{2}) is a lower bound for strongly connected directed graphs. A key technical challenge that we overcome in our work is the analysis of a randomized process that itself results in a constantly changing network leading to complicated dependencies in every round. We discuss implications of our results and their analysis to discovery problems in P2P networks as well as to evolution in social networks.

Original language | English |
---|---|

Pages (from-to) | 565-587 |

Number of pages | 23 |

Journal | Random Structures and Algorithms |

Volume | 48 |

Issue number | 3 |

DOIs | |

State | Published - 1 May 2016 |

Externally published | Yes |

### Bibliographical note

Publisher Copyright:© 2016 Wiley Periodicals, Inc.

### Funding

Supported by USNSF (to B.H.) (CCF-1527110); Nanyang Technological University (to G.P) (M58110000); Singapore Ministry of Education (MOE) Academic Research Fund (AcRF) Tier 2 (to G.P.) (MOE2010-T2-2- 082); US NSF (to G.P.) (CCF-1023166); US-Israel Binational Science Foundation (BSF) (to G.P.) (2008348); The United States-Israel Binational Science Foundation (BSF) (to D.P., Z.S.); NSF (to R.R.) (CNS-0915985 and CCF-1422715).

Funders | Funder number |
---|---|

USNSF | CCF-1527110 |

National Science Foundation | CCF-1023166 |

Directorate for Computer and Information Science and Engineering | 0915985 |

Bloom's Syndrome Foundation | 2008348 |

Ministry of Education - Singapore | MOE2010-T2-2- 082 |

Nanyang Technological University | M58110000 |

United States-Israel Binational Science Foundation | CCF-1422715, CNS-0915985 |

## Keywords

- Distributed algorithm
- Gossip-based algorithm
- Probabilistic analysis
- Random process
- Resource discovery
- Social network