An Alternative to Crawlers: Scalable P2P Network Monitoring Using the Network Scale-Up Method
Juan Marcos Ramirez, Sergio Díaz-Aranda, Leonhard Balduf, Antonio Fernández-Anta
Abstract
p2p networks have remained an active area of research and development for decades. Originally used for data dissemination, they have later become instrumental to decentralized payment systems, blockchains, and Web3 applications. Since decentralization is a crucial property of these networks, they are continuously monitored to track attributes such as the geographical distribution of nodes, which serve as indicators of infrastructure concentration and resilience. However, monitoring typically relies on network crawls to derive accurate snapshots, which requires substantial computational and network resources. In contrast, nsum is a statistical tool that estimates the prevalence of subpopulations based on responses to questions such as How many people do you know in a specific group? This work leverages the information embedded in Kademlia routing tables to develop a lightweight nsum-based measurement and estimation framework that infers global network attribute distributions from a small set of nodes, offering an alternative to full-network crawls. As a case study, we evaluate our approach on ipfs, a well-researched and widely used Web3 data storage and retrieval network. This is the first application of nsum to decentralized network measurement. We evaluate our methodology on two datasets: the first comprises 360 full-network crawls collected over one month to assess our measurement-estimation approach across multiple simulated measurement scenarios, while the second dataset was collected through a deployment of the proposed lightweight measurement framework during May 2026. The results show that local Kademlia routing views, with only 10 nodes, preserve sufficient information to accurately estimate global attribute distributions, achieving normalized biases below 10 and closely tracking temporal changes in network composition.
Create a lesson
Related papers
Towards Scale-Up Networking: Challenges and Open Questions
Shared title terminology · Tingting Xu, Zixun Su, Xinyang Huang et al.
ScaleWire: An End-to-End Scale-Up Ethernet Simulation Framework for LLM Systems
Shared title terminology · Kai Ma, Quanfeng Lv, Bowei Dai et al.
Machine Learning for Scalable Multi-AP Coordination in IEEE 802.11bn Networks
Shared title terminology · Maksymilian Wojnar, Szymon Szott
Collision Avoidance and Collision Detection Strategies to Counteract Large-Scale FMCW Automotive Radar Interference
Shared title terminology · Francesco Miccoli, Vittorio Todisco, Fabrizio Cuccoli et al.
Federated learning for remote IoT over LPWAN: Preliminary insights from structural health monitoring
Shared title terminology · Lakshmiprasanna Bandaru, Anshika Singh, Tarutal Ghosh Mondal et al.
Scalable Full-Horizon SFC Deployment over Predictable SAGIN Topologies via a Configurable Column Generation Framework
Shared title terminology · Hang Li, Hao Huang, Yihu Xu et al.