Jan Zizka et al. (Eds) : CCSIT, SIPP, AISC, CMCA, SEAS, CSITEC, DaKM, PDCTA, NeCoM - 2016
pp. 307–321, 2016. © CS & IT-CSCP 2016 DOI : 10.5121/csit.2016.60126
A NEW ALGORITHM FOR CONSTRUCTION OF
A P2P MULTICAST HYBRID OVERLAY TREE
BASED ON TOPOLOGICAL DISTANCES
Sergej Alekseev1
and Jörg Schäfer2
1
Department of Computer Science and Engineering, Computer Networks and OS,
Frankfurt University of Applied Sciences, Germany
alekseevf@fb2.fra-uas.de
2
Department of Computer Science and Engineering, Distributed Systems,
Frankfurt University of Applied Sciences, Germany
jschaefer@fb2.fra-uas.de
ABSTRACT
In the last decade Peer to Peer technology has been thoroughly explored, because it overcomes many
limitations compared to the traditional client server paradigm. Despite its advantages over a traditional
approach, the ubiquitous availability of high speed, high bandwidth and low latency networks has
supported the traditional client-server paradigm. Recently, however, the surge of streaming services has
spawned renewed interest in Peer to Peer technologies. In addition, services like geolocation databases
and browser technologies like Web-RTC make a hybrid approach attractive.
In this paper we present algorithms for the construction and the maintenance of a hybrid P2P overlay
multicast tree based on topological distances. The essential idea of these algorithms is to build a multicast
tree by choosing neighbours close to each other. The topological distances can be easily obtained by the
browser using the geolocation API. Thus the implementation of algorithms can be done web-based in a
distributed manner.
We present proofs of our algorithms as well as practical results and evaluations.
KEYWORDS
Distributed algorithms, peer-to-peer (P2P), hybrid, overlay multicast tree, live streaming
1. INTRODUCTION
Peer-to-Peer (P2P) streaming has become more and more popular nowadays again after interest
in general P2P has generally decreased after the initial enthusiasm in the late 90 – partially due to
the ubiquitous and quick availability of high speed, high bandwidth and low latency networks
which has supported the traditional client-server paradigm in the last decade. The central strength
of P2P streaming systems is the capability of sharing resources so that larger (and more costly)
servers can be replaced by smaller (and cheaper) computers. The P2P networks are build usually
as a logical overlay network. The contribution of this paper is the construction and management
of a P2P multicast tree streaming overlay where the nodes are physically close to each other in
308 Computer Science & Information Technology (CS & IT)
the underlying network. In this paper we present two algorithms. The first is the joining algorithm
that each node runs when it enters the system. The essential idea of the algorithm is to construct a
multicast tree structure by finding a suitable neighbour in the overlay multicast tree and
considering resources of peers. The second algorithm handles a host leaving that occurs
gracefully or accidentally. For both algorithms we provide full mathematical proofs of minimality
features. In addition, we present some experimental results and evaluations. And finally we
conclude our paper with remarks on possible future work.
2. RELATED WORKS
In recent years a number of P2P-based applications for stream delivery have been developed –
e.g. Zattoo (http://zattoo.com), PPTP (http://www.pptv.com) and Octoshape (https: // octoshape.
com).
To improve the scalability and to optimise the usage of resources in the P2P network, several
approaches have been proposed. In [1] various problems that arise due to the fact of P2P systems
being highly dynamic and heterogenous are examined. It focuses especially on resilience
mechanisms. In [2] and [6] an overview of application and network layer mechanisms are
presented and the Mesh and Multiple-Tree P2P overlays are compared.
Several applications have been developed for various categories of mesh based P2P streaming.
The authors of [8] and [7] present a hybrid approach for overlay construction and data delivery in
an application-layer multicast. The HyPO approach in [7] optimizes the overlay by organizing
peers with similar bandwidth ranges in a geographical area into a mesh overlay. The ToMo
approach in [7] combines the strong points of a tree-based structure and a mesh-based data
delivery to a two-layer hybrid overlay. The mTreebone of [9] is a collaborative tree-mesh design
that leverages both mesh and tree structures. The key idea is to identify a set of stable nodes to
construct a tree-based backbone with most of the data being pushed over this backbone. AnySee
[5] is a mesh based P2P system in which resources are assigned based on their locality and delay.
In the present work we propose algorithms to construct a tree based multicast overlay based on
topological distances. Similar approaches are described in [12], [3] and [14]. Already in [20] an
architecture has been proposed for designing a global internet host distance estimation service.
However, only relatively recently geographical information has become practically available
from freely available geolocation databases [16], and therefore ideas which have been of
theoretical value only have now become practical, see also [19]. The approach used in [12] and
[3] organizes the peers into a hierarchy of clusters such that the neighboring peers are grouped
into the same cluster. The overlay network is build from the cluster leaders to the other members
recursively. In [14] a locality-aware P2P overlay construction method, called Nearcast, is
proposed which builds an efficient overlay multicast tree by letting each peer node choose
physically closer nodes as its logical children. Whereas there is rather comprehensive coverage of
theoretical P2P algorithms and mathematical theorems on some of them like e.g. the T-Man
protocol, see [4], up to our best knowledge, no minimality results have been proven for the
overlay networks like the one described above but rather simulation results have been computed.
In our work we propose algorithms which minimise the routing costs, usage of peer resources and
end-to-end delay based on the topological location of peers. We provide a proof for the
minimality of routing costs and provide evidence for keeping end-to-end delay low.
Computer Science & Information Technology (CS & IT) 309
3. PROPOSED APPROACH
The concept of P2P multicasting [11], [12] is often applied to reduce the costs needed to deploy
and to maintain services related to streaming of various content to many users, e.g. VoD, IPTV,
radio, news channels, etc. In this paper, we propose an approach to the construction of a P2P
overlay multicast tree with the goal to solve the following important problems:
– Optimal routing between peers: Transmission at an overlay P2P-network might be
inefficient, especially when the P2P-network is randomly constructed. This stems from the fact
that the distance between peers physically or topologically is not considered by constructing the
P2P-network.
– Optimal usage of peer resources: Peer resources include available bandwidth, processing
power and storage space.
– End-to-End delay: The end-to-end delay is the latency, accumulated peer by peer, for the
delivery of a data packet along the overlay path from the source host to an end host. To reduce
this delay the height of the multicast tree should be kept small.
– Handling of peer connections: In practice the P2P-network need to deal with peers joining the
network and peers that leave voluntarily or due to failure.
Figure 1. Topological search tree and p2p multicast tree structure.
To overcome these problems, we propose algorithms for the construction and the management of
an overlay P2P-network. Our algorithms use the topological distances between peers to guarantee
the optimal routing costs. We define two data structures, a topological search tree and a P2P
multicast tree (fig. 1). The search tree is used to find the nearest peer to be attached to the
multicast overlay. This a special case of the Nearest Neighbour Search (NNS) or closest point
search problem. Donald Knuth named this problem the post office problem [10]. The problem
relates to an application of the assignment to the next post office. In our case the problem is
reduced to the search in the tree and adapted for the search of an optimal usage of peer resources.
The P2P multicast tree is used for the actual data transfer.
310 Computer Science & Information Technology (CS & IT)
4. P2P OVERLAY MULTICAST TREE CONSTRUCTION AND MAIN-
TENANCE
4.1. Definitions and Preliminaries
To identify the topological position of hosts in a network, a unique H-dimensional coordinate C
is assigned to each host. The idea to use the network coordinates is based on considerations from
[13], [14] and [15]. In contrast to the algorithms presented therein, we use in our approach two
data structures: the search tree Ts for searching the nearest neighbour according the topological
position in the network and the multicast tree T to connect hosts to a P2P overlay multicast
network.
The multicast overlay tree is defined as T = (V, E), where V is a set of vertices, which represent
the end hosts, and E is a set of directed edges, which represent data delivery streams between the
end hosts.
Computer Science & Information Technology (CS & IT) 311
4.2. Joining algorithm
To construct a multicast overlay tree the joining algorithm connects the hosts to an overlay
network by analysing the geolocation information provided by the end hosts. The algorithm can
be implemented in a centralized or a distributed manner. The pseudocode of the joining algorithm
is shown in fig. 2.
Figure 2. The pseudocode of the JOIN algorithm
Figure 3 illustrates an example of the joining nodes to an existing overlay network. Initially the
overlay multicast tree contains only a source host S and the search tree Ts includes the
coordinates C(S) (fig. 3a). To attach the new node v1 the joining algorithm extends the search tree
Ts by the adding the coordinates C(v1) and determines the nearest host by traversing the search
tree Ts. The nearest neighbour can be easily found by a simple tree traversing in O(log n) time.
The new host v1 is attached to the host S (fig. 3b). The fig. 3c illustrates the attaching of the host
v2 to the multicast overlay tree.
312 Computer Science & Information Technology (CS & IT)
Figure 3. An example of the algorithm JOIN execution.
Figure 4. Proof by induction
Computer Science & Information Technology (CS & IT) 313
Figure 5. Topological distances
314 Computer Science & Information Technology (CS & IT)
4.3 Management of peer-resources
Figure 6. The pseudocode of the JOINR algorithm
Computer Science & Information Technology (CS & IT) 315
Figure 7. An example of the algorithm JOINR execution
316 Computer Science & Information Technology (CS & IT)
Figure 8. Proof of the second loop.
Computer Science & Information Technology (CS & IT) 317
4.4 End-to-End Delay
318 Computer Science & Information Technology (CS & IT)
Figure 9. The pseudocode of the JOINRE algorithm
4.5 Reconstruction algorithm
5. EXPERIMENTAL EVALUATIONS
Computer Science & Information Technology (CS & IT) 319
Figure 10. The pseudocode of the reconstruction algorithm
320 Computer Science & Information Technology (CS & IT)
Figure 11. Comparison of results: JOIN - proposed algorithm, BBT - Balanced Binary Tree
6. CONCLUSION
In this paper we presented a novel multicast tree construction and maintenance approach based on
the topological network coordinates of the end hosts. The algorithms presented in this paper were
developed to achieve the following desirable properties:
– Minimal routing overhead in the underlying network
– Optimal resource management of the hosts
– Short end-to-end delay
We evaluated our approach theoretically and by using simulations. Compared to the randomly
generated trees our approach improves significantly the performance metrics of a multicast
overlay tree. Our future work will concentrate on implementing this approach in a real
environment, collecting and analysing the performance data.
REFERENCES
[1] Abboud, O., Pussep, K., Kovacevic, A., Mohr, K., Kaune, S., Steinmetz, R., Enabling Resilient P2P
Video Streaming, Multimedia Systems, Vol. 17, No. 3, p. 177-197, June 2011
[2] Jurca, D., Chakareski, J.,Wagner, J., Frossard, P., Enabling Adaptive Video Streaming in P2P
Systems, IEEE Communications Magazine, p. 108-114, June 2007
[3] Tran, D. A., Hua, K., Do, T., ZIGZAG: An Effcient Peer-to-Peer Scheme for Media Streaming, Proc.
of IEEE INFOCOM, Vol.2, pp.1283-1292, 2003
[4] Márk Jelasity and Ozalp Babaoglu, T-Man: Gossip-based overlay topology management, 3rd Int.
Workshop on Engineering Self-Organising Applications (ESOA’05), Springer-Verlag, pp. 1-15, 2005
[5] X. Liao, H. Jin, Y. Liu, L. M. Ni, D. Deng., AnySee: Peer-to-peer live streaming. In Proceedings of
IEEE International Conference on Computer Communications, Barcelona, Spain, 2006.
[6] Magharei, N., Rejaie, R., Yang G., Mesh or Multiple-Tree: A Comparative Study of Live P2P
Streaming Approaches, 26th IEEE International Conference on Computer Communications-
INFOCOM, pp. 1424-1432, 2007.
Computer Science & Information Technology (CS & IT) 321
[7] H. Byun and M. Lee, HyPO: A Peer-to-Peer based Hybrid Overlay Structure, IEEE ICACT 2009,
Feb. 2009.
[8] Awiphan, S., Zhou Su, Katto, J., Two-layer Mesh/Tree Overlay Structure for Live Video Streaming
in P2P Networks, proc. 7th IEEE Consumer Communications and Networking Conference (CCNC),
pp. 1-5, 2010
[9] F.,Wang, Y., Xiong, and J., Liu, mTreebone: A Collaborative Tree-Mesh Overlay Network for
Multicast Video Streaming, IEEE Transactions on Parallel and Distributed Systems, Vol. 21, No. 3,
pp. 379-392, March 2010.
[10] Donald Knuth, The Art of Computer Programming, Addison-Wesley, Vol. 3,1973
[11] Zhang, X.Y., Zhang, Q., Zhang, Z., Song, G., Zhu, W., A Construction of Locality-aware Overlay
Network: mOverlay and its Performance, IEEE Journal on Selected Areas in Communications, pp.
18-28, 2004
[12] Banerjee, S., Bhattacharjee, B. Kommareddy, C., Scalable application layer multicast, Proc. ACM
SIGCOMM Conf., ACM Press, New York, 2002.
[13] Abboud, O., Kovacevic, A., Graffi, K., Pussep, K., Steinmetz, R., Underlay Awareness in P2P
Systems: Techniques and Challenges, IEEE International Parallel and Distributed Processing
Symposium, 2009
[14] Xuping Tu, Hai Jin, Xiaofei Liao, and Jiannong Cao, Nearcast: A locality-aware P2P live streaming
approach for distance education. ACM Transactions on Internet Technology, Vol. 8 - Issue 2, 2008
[15] T. S. Eugene Ng, Hui Zhang, Predicting internet network distance with coordinates-based
approaches. Proc. of IEEE INFOCOM, New York, Vol. 1, pp. 170–179, 2001
[16] James A. Muir and Paul C. Van Oorschot, Internet geolocation: Evasion and counterevasion, Journal
ACM Computing Surveys, Vol. 42 - Issue 1, No. 4, December 2009
[17] Editor: Andrei Popescu, Geolocation API Specification, W3C, 22 December 2008
[18] Editor: Philip Olson, PHP Manual - Geo IP Location, The PHP Documentation Group, 2014,
http://php.net/manual/en/book.geoip.php
[19] Chao Dai, Yong Jiang, Shu-Tao Xia, Hai-Tao Zheng, and Laizhong Cui. A traffic localization
strategy for peer-to-peer live streaming. In 2013 IEEE Symposium on Computers and
Communications, ISCC 2013, Split, Croatia, 7-10 July, 2013, pages 495–501, 2013.
[20] Paul Francis, Sugih Jamin, Vern Paxson, Lixia Zhang, Daniel F. Gryniewicz, and Yixin Jin. An
architecture for a global internet host distance estimation service, Proceedings of IEEE INFOCOM,
1999.
[21] Ethan Katz-bassett, John P. John, Arvind Krishnamurthy, David Wetherall, Thomas Anderson, and
Yatin Chawathe. Towards IP Geolocation Using Delay and Topology Measurements, IMC, 2006

More Related Content

PDF
Evaluation of a topological distance
PDF
Adaptive resource allocation and internet traffic engineering on data network
PDF
Architecture and Evaluation on Cooperative Caching In Wireless P2P
PDF
Concept of node usage probability from complex networks and its applications ...
PDF
On minimizing data forwarding schedule in multi transmit receive wireless mes...
PPTX
Content-Centric Networking in Opportunistic and Mobile Networks
PDF
Ff36968971
PDF
A New Efficient Cache Replacement Strategy for Named Data Networking
Evaluation of a topological distance
Adaptive resource allocation and internet traffic engineering on data network
Architecture and Evaluation on Cooperative Caching In Wireless P2P
Concept of node usage probability from complex networks and its applications ...
On minimizing data forwarding schedule in multi transmit receive wireless mes...
Content-Centric Networking in Opportunistic and Mobile Networks
Ff36968971
A New Efficient Cache Replacement Strategy for Named Data Networking

What's hot (19)

PDF
A New Architecture for Group Replication in Data Grid
PDF
M phil-computer-science-wireless-communication-projects
PDF
Multipath TCP-Goals and Issues
PDF
M phil-computer-science-networking-projects
PPTX
Information-Centric Networking in Mobile Networks
PDF
Spatial ReusabilityAware Routing in Multi-Hop Wireless Networks Using Single ...
PDF
An efficient hybrid peer to-peersystemfordistributeddatasharing
PDF
International Journal of Engineering Research and Development (IJERD)
PDF
A Comprehensive Study on Vehicular Ad-Hoc Delay Tolerant Networking for Infra...
PDF
Centrality-Based Network Coder Placement For Peer-To-Peer Content Distribution
PDF
Evaluating content-centric communication over power line communication infras...
PDF
AN EFFECTIVE CONTROL OF HELLO PROCESS FOR ROUTING PROTOCOL IN MANETS
PDF
Optimized Traffic Flow over Multipath in Optical Networks
PDF
Analysis of Link State Resource Reservation Protocol for Congestion Managemen...
PDF
Throughput Maximization using Spatial Reusability in Multi Hop Wireless Network
PDF
International Journal of Engineering Research and Development (IJERD)
PDF
M.Phil Computer Science Wireless Communication Projects
PDF
Comparative Analysis of Green Algorithm within Active Queue Management for Mo...
PDF
Ce24539543
A New Architecture for Group Replication in Data Grid
M phil-computer-science-wireless-communication-projects
Multipath TCP-Goals and Issues
M phil-computer-science-networking-projects
Information-Centric Networking in Mobile Networks
Spatial ReusabilityAware Routing in Multi-Hop Wireless Networks Using Single ...
An efficient hybrid peer to-peersystemfordistributeddatasharing
International Journal of Engineering Research and Development (IJERD)
A Comprehensive Study on Vehicular Ad-Hoc Delay Tolerant Networking for Infra...
Centrality-Based Network Coder Placement For Peer-To-Peer Content Distribution
Evaluating content-centric communication over power line communication infras...
AN EFFECTIVE CONTROL OF HELLO PROCESS FOR ROUTING PROTOCOL IN MANETS
Optimized Traffic Flow over Multipath in Optical Networks
Analysis of Link State Resource Reservation Protocol for Congestion Managemen...
Throughput Maximization using Spatial Reusability in Multi Hop Wireless Network
International Journal of Engineering Research and Development (IJERD)
M.Phil Computer Science Wireless Communication Projects
Comparative Analysis of Green Algorithm within Active Queue Management for Mo...
Ce24539543
Ad

Similar to A NEW ALGORITHM FOR CONSTRUCTION OF A P2P MULTICAST HYBRID OVERLAY TREE BASED ON TOPOLOGICAL DISTANCES (20)

PDF
AN INITIAL PEER CONFIGURATION ALGORITHM FOR MULTI-STREAMING PEER-TO-PEER NETW...
PDF
AN INITIAL PEER CONFIGURATION ALGORITHM FOR MULTI-STREAMING PEER-TO-PEER NETW...
PDF
Fast mesh a low-delay high-bandwidth
PDF
PDF
A HYBRID PUSH-PULL OVERLAY NETWORK FOR PEER-TO-PEER VIDEO STREAMING
PDF
A HYBRID PUSH-PULL OVERLAY NETWORK FOR PEER-TO-PEER VIDEO STREAMING
PDF
AOTO: Adaptive overlay topology optimization in unstructured P2P systems
PDF
Content aware p2 p video streaming with lowlatency
PDF
A Distributed Approach to Solving Overlay Mismatching Problem
PDF
S26117122
PPTX
an enhanced and secured qos for p2p networks.pptx
PDF
Content Distribution for Peer-To-Peer Overlays on Mobile Adhoc Networks to Fu...
PDF
A scheme for maximal resource
PDF
ANALYSE THE PERFORMANCE OF MOBILE PEER TO PEER NETWORK USING ANT COLONY OPTIM...
PDF
A hybrid push pull overlay network for
PPT
Ods chapter7
PDF
Fu2510631066
PDF
Bx32903907
PDF
SECURITY CONSIDERATION IN PEER-TO-PEER NETWORKS WITH A CASE STUDY APPLICATION
PDF
The International Journal of Engineering and Science (IJES)
AN INITIAL PEER CONFIGURATION ALGORITHM FOR MULTI-STREAMING PEER-TO-PEER NETW...
AN INITIAL PEER CONFIGURATION ALGORITHM FOR MULTI-STREAMING PEER-TO-PEER NETW...
Fast mesh a low-delay high-bandwidth
A HYBRID PUSH-PULL OVERLAY NETWORK FOR PEER-TO-PEER VIDEO STREAMING
A HYBRID PUSH-PULL OVERLAY NETWORK FOR PEER-TO-PEER VIDEO STREAMING
AOTO: Adaptive overlay topology optimization in unstructured P2P systems
Content aware p2 p video streaming with lowlatency
A Distributed Approach to Solving Overlay Mismatching Problem
S26117122
an enhanced and secured qos for p2p networks.pptx
Content Distribution for Peer-To-Peer Overlays on Mobile Adhoc Networks to Fu...
A scheme for maximal resource
ANALYSE THE PERFORMANCE OF MOBILE PEER TO PEER NETWORK USING ANT COLONY OPTIM...
A hybrid push pull overlay network for
Ods chapter7
Fu2510631066
Bx32903907
SECURITY CONSIDERATION IN PEER-TO-PEER NETWORKS WITH A CASE STUDY APPLICATION
The International Journal of Engineering and Science (IJES)
Ad

More from cscpconf (20)

PDF
ANALYSIS OF LAND SURFACE DEFORMATION GRADIENT BY DINSAR
PDF
4D AUTOMATIC LIP-READING FOR SPEAKER'S FACE IDENTIFCATION
PDF
MOVING FROM WATERFALL TO AGILE PROCESS IN SOFTWARE ENGINEERING CAPSTONE PROJE...
PDF
PROMOTING STUDENT ENGAGEMENT USING SOCIAL MEDIA TECHNOLOGIES
PDF
A SURVEY ON QUESTION ANSWERING SYSTEMS: THE ADVANCES OF FUZZY LOGIC
PDF
DYNAMIC PHONE WARPING – A METHOD TO MEASURE THE DISTANCE BETWEEN PRONUNCIATIONS
PDF
INTELLIGENT ELECTRONIC ASSESSMENT FOR SUBJECTIVE EXAMS
PDF
TWO DISCRETE BINARY VERSIONS OF AFRICAN BUFFALO OPTIMIZATION METAHEURISTIC
PDF
DETECTION OF ALGORITHMICALLY GENERATED MALICIOUS DOMAIN
PDF
GLOBAL MUSIC ASSET ASSURANCE DIGITAL CURRENCY: A DRM SOLUTION FOR STREAMING C...
PDF
IMPORTANCE OF VERB SUFFIX MAPPING IN DISCOURSE TRANSLATION SYSTEM
PDF
EXACT SOLUTIONS OF A FAMILY OF HIGHER-DIMENSIONAL SPACE-TIME FRACTIONAL KDV-T...
PDF
AUTOMATED PENETRATION TESTING: AN OVERVIEW
PDF
CLASSIFICATION OF ALZHEIMER USING fMRI DATA AND BRAIN NETWORK
PDF
VALIDATION METHOD OF FUZZY ASSOCIATION RULES BASED ON FUZZY FORMAL CONCEPT AN...
PDF
PROBABILITY BASED CLUSTER EXPANSION OVERSAMPLING TECHNIQUE FOR IMBALANCED DATA
PDF
CHARACTER AND IMAGE RECOGNITION FOR DATA CATALOGING IN ECOLOGICAL RESEARCH
PDF
SOCIAL MEDIA ANALYTICS FOR SENTIMENT ANALYSIS AND EVENT DETECTION IN SMART CI...
PDF
SOCIAL NETWORK HATE SPEECH DETECTION FOR AMHARIC LANGUAGE
PDF
GENERAL REGRESSION NEURAL NETWORK BASED POS TAGGING FOR NEPALI TEXT
ANALYSIS OF LAND SURFACE DEFORMATION GRADIENT BY DINSAR
4D AUTOMATIC LIP-READING FOR SPEAKER'S FACE IDENTIFCATION
MOVING FROM WATERFALL TO AGILE PROCESS IN SOFTWARE ENGINEERING CAPSTONE PROJE...
PROMOTING STUDENT ENGAGEMENT USING SOCIAL MEDIA TECHNOLOGIES
A SURVEY ON QUESTION ANSWERING SYSTEMS: THE ADVANCES OF FUZZY LOGIC
DYNAMIC PHONE WARPING – A METHOD TO MEASURE THE DISTANCE BETWEEN PRONUNCIATIONS
INTELLIGENT ELECTRONIC ASSESSMENT FOR SUBJECTIVE EXAMS
TWO DISCRETE BINARY VERSIONS OF AFRICAN BUFFALO OPTIMIZATION METAHEURISTIC
DETECTION OF ALGORITHMICALLY GENERATED MALICIOUS DOMAIN
GLOBAL MUSIC ASSET ASSURANCE DIGITAL CURRENCY: A DRM SOLUTION FOR STREAMING C...
IMPORTANCE OF VERB SUFFIX MAPPING IN DISCOURSE TRANSLATION SYSTEM
EXACT SOLUTIONS OF A FAMILY OF HIGHER-DIMENSIONAL SPACE-TIME FRACTIONAL KDV-T...
AUTOMATED PENETRATION TESTING: AN OVERVIEW
CLASSIFICATION OF ALZHEIMER USING fMRI DATA AND BRAIN NETWORK
VALIDATION METHOD OF FUZZY ASSOCIATION RULES BASED ON FUZZY FORMAL CONCEPT AN...
PROBABILITY BASED CLUSTER EXPANSION OVERSAMPLING TECHNIQUE FOR IMBALANCED DATA
CHARACTER AND IMAGE RECOGNITION FOR DATA CATALOGING IN ECOLOGICAL RESEARCH
SOCIAL MEDIA ANALYTICS FOR SENTIMENT ANALYSIS AND EVENT DETECTION IN SMART CI...
SOCIAL NETWORK HATE SPEECH DETECTION FOR AMHARIC LANGUAGE
GENERAL REGRESSION NEURAL NETWORK BASED POS TAGGING FOR NEPALI TEXT

Recently uploaded (20)

PPTX
Group 1 Presentation -Planning and Decision Making .pptx
PDF
DP Operators-handbook-extract for the Mautical Institute
PDF
Taming the Chaos: How to Turn Unstructured Data into Decisions
PPT
Module 1.ppt Iot fundamentals and Architecture
PDF
1 - Historical Antecedents, Social Consideration.pdf
DOCX
search engine optimization ppt fir known well about this
PPTX
Modernising the Digital Integration Hub
PDF
A comparative study of natural language inference in Swahili using monolingua...
PDF
sustainability-14-14877-v2.pddhzftheheeeee
PDF
Hybrid horned lizard optimization algorithm-aquila optimizer for DC motor
PPT
What is a Computer? Input Devices /output devices
PDF
Univ-Connecticut-ChatGPT-Presentaion.pdf
PPTX
Chapter 5: Probability Theory and Statistics
PDF
TrustArc Webinar - Click, Consent, Trust: Winning the Privacy Game
PDF
A Late Bloomer's Guide to GenAI: Ethics, Bias, and Effective Prompting - Boha...
PDF
A contest of sentiment analysis: k-nearest neighbor versus neural network
PDF
CloudStack 4.21: First Look Webinar slides
PDF
Enhancing emotion recognition model for a student engagement use case through...
PDF
How ambidextrous entrepreneurial leaders react to the artificial intelligence...
PDF
Microsoft Solutions Partner Drive Digital Transformation with D365.pdf
Group 1 Presentation -Planning and Decision Making .pptx
DP Operators-handbook-extract for the Mautical Institute
Taming the Chaos: How to Turn Unstructured Data into Decisions
Module 1.ppt Iot fundamentals and Architecture
1 - Historical Antecedents, Social Consideration.pdf
search engine optimization ppt fir known well about this
Modernising the Digital Integration Hub
A comparative study of natural language inference in Swahili using monolingua...
sustainability-14-14877-v2.pddhzftheheeeee
Hybrid horned lizard optimization algorithm-aquila optimizer for DC motor
What is a Computer? Input Devices /output devices
Univ-Connecticut-ChatGPT-Presentaion.pdf
Chapter 5: Probability Theory and Statistics
TrustArc Webinar - Click, Consent, Trust: Winning the Privacy Game
A Late Bloomer's Guide to GenAI: Ethics, Bias, and Effective Prompting - Boha...
A contest of sentiment analysis: k-nearest neighbor versus neural network
CloudStack 4.21: First Look Webinar slides
Enhancing emotion recognition model for a student engagement use case through...
How ambidextrous entrepreneurial leaders react to the artificial intelligence...
Microsoft Solutions Partner Drive Digital Transformation with D365.pdf

A NEW ALGORITHM FOR CONSTRUCTION OF A P2P MULTICAST HYBRID OVERLAY TREE BASED ON TOPOLOGICAL DISTANCES

  • 1. Jan Zizka et al. (Eds) : CCSIT, SIPP, AISC, CMCA, SEAS, CSITEC, DaKM, PDCTA, NeCoM - 2016 pp. 307–321, 2016. © CS & IT-CSCP 2016 DOI : 10.5121/csit.2016.60126 A NEW ALGORITHM FOR CONSTRUCTION OF A P2P MULTICAST HYBRID OVERLAY TREE BASED ON TOPOLOGICAL DISTANCES Sergej Alekseev1 and Jörg Schäfer2 1 Department of Computer Science and Engineering, Computer Networks and OS, Frankfurt University of Applied Sciences, Germany alekseevf@fb2.fra-uas.de 2 Department of Computer Science and Engineering, Distributed Systems, Frankfurt University of Applied Sciences, Germany jschaefer@fb2.fra-uas.de ABSTRACT In the last decade Peer to Peer technology has been thoroughly explored, because it overcomes many limitations compared to the traditional client server paradigm. Despite its advantages over a traditional approach, the ubiquitous availability of high speed, high bandwidth and low latency networks has supported the traditional client-server paradigm. Recently, however, the surge of streaming services has spawned renewed interest in Peer to Peer technologies. In addition, services like geolocation databases and browser technologies like Web-RTC make a hybrid approach attractive. In this paper we present algorithms for the construction and the maintenance of a hybrid P2P overlay multicast tree based on topological distances. The essential idea of these algorithms is to build a multicast tree by choosing neighbours close to each other. The topological distances can be easily obtained by the browser using the geolocation API. Thus the implementation of algorithms can be done web-based in a distributed manner. We present proofs of our algorithms as well as practical results and evaluations. KEYWORDS Distributed algorithms, peer-to-peer (P2P), hybrid, overlay multicast tree, live streaming 1. INTRODUCTION Peer-to-Peer (P2P) streaming has become more and more popular nowadays again after interest in general P2P has generally decreased after the initial enthusiasm in the late 90 – partially due to the ubiquitous and quick availability of high speed, high bandwidth and low latency networks which has supported the traditional client-server paradigm in the last decade. The central strength of P2P streaming systems is the capability of sharing resources so that larger (and more costly) servers can be replaced by smaller (and cheaper) computers. The P2P networks are build usually as a logical overlay network. The contribution of this paper is the construction and management of a P2P multicast tree streaming overlay where the nodes are physically close to each other in
  • 2. 308 Computer Science & Information Technology (CS & IT) the underlying network. In this paper we present two algorithms. The first is the joining algorithm that each node runs when it enters the system. The essential idea of the algorithm is to construct a multicast tree structure by finding a suitable neighbour in the overlay multicast tree and considering resources of peers. The second algorithm handles a host leaving that occurs gracefully or accidentally. For both algorithms we provide full mathematical proofs of minimality features. In addition, we present some experimental results and evaluations. And finally we conclude our paper with remarks on possible future work. 2. RELATED WORKS In recent years a number of P2P-based applications for stream delivery have been developed – e.g. Zattoo (http://zattoo.com), PPTP (http://www.pptv.com) and Octoshape (https: // octoshape. com). To improve the scalability and to optimise the usage of resources in the P2P network, several approaches have been proposed. In [1] various problems that arise due to the fact of P2P systems being highly dynamic and heterogenous are examined. It focuses especially on resilience mechanisms. In [2] and [6] an overview of application and network layer mechanisms are presented and the Mesh and Multiple-Tree P2P overlays are compared. Several applications have been developed for various categories of mesh based P2P streaming. The authors of [8] and [7] present a hybrid approach for overlay construction and data delivery in an application-layer multicast. The HyPO approach in [7] optimizes the overlay by organizing peers with similar bandwidth ranges in a geographical area into a mesh overlay. The ToMo approach in [7] combines the strong points of a tree-based structure and a mesh-based data delivery to a two-layer hybrid overlay. The mTreebone of [9] is a collaborative tree-mesh design that leverages both mesh and tree structures. The key idea is to identify a set of stable nodes to construct a tree-based backbone with most of the data being pushed over this backbone. AnySee [5] is a mesh based P2P system in which resources are assigned based on their locality and delay. In the present work we propose algorithms to construct a tree based multicast overlay based on topological distances. Similar approaches are described in [12], [3] and [14]. Already in [20] an architecture has been proposed for designing a global internet host distance estimation service. However, only relatively recently geographical information has become practically available from freely available geolocation databases [16], and therefore ideas which have been of theoretical value only have now become practical, see also [19]. The approach used in [12] and [3] organizes the peers into a hierarchy of clusters such that the neighboring peers are grouped into the same cluster. The overlay network is build from the cluster leaders to the other members recursively. In [14] a locality-aware P2P overlay construction method, called Nearcast, is proposed which builds an efficient overlay multicast tree by letting each peer node choose physically closer nodes as its logical children. Whereas there is rather comprehensive coverage of theoretical P2P algorithms and mathematical theorems on some of them like e.g. the T-Man protocol, see [4], up to our best knowledge, no minimality results have been proven for the overlay networks like the one described above but rather simulation results have been computed. In our work we propose algorithms which minimise the routing costs, usage of peer resources and end-to-end delay based on the topological location of peers. We provide a proof for the minimality of routing costs and provide evidence for keeping end-to-end delay low.
  • 3. Computer Science & Information Technology (CS & IT) 309 3. PROPOSED APPROACH The concept of P2P multicasting [11], [12] is often applied to reduce the costs needed to deploy and to maintain services related to streaming of various content to many users, e.g. VoD, IPTV, radio, news channels, etc. In this paper, we propose an approach to the construction of a P2P overlay multicast tree with the goal to solve the following important problems: – Optimal routing between peers: Transmission at an overlay P2P-network might be inefficient, especially when the P2P-network is randomly constructed. This stems from the fact that the distance between peers physically or topologically is not considered by constructing the P2P-network. – Optimal usage of peer resources: Peer resources include available bandwidth, processing power and storage space. – End-to-End delay: The end-to-end delay is the latency, accumulated peer by peer, for the delivery of a data packet along the overlay path from the source host to an end host. To reduce this delay the height of the multicast tree should be kept small. – Handling of peer connections: In practice the P2P-network need to deal with peers joining the network and peers that leave voluntarily or due to failure. Figure 1. Topological search tree and p2p multicast tree structure. To overcome these problems, we propose algorithms for the construction and the management of an overlay P2P-network. Our algorithms use the topological distances between peers to guarantee the optimal routing costs. We define two data structures, a topological search tree and a P2P multicast tree (fig. 1). The search tree is used to find the nearest peer to be attached to the multicast overlay. This a special case of the Nearest Neighbour Search (NNS) or closest point search problem. Donald Knuth named this problem the post office problem [10]. The problem relates to an application of the assignment to the next post office. In our case the problem is reduced to the search in the tree and adapted for the search of an optimal usage of peer resources. The P2P multicast tree is used for the actual data transfer.
  • 4. 310 Computer Science & Information Technology (CS & IT) 4. P2P OVERLAY MULTICAST TREE CONSTRUCTION AND MAIN- TENANCE 4.1. Definitions and Preliminaries To identify the topological position of hosts in a network, a unique H-dimensional coordinate C is assigned to each host. The idea to use the network coordinates is based on considerations from [13], [14] and [15]. In contrast to the algorithms presented therein, we use in our approach two data structures: the search tree Ts for searching the nearest neighbour according the topological position in the network and the multicast tree T to connect hosts to a P2P overlay multicast network. The multicast overlay tree is defined as T = (V, E), where V is a set of vertices, which represent the end hosts, and E is a set of directed edges, which represent data delivery streams between the end hosts.
  • 5. Computer Science & Information Technology (CS & IT) 311 4.2. Joining algorithm To construct a multicast overlay tree the joining algorithm connects the hosts to an overlay network by analysing the geolocation information provided by the end hosts. The algorithm can be implemented in a centralized or a distributed manner. The pseudocode of the joining algorithm is shown in fig. 2. Figure 2. The pseudocode of the JOIN algorithm Figure 3 illustrates an example of the joining nodes to an existing overlay network. Initially the overlay multicast tree contains only a source host S and the search tree Ts includes the coordinates C(S) (fig. 3a). To attach the new node v1 the joining algorithm extends the search tree Ts by the adding the coordinates C(v1) and determines the nearest host by traversing the search tree Ts. The nearest neighbour can be easily found by a simple tree traversing in O(log n) time. The new host v1 is attached to the host S (fig. 3b). The fig. 3c illustrates the attaching of the host v2 to the multicast overlay tree.
  • 6. 312 Computer Science & Information Technology (CS & IT) Figure 3. An example of the algorithm JOIN execution. Figure 4. Proof by induction
  • 7. Computer Science & Information Technology (CS & IT) 313 Figure 5. Topological distances
  • 8. 314 Computer Science & Information Technology (CS & IT) 4.3 Management of peer-resources Figure 6. The pseudocode of the JOINR algorithm
  • 9. Computer Science & Information Technology (CS & IT) 315 Figure 7. An example of the algorithm JOINR execution
  • 10. 316 Computer Science & Information Technology (CS & IT) Figure 8. Proof of the second loop.
  • 11. Computer Science & Information Technology (CS & IT) 317 4.4 End-to-End Delay
  • 12. 318 Computer Science & Information Technology (CS & IT) Figure 9. The pseudocode of the JOINRE algorithm 4.5 Reconstruction algorithm 5. EXPERIMENTAL EVALUATIONS
  • 13. Computer Science & Information Technology (CS & IT) 319 Figure 10. The pseudocode of the reconstruction algorithm
  • 14. 320 Computer Science & Information Technology (CS & IT) Figure 11. Comparison of results: JOIN - proposed algorithm, BBT - Balanced Binary Tree 6. CONCLUSION In this paper we presented a novel multicast tree construction and maintenance approach based on the topological network coordinates of the end hosts. The algorithms presented in this paper were developed to achieve the following desirable properties: – Minimal routing overhead in the underlying network – Optimal resource management of the hosts – Short end-to-end delay We evaluated our approach theoretically and by using simulations. Compared to the randomly generated trees our approach improves significantly the performance metrics of a multicast overlay tree. Our future work will concentrate on implementing this approach in a real environment, collecting and analysing the performance data. REFERENCES [1] Abboud, O., Pussep, K., Kovacevic, A., Mohr, K., Kaune, S., Steinmetz, R., Enabling Resilient P2P Video Streaming, Multimedia Systems, Vol. 17, No. 3, p. 177-197, June 2011 [2] Jurca, D., Chakareski, J.,Wagner, J., Frossard, P., Enabling Adaptive Video Streaming in P2P Systems, IEEE Communications Magazine, p. 108-114, June 2007 [3] Tran, D. A., Hua, K., Do, T., ZIGZAG: An Effcient Peer-to-Peer Scheme for Media Streaming, Proc. of IEEE INFOCOM, Vol.2, pp.1283-1292, 2003 [4] Márk Jelasity and Ozalp Babaoglu, T-Man: Gossip-based overlay topology management, 3rd Int. Workshop on Engineering Self-Organising Applications (ESOA’05), Springer-Verlag, pp. 1-15, 2005 [5] X. Liao, H. Jin, Y. Liu, L. M. Ni, D. Deng., AnySee: Peer-to-peer live streaming. In Proceedings of IEEE International Conference on Computer Communications, Barcelona, Spain, 2006. [6] Magharei, N., Rejaie, R., Yang G., Mesh or Multiple-Tree: A Comparative Study of Live P2P Streaming Approaches, 26th IEEE International Conference on Computer Communications- INFOCOM, pp. 1424-1432, 2007.
  • 15. Computer Science & Information Technology (CS & IT) 321 [7] H. Byun and M. Lee, HyPO: A Peer-to-Peer based Hybrid Overlay Structure, IEEE ICACT 2009, Feb. 2009. [8] Awiphan, S., Zhou Su, Katto, J., Two-layer Mesh/Tree Overlay Structure for Live Video Streaming in P2P Networks, proc. 7th IEEE Consumer Communications and Networking Conference (CCNC), pp. 1-5, 2010 [9] F.,Wang, Y., Xiong, and J., Liu, mTreebone: A Collaborative Tree-Mesh Overlay Network for Multicast Video Streaming, IEEE Transactions on Parallel and Distributed Systems, Vol. 21, No. 3, pp. 379-392, March 2010. [10] Donald Knuth, The Art of Computer Programming, Addison-Wesley, Vol. 3,1973 [11] Zhang, X.Y., Zhang, Q., Zhang, Z., Song, G., Zhu, W., A Construction of Locality-aware Overlay Network: mOverlay and its Performance, IEEE Journal on Selected Areas in Communications, pp. 18-28, 2004 [12] Banerjee, S., Bhattacharjee, B. Kommareddy, C., Scalable application layer multicast, Proc. ACM SIGCOMM Conf., ACM Press, New York, 2002. [13] Abboud, O., Kovacevic, A., Graffi, K., Pussep, K., Steinmetz, R., Underlay Awareness in P2P Systems: Techniques and Challenges, IEEE International Parallel and Distributed Processing Symposium, 2009 [14] Xuping Tu, Hai Jin, Xiaofei Liao, and Jiannong Cao, Nearcast: A locality-aware P2P live streaming approach for distance education. ACM Transactions on Internet Technology, Vol. 8 - Issue 2, 2008 [15] T. S. Eugene Ng, Hui Zhang, Predicting internet network distance with coordinates-based approaches. Proc. of IEEE INFOCOM, New York, Vol. 1, pp. 170–179, 2001 [16] James A. Muir and Paul C. Van Oorschot, Internet geolocation: Evasion and counterevasion, Journal ACM Computing Surveys, Vol. 42 - Issue 1, No. 4, December 2009 [17] Editor: Andrei Popescu, Geolocation API Specification, W3C, 22 December 2008 [18] Editor: Philip Olson, PHP Manual - Geo IP Location, The PHP Documentation Group, 2014, http://php.net/manual/en/book.geoip.php [19] Chao Dai, Yong Jiang, Shu-Tao Xia, Hai-Tao Zheng, and Laizhong Cui. A traffic localization strategy for peer-to-peer live streaming. In 2013 IEEE Symposium on Computers and Communications, ISCC 2013, Split, Croatia, 7-10 July, 2013, pages 495–501, 2013. [20] Paul Francis, Sugih Jamin, Vern Paxson, Lixia Zhang, Daniel F. Gryniewicz, and Yixin Jin. An architecture for a global internet host distance estimation service, Proceedings of IEEE INFOCOM, 1999. [21] Ethan Katz-bassett, John P. John, Arvind Krishnamurthy, David Wetherall, Thomas Anderson, and Yatin Chawathe. Towards IP Geolocation Using Delay and Topology Measurements, IMC, 2006