Abstract

In peer-to-peer networks, application relays have been commonly used to provide various networking services. The service performance often improves significantly if a relay is selected appropriately based on its network location. In this paper, we studied the location-aware relay discovery and selection problem for large-scale P2P streaming networks. In these large-scale and dynamic overlays, it incurs significant communication and computation cost to discover a sufficiently large relay candidate set and further to select one relay with good performance. The network location can be measured directly or indirectly with the tradeoffs between timeliness, overhead and accuracy. Based on a measurement study and the associated error analysis, we demonstrate that indirect measurements, such as King and Internet Coordinate Systems (ICS), can only achieve a coarse estimation of peers’ network location and those methods based on pure indirect measurements cannot lead to a good relay selection. We also demonstrate that there exists significant error amplification of the commonly used “best-out-of-K” selection methodology using three RTT data sets publicly available. We propose a two-phase approach to achieve efficient relay discovery and accurate relay selection. Indirect measurements are used to narrow down a small number of high-quality relay candidates and the final relay selection is refined based on direct probing. This two-phase approach enjoys an efficient implementation using the Distributed-Hash-Table (DHT). When the DHT is constructed, the node keys carry the location information and they are generated scalably using indirect measurements, such as the ICS coordinates. The relay discovery is achieved efficiently utilizing the DHT-based search. We evaluated various aspects of this DHT-based approach, including the DHT indexing procedure, key generation under peer churn and message costs.

Highlights

  • Peer-to-peer networks often utilize relay nodes to provide various networking services [1,2,3,4]

  • Based on a measurement study, we demonstrate that indirect measurements, i.e., King and Internet Coordinate Systems (ICS), often lead to coarse estimation of peers’ network location

  • The Round-Trip Time (RTT) matrix used in the coordinate computation is measured by RTTometer instead of King since the errors incurred by King may have negative impacts on the performance of the ICS-based relay selection

Read more

Summary

Introduction

Peer-to-peer networks often utilize relay nodes to provide various networking services [1,2,3,4]. We propose a two-phase approach to achieve efficient relay discovery and accurate relay selection In this approach, indirect measurements are used to narrow down a small number of high quality relays and the final relay selection is refined based on direct probing. We assume that peers and relays are the overlay nodes of this P2P network In such a large-scale overlay, there are many thousands, perhaps millions, of relay candidates, denoted as M. It is prerequisite to maintain a large set of candidate relays in order to select a high-quality relay for a session because session endpoints may be arbitrarily distributed in an Internet-scale overlay. Given such a list of candidate relays, the network positions of these relays relative to endpoints is important to achieve a high-quality relay selection. Two basic approaches are commonly used to obtain this location information: direct probing and indirect measurement

Relay selection using direct probing
Relay discovery and selection based on indirect measurements
Network location estimates
Performance evaluation
Why does indirect relay selection perform poorly?
RTT measurement setup
Inaccuracy of indirect RTT estimate
Error amplification in best-out-of-K selection
Examination of the Euclidean triangular inequality assumed by ICS
Measurement-based error evaluation of indirect measurements
Performance improvement
Discussions
Framework overview
DHT indexing of ICS coordinates
Key distribution and query load in the DHT
Churn and coordinate recalculation
Relay admission control
Message cost
Related work
Findings
Conclusion
Full Text
Published version (Free)

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call