PeerSwap: A Peer-Sampler with Randomness Guarantees

Rachid Guerraoui, Anne-Marie Kermarrec, Anastasiia Kucherenko, Rafael Pinot, Marijn de Vos
{"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}
引用次数: 0

Abstract

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.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
PeerSwap:具有随机性保证的对等取样器
点对点(P2P)系统能否有效地承载去中心化应用,往往取决于点对点采样服务的可用性,它能为每个参与者提供其他点对点的随机样本。尽管现有的对等采样器非常实用,但从理论上讲,人们对它们在合理时间内随机采样的能力仍然知之甚少。本文介绍了 PeerSwap,这是一种具有可证明随机性保证的对等采样协议,有助于弥合这一差距。我们建立了 PeerSwap 的执行时间界限,证明了它能随着网络规模的扩大而有效扩展。我们证明了 PeerSwap 能保持通信图的固定结构,同时允许在此图中进行连续的对等位置交换。为此,我们证明了 PeerSwap 是交换过程的一个特定实例,而交换过程是粒子移动分析的一个著名模型。根据网络结构的不同,执行时间可以低至 N 的多项式函数,这突出了 PeerSwap 的效率。我们实现了 PeerSwap,并使用具有不同连通性、最多包含 32768 (2^15) 个对等节点的常规图进行了数值评估。我们的评估结果表明,PeerSwap 能快速为对等者提供其他对等者的统一随机样本。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Massively parallel CMA-ES with increasing population Communication Lower Bounds and Optimal Algorithms for Symmetric Matrix Computations Energy Efficiency Support for Software Defined Networks: a Serverless Computing Approach CountChain: A Decentralized Oracle Network for Counting Systems Delay Analysis of EIP-4844
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1