Goldfish: Peer selection using Matrix completion in unstructured P2P network

03/17/2023
by   Bowen Xue, et al.
0

Peer-to-peer (P2P) networks underlie a variety of decentralized paradigms including blockchains, distributed file storage and decentralized domain name systems. A central primitive in P2P networks is the peer selection algorithm, which decides how a node should select a fixed number of neighbors to connect with. In this paper, we consider the design of a peer-selection algorithm for unstructured P2P networks with the goal of minimizing the broadcast latency. We propose Goldfish, a novel solution that dynamically decides the neighbor set by exploiting the past experiences as well as exploring new neighbors. The key technical contributions come from bringing ideas of matrix completion for estimating message delivery times for every possible message for every peer ever connected, and a streaming algorithm to efficiently perform the estimation while achieving good performance. The matrix completion interpolates the delivery times to all virtual connections in order to select the best combination of neighbors. Goldfish employs a streaming algorithm that only uses a short recent memory to finish matrix interpolation. When the number of publishing source is equal to a node's maximal number of connections, Goldfish found the global optimal solution with 92.7 node only once. In more complex situations where nodes are publishing based on exponential distribution and adjusting connection in real time, we compare Goldfish with a baseline peer selection system, and show Goldfish saves approximately 14.5 latency.

READ FULL TEXT
research
06/25/2020

Perigee: Efficient Peer-to-Peer Network Design for Blockchains

A key performance metric in blockchains is the latency between when a tr...
research
05/03/2023

Introducing Peer Copy – A Fully Decentralized Peer-to-Peer File Transfer Tool

It allows any two parties that are either both on the same network or co...
research
11/29/2021

p2pGNN: A Decentralized Graph Neural Network for Node Classification in Peer-to-Peer Networks

In this work, we aim to classify nodes of unstructured peer-to-peer netw...
research
04/13/2015

Streaming, Memory Limited Matrix Completion with Noise

In this paper, we consider the streaming memory-limited matrix completio...
research
05/13/2022

Strategic Latency Reduction in Blockchain Peer-to-Peer Networks

Most permissionless blockchain networks run on peer-to-peer (P2P) networ...
research
02/25/2021

IPFS and Friends: A Qualitative Comparison of Next Generation Peer-to-Peer Data Networks

Decentralized, distributed storage offers a way to reduce the impact of ...
research
11/12/2019

Fast Stochastic Peer Selection in Proof-of-Stake Protocols

The problem of peer selection, which randomly selects a peer from a set,...

Please sign up or login with your details

Forgot password? Click here to reset