Rachid Guerraoui, Anne-Marie Kermarrec, Anastasiia Kucherenko, Rafael Pinot, Marijn de Vos
{"title":"PeerSwap:具有随机性保证的对等取样器","authors":"Rachid Guerraoui, Anne-Marie Kermarrec, Anastasiia Kucherenko, Rafael Pinot, Marijn de Vos","doi":"arxiv-2408.03829","DOIUrl":null,"url":null,"abstract":"The ability of a peer-to-peer (P2P) system to effectively host decentralized\napplications often relies on the availability of a peer-sampling service, which\nprovides each participant with a random sample of other peers. Despite the\npractical effectiveness of existing peer samplers, their ability to produce\nrandom samples within a reasonable time frame remains poorly understood from a\ntheoretical standpoint. This paper contributes to bridging this gap by\nintroducing PeerSwap, a peer-sampling protocol with provable randomness\nguarantees. We establish execution time bounds for PeerSwap, demonstrating its\nability to scale effectively with the network size. We prove that PeerSwap\nmaintains the fixed structure of the communication graph while allowing\nsequential peer position swaps within this graph. We do so by showing that\nPeerSwap is a specific instance of an interchange process, a renowned model for\nparticle movement analysis. Leveraging this mapping, we derive execution time\nbounds, expressed as a function of the network size N. Depending on the network\nstructure, this time can be as low as a polylogarithmic function of N,\nhighlighting the efficiency of PeerSwap. We implement PeerSwap and conduct\nnumerical evaluations using regular graphs with varying connectivity and\ncontaining up to 32768 (2^15) peers. Our evaluation demonstrates that PeerSwap\nquickly provides peers with uniform random samples of other peers.","PeriodicalId":501422,"journal":{"name":"arXiv - CS - Distributed, Parallel, and Cluster Computing","volume":"2 1","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2024-08-07","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"PeerSwap: A Peer-Sampler with Randomness Guarantees\",\"authors\":\"Rachid Guerraoui, Anne-Marie Kermarrec, Anastasiia Kucherenko, Rafael Pinot, Marijn de Vos\",\"doi\":\"arxiv-2408.03829\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"The ability of a peer-to-peer (P2P) system to effectively host decentralized\\napplications often relies on the availability of a peer-sampling service, which\\nprovides each participant with a random sample of other peers. Despite the\\npractical effectiveness of existing peer samplers, their ability to produce\\nrandom samples within a reasonable time frame remains poorly understood from a\\ntheoretical standpoint. This paper contributes to bridging this gap by\\nintroducing PeerSwap, a peer-sampling protocol with provable randomness\\nguarantees. We establish execution time bounds for PeerSwap, demonstrating its\\nability to scale effectively with the network size. We prove that PeerSwap\\nmaintains the fixed structure of the communication graph while allowing\\nsequential peer position swaps within this graph. We do so by showing that\\nPeerSwap is a specific instance of an interchange process, a renowned model for\\nparticle movement analysis. Leveraging this mapping, we derive execution time\\nbounds, expressed as a function of the network size N. Depending on the network\\nstructure, this time can be as low as a polylogarithmic function of N,\\nhighlighting the efficiency of PeerSwap. We implement PeerSwap and conduct\\nnumerical evaluations using regular graphs with varying connectivity and\\ncontaining up to 32768 (2^15) peers. Our evaluation demonstrates that PeerSwap\\nquickly provides peers with uniform random samples of other peers.\",\"PeriodicalId\":501422,\"journal\":{\"name\":\"arXiv - CS - Distributed, Parallel, and Cluster Computing\",\"volume\":\"2 1\",\"pages\":\"\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2024-08-07\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"arXiv - CS - Distributed, Parallel, and Cluster Computing\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/arxiv-2408.03829\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"arXiv - CS - Distributed, Parallel, and Cluster Computing","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/arxiv-2408.03829","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
PeerSwap: A Peer-Sampler with Randomness Guarantees
The ability of a peer-to-peer (P2P) system to effectively host decentralized
applications often relies on the availability of a peer-sampling service, which
provides each participant with a random sample of other peers. Despite the
practical effectiveness of existing peer samplers, their ability to produce
random samples within a reasonable time frame remains poorly understood from a
theoretical standpoint. This paper contributes to bridging this gap by
introducing PeerSwap, a peer-sampling protocol with provable randomness
guarantees. We establish execution time bounds for PeerSwap, demonstrating its
ability to scale effectively with the network size. We prove that PeerSwap
maintains the fixed structure of the communication graph while allowing
sequential peer position swaps within this graph. We do so by showing that
PeerSwap is a specific instance of an interchange process, a renowned model for
particle movement analysis. Leveraging this mapping, we derive execution time
bounds, expressed as a function of the network size N. Depending on the network
structure, this time can be as low as a polylogarithmic function of N,
highlighting the efficiency of PeerSwap. We implement PeerSwap and conduct
numerical evaluations using regular graphs with varying connectivity and
containing up to 32768 (2^15) peers. Our evaluation demonstrates that PeerSwap
quickly provides peers with uniform random samples of other peers.