Bandwidth- and Latency-Aware Peer-to-Peer Instant Friendcast for Online Social Networks J. R. Jiang, C.W. Hung, and J.W. Wu Department of Computer Science.

Slides:



Advertisements
Similar presentations
Dynamic Replica Placement for Scalable Content Delivery Yan Chen, Randy H. Katz, John D. Kubiatowicz {yanchen, randy, EECS Department.
Advertisements

On Large-Scale Peer-to-Peer Streaming Systems with Network Coding Chen Feng, Baochun Li Dept. of Electrical and Computer Engineering University of Toronto.
Resilient Peer-to-Peer Streaming Paper by: Venkata N. Padmanabhan Helen J. Wang Philip A. Chou Discussion Leader: Manfred Georg Presented by: Christoph.
Peer-to-Peer Support for Massively Multiplayer Games Bjorn Knutsson, Honghui Lu, Wei Xu, Bryan Hopkins Presented by Mohammed Alam (Shahed)
Chien-Hao Chien, Shun-Yun Hu, Jehn-Ruey Jiang Adaptive Computing and Networking (ACN) Laboratory Department of Computer Science and Information Engineering.
SCAN: A Dynamic, Scalable, and Efficient Content Distribution Network Yan Chen, Randy H. Katz, John D. Kubiatowicz {yanchen, randy,
IPlane: An Information Plane for Distributed Services Offence by: Anup Goyal Sagar Vemuri.
ZIGZAG A Peer-to-Peer Architecture for Media Streaming By Duc A. Tran, Kien A. Hua and Tai T. Do Appear on “Journal On Selected Areas in Communications,
A New Approach for the Construction of ALM Trees using Layered Coding Yohei Okada, Masato Oguro, Jiro Katto Sakae Okubo International Conference on Autonomic.
Peer-to-peer Multimedia Streaming and Caching Service Jie WEI, Zhen MA May. 29.
Chien-Hao Chien, Shun-Yun Hu, Jehn-Ruey Jiang Adaptive Computing and Networking (ACN) Laboratory Department of Computer Science and Information Engineering.
1 A Framework for Lazy Replication in P2P VoD Bin Cheng 1, Lex Stein 2, Hai Jin 1, Zheng Zhang 2 1 Huazhong University of Science & Technology (HUST) 2.
Peer-to-Peer Based Multimedia Distribution Service Zhe Xiang, Qian Zhang, Wenwu Zhu, Zhensheng Zhang IEEE Transactions on Multimedia, Vol. 6, No. 2, April.
Scalable Application Layer Multicast Suman Banerjee Bobby Bhattacharjee Christopher Kommareddy ACM SIGCOMM Computer Communication Review, Proceedings of.
VCR-oriented Video Broadcasting for Near Video-On- Demand Services Jin B. Kwon and Heon Y. Yeon Appears in IEEE Transactions on Consumer Electronics, vol.
An Alliance based PeeringScheme for P2P Live Media Streaming An Alliance based Peering Scheme for P2P Live Media Streaming Darshan Purandare Ratan Guha.
Multicast Routing in ATM Networks with Multiple Classes of QoS Ren-Hung Hwang, Min-Xiou Chen, and Youn-Chen Sun Department of Computer Science & Information.
1 An Overlay Scheme for Streaming Media Distribution Using Minimum Spanning Tree Properties Journal of Internet Technology Volume 5(2004) No.4 Reporter.
CS218 – Final Project A “Small-Scale” Application- Level Multicast Tree Protocol Jason Lee, Lih Chen & Prabash Nanayakkara Tutor: Li Lao.
Peer-to-peer Multimedia Streaming and Caching Service by Won J. Jeon and Klara Nahrstedt University of Illinois at Urbana-Champaign, Urbana, USA.
On-Demand Media Streaming Over the Internet Mohamed M. Hefeeda, Bharat K. Bhargava Presented by Sam Distributed Computing Systems, FTDCS Proceedings.
Nearcast: A Locality-Aware P2P Live Streaming Approach for Distance Education XUPING TU, HAI JIN, and XIAOFEI LIAO Huazhong University of Science and Technology.
1 Algorithms for Bandwidth Efficient Multicast Routing in Multi-channel Multi-radio Wireless Mesh Networks Hoang Lan Nguyen and Uyen Trang Nguyen Presenter:
SIMULATING A MOBILE PEER-TO-PEER NETWORK Simo Sibakov Department of Communications and Networking (Comnet) Helsinki University of Technology Supervisor:
Roger ZimmermannCOMPSAC 2004, September 30 Spatial Data Query Support in Peer-to-Peer Systems Roger Zimmermann, Wei-Shinn Ku, and Haojun Wang Computer.
Research on cloud computing application in the peer-to-peer based video-on-demand systems Speaker : 吳靖緯 MA0G rd International Workshop.
1 Speaker : 童耀民 MA1G Authors: Ze Li Dept. of Electr. & Comput. Eng., Clemson Univ., Clemson, SC, USA Haiying Shen ; Hailang Wang ; Guoxin.
PIC: Practical Internet Coordinates for Distance Estimation Manuel Costa joint work with Miguel Castro, Ant Rowstron, Peter Key Microsoft Research Cambridge.
Thesis Proposal Data Consistency in DHTs. Background Peer-to-peer systems have become increasingly popular Lots of P2P applications around us –File sharing,
ON DESIGING END-USER MULTICAST FOR MULTIPLE VIDEO SOURCES Y.Nakamura, H.Yamaguchi, A.Hiromori, K.Yasumoto †, T.Higashino and K.Taniguchi Osaka University.
Phoenix: A Weight-Based Network Coordinate System Using Matrix Factorization Yang Chen Department of Computer Science Duke University
Rate-based Data Propagation in Sensor Networks Gurdip Singh and Sandeep Pujar Computing and Information Sciences Sanjoy Das Electrical and Computer Engineering.
Peer-to-Peer AOI Voice Chatting for Massively Multiplayer Online Games (P2P-NVE 2007 workshop) Jehn-Ruey Jiang and Hung-Shiang Chen Adaptive Computing.
Resilient Peer-to-Peer Streaming Presented by: Yun Teng.
An Efficient Approach for Content Delivery in Overlay Networks Mohammad Malli Chadi Barakat, Walid Dabbous Planete Project To appear in proceedings of.
De-Nian Young Ming-Syan Chen IEEE Transactions on Mobile Computing Slide content thanks in part to Yu-Hsun Chen, University of Taiwan.
A Scalable Content-Addressable Network (CAN) Seminar “Peer-to-peer Information Systems” Speaker Vladimir Eske Advisor Dr. Ralf Schenkel November 2003.
TOMA: A Viable Solution for Large- Scale Multicast Service Support Li Lao, Jun-Hong Cui, and Mario Gerla UCLA and University of Connecticut Networking.
Peer-to-Peer AOI Voice Chatting for Massively Multiplayer Online Games (P2P-NVE 2007 workshop) Jehn-Ruey Jiang and Hung-Shiang Chen Presenter: Shun-Yun.
Load-Balancing Routing in Multichannel Hybrid Wireless Networks With Single Network Interface So, J.; Vaidya, N. H.; Vehicular Technology, IEEE Transactions.
An IP Address Based Caching Scheme for Peer-to-Peer Networks Ronaldo Alves Ferreira Joint work with Ananth Grama and Suresh Jagannathan Department of Computer.
Multicast instant channel change in IPTV systems 1.
1 Peer-to-Peer Technologies Seminar by: Kunal Goswami (05IT6006) School of Information Technology Guided by: Prof. C.R.Mandal, School of Information Technology.
Paper Survey of DHT Distributed Hash Table. Usages Directory service  Very little amount of information, such as URI, metadata, … Storage  Data, such.
PROP: A Scalable and Reliable P2P Assisted Proxy Streaming System Computer Science Department College of William and Mary Lei Guo, Songqing Chen, and Xiaodong.
SocialTube: P2P-assisted Video Sharing in Online Social Networks
The Key Technologies for a Large-scale Real-time Interactive Video Distribution System 出處 :School of Electronics and Information Engineering 報告人 : 郭宇航.
Efficient AOI-Cast for Peer-to-Peer Networked Virtual Environments.
1. Outline  Introduction  Different Mechanisms Broadcasting Multicasting Forward Pointers Home-based approach Distributed Hash Tables Hierarchical approaches.
Analysis and algorithms of the construction of the minimum cost content-based publish/subscribe overlay Yaxiong Zhao and Jie Wu
Rate-Based Channel Assignment Algorithm for Multi-Channel Multi- Rate Wireless Mesh Networks Sok-Hyong Kim and Young-Joo Suh Department of Computer Science.
Network Coordinates : Internet Distance Estimation Jieming ZHU
On Reducing Mesh Delay for Peer- to-Peer Live Streaming Dongni Ren, Y.-T. Hillman Li, S.-H. Gary Chan Department of Computer Science and Engineering The.
Network Computing Laboratory 1 Vivaldi: A Decentralized Network Coordinate System Authors: Frank Dabek, Russ Cox, Frans Kaashoek, Robert Morris MIT Published.
Stefanos Antaris A Socio-Aware Decentralized Topology Construction Protocol Stefanos Antaris *, Despina Stasi *, Mikael Högqvist † George Pallis *, Marios.
1 Scalable AOI-cast for Peer-to-Peer Networked Virtual Environments Jehn-Ruey Jiang, Yu-Li Huang, and Shun-Yun Hu CSIE, National Central University, Taiwan.
Algorithms and Techniques in Structured Scalable Peer-to-Peer Networks
Efficient Resource Allocation for Wireless Multicast De-Nian Yang, Member, IEEE Ming-Syan Chen, Fellow, IEEE IEEE Transactions on Mobile Computing, April.
Network and Systems Laboratory nslab.ee.ntu.edu.tw Yipeng Zhou, Dah Ming Chiu, and John C.S. Lui Information Engineering Department The Chinese University.
Stefanos Antaris Distributed Publish/Subscribe Notification System for Online Social Networks Stefanos Antaris *, Sarunas Girdzijauskas † George Pallis.
P2P Search COP P2P Search Techniques Centralized P2P systems  e.g. Napster, Decentralized & unstructured P2P systems  e.g. Gnutella.
A Social-Network-Aided Efficient Peer-to-Peer Live Streaming System IEEE/ACM TRANSACTIONS ON NETWORKING, JUNE 2015 Haiying Shen, Yuhua Lin Dept. of Electrical.
An overlay for latency gradated multicasting Anwitaman Datta SCE, NTU Singapore Ion Stoica, Mike Franklin EECS, UC Berkeley
Dynamic Proxy Tree-Based Data Dissemination Schemes for Wireless Sensor Networks Wensheng Zhang, Guohong Cao and Tom La Porta Department of Computer Science.
Gang Wang, Shining Wu, Guodong Wang, Beixing Deng, Xing Li Tsinghua University Tsinghua Univ. Oct Experimental Study on Neighbor Selection Policy.
Vivaldi: A Decentralized Network Coordinate System
Mohammad Malli Chadi Barakat, Walid Dabbous Alcatel meeting
SCOPE: Scalable Consistency in Structured P2P Systems
A Case for Mutual Notification
Design and Implementation of OverLay Multicast Tree Protocol
Presentation transcript:

Bandwidth- and Latency-Aware Peer-to-Peer Instant Friendcast for Online Social Networks J. R. Jiang, C.W. Hung, and J.W. Wu Department of Computer Science and Information Engineering National Central University, Taiwan, R.O.C.

2/35P2PNVE 2010 Outline  Introduction  Preliminaries  Proposed Scheme  Performance Evaluation  Conclusions

3/35P2PNVE 2010 Outline  Introduction  Preliminaries  Proposed Scheme  Performance Evaluation  Conclusions

4/35P2PNVE 2010 Online Social Networks (OSNs)  An important class of Web 2.0 applications  Examples: ICQ, MSN Messenger, EtherPad, Facebook, MySpace, Twitter, and Plurk  Facebook has more than 500 million active users Users spend over 700 billion minutes per month Users share more than 30 billion pieces of content (e.g., web links, news stories, blog posts, notes, and photo albums) ( (

5/35P2PNVE 2010 Instant Friendcast  A user sends a message in real time to all its friends in the OSN.  The message may be text, audio and/or video data.

6/35P2PNVE 2010 Network Architectures for OSNs  Client/Server (C/S)  Centralized and limited system and network resources  Poor scalability  Easy to coordinate and manage  Peer-to-Peer (P2P)  Every participating entity is both a resource provider and consumer  Better scalability  More complex to coordinate and manage

7/35P2PNVE 2010 P2P OSNs  Yeung et al. show that existing centralized C/S OSNs have some non-trivial limitations, such as limited bandwidth and computation resources.  Buchegger et al. advocate using the P2P architecture to implement OSNs so that users can store their data in a P2P manner to keep privacy and can use data even when Internet access is not available.  A P2P OSN called PeerSon (2008) is based on the distributed hash table (DHT).

8/35P2PNVE 2010 Hybrid Architecture of OSNs  Yang and Garcia-Molina (2001) propose using the hybrid architecture to overcome the problems raised by both the P2P and the client/server architecture.  In such an architecture, a server (or a cluster of servers) is deployed for authenticating users and managing the system, while clients also assist with running the system in a P2P manner.

9/35P2PNVE 2010 Our Goal  To design an efficient P2P instant friendcast scheme for OSNs under the hybrid architecture  We propose DAGTA algorithm to construct a friendcast tree (FCT)  Utilizing Vivaldi Network Coordinate System (NCS) for latency-awareness  Utilizing Available Out-Degree Estimation (AODE) for bandwidth-awareness

10/35P2PNVE 2010 Outline  Introduction  Preliminaries  Proposed Scheme  Performance Evaluation  Conclusions

11/35P2PNVE 2010 Network Coordinate System (NCS)  The NCS assigns synthetic coordinates to Internet peers, so that the Euclidean distance between two peers' coordinates can be used to predict the network latency between them.

12/35P2PNVE 2010 Vivaldi NCS  Proposed by F. Dabek, R. Cox, F. Kaashoek, and R. Morris in 2004  A simulation-based algorithm  Vivaldi NCS models peers as entities in a spring system. It determines peers’ coordinates using spring relaxation simulation.  Peers tune their coordinates to minimize the prediction error. The low-energy state of the spring system corresponds to the coordinates with the minimum error.

13/35P2PNVE 2010 Multicast Trees for Sending Messages to Friends  MST (Minimum Spanning Tree)  Shortest Path Tree  Modified ESM (End System Multicast) Tree (MESM Tree)(Y.H. Chu et. al.,2004)  LGK (Location-Guided k-ary) Tree (K. Chen, K. Nahrstedt, 2002)  VoroCast Tree (Jehn-Ruey Jiang, Yu-Li Huang and Shun-Yun Hu, 2008)

14/35P2PNVE 2010 Multicast Trees for Sending Messages to Friends  MST (Minimum Spanning Tree)

15/35P2PNVE 2010 Multicast Trees for Sending Messages to Friends  Shortest Path Tree source node

16/35P2PNVE 2010 Multicast Trees for Sending Messages to Friends  Modified ESM (End System Multicast) Tree (MESM Tree)  A new node first obtains a randomly sampled partial list of on-tree nodes.  It then selects the one with the smallest latency as its parent. new node

17/35P2PNVE 2010 Multicast Trees for Sending Messages to Friends  LGK (Location-Guided k-ary) Tree  LGK algorithm constructs a k-ary tree by exploring node location information on a plane.  The root node selects the closest k nodes as its child nodes.  The remaining nodes are recursively clustered to the k child nodes according to geometric proximity.

18/35P2PNVE 2010 Multicast Trees for Sending Messages to Friends root A B C D E F G H I J K M N O P Q L  VoroCast Tree

19/35P2PNVE 2010 Outline  Introduction  Preliminaries  Proposed Scheme  Performance Evaluation  Conclusions

20/35P2PNVE 2010 System Architecture  Hybrid network  A lightweight server takes the housekeeping tasks.  Other participating entities assist with running the system in a P2P manner. Server J F G A D K A 1. Login to Server 2. Send A the list of online friends and their NCS coordinates, etc. 3. Calculate A ’ s NCS coordinate and send it back to Server 4. Compute FCT Vivaldi NCS

21/35P2PNVE 2010 FCT Construction  Each peer computes its own Vivaldi NCS coordinate and sends it back to the server.  When a peer joins the system  logins to the server  to get its IDs and the list of online friend peers  To get IP addresses and NCS coordinates.  Available Out-Degree Estimation (AODE) is used to evaluate the proper out-degree of each node in the FCT.

22/35P2PNVE 2010 AODE  S is the size of the message  C i is the outgoing bandwidth of n i  f i is the current number of friend peers of n i  p i is the estimated probability that n i is asked by its friend peers to forward messages  p i ×f i ×S means the current estimated traffic load shared by n i  R i is the accumulated number of forwarding requests that n i receives from its friend peers  F i is the accumulated number of friend peers during the last specified estimation period

23/35P2PNVE 2010 DAGTA  Degree-Adapted Greedy Tree Algorithm (DATGA) is used to construct FCT.  Latency-aware  Bandwidth-aware  The detail of DAGTA  Given the friendcast source peer (node) n 0 and its m friend peers n 1,…,n m.  We suppose that n 1,...,n m are listed in the order of their AODE values.  The parameters of a peer n i OD i keeps the current out-degree (the number of child peers) of n i l i stores the current accumulated latency that n 0 transmits a message to n i d k,i is the latency measured by the distance of NCS coordinates of peers n k and n i.  For each n i, 1  i  m Selects n k which has the minimum l k +d k,i for 0  k  i  1 as the parent node of n i in the FCT, if OD k < AODE k. Randomly selects n k for 0  k  i  1 as the parent node of n i in the FCT, if none of n k fit the condition of OD k <AODE k.

24/35P2PNVE 2010 DAGTA Pseudo Code

25/35P2PNVE 2010 DAGTA Example  An Example  n i (AODE i, d 0,i, OD i, l i )  To select one node as the parent of n 4 n 3 (2, 4, 0, 9) n 1 (3, 5, 1, 5) n 2 (3, 9, 0, 9) n 0 (2, 0, 2, 0) n 4 (2, 8, 0,l 4 ) Check if n k fits OD k < AODE k K=0,1,2,3 n 0 (2, 0, 2, 0) √ n 1 (3, 5, 1, 5) √ √ n 2 (3, 9, 0, 9) √ √ n 3 (2, 4, 0, 9) √ 2.Compute l k +d k,i of n k and get the minimum one √ n 1 : d 1,4 +5 = 6+5 = 11√ n 2 : d 2,4 +9 = 8+9 = 17 n 3 : d 3,4 +9 = 5+9 = 14

26/35P2PNVE 2010 Outline  Introduction  Preliminaries  Proposed Scheme  Performance Evaluation  Conclusions

27/35P2PNVE 2010 Evaluation  Simulation settings  We use MIT King data set to calculate NCS coordinates of peers in the friendcast trees.  Simulation parameters Network Size300 peers Simulation Steps1000 Average Number of Friends (ANF)20, 30, or 40 Churn Rate0% or 20% Message Load2 /10s c c and c e 0.25 Message Size (MS)1500 bytes Buffer SizeANF*MS (bytes) Processing Delay30 ms

28/35P2PNVE 2010 Evaluation  Simulation settings  Upload bandwidth distribution of peers Uplink (KB/sec)Fraction of peers  Multicast schemes using multicast trees for comparison Degree-constrained Prim’s MST (DCPrim) Modified ESM (mESM) LGK, k=2 and k=15 VoroCast Dijkstra (Shortest Path Tree) STAR (Directly Sending)

29/35P2PNVE 2010 Evaluation  Performance metrics

30/35P2PNVE 2010 Simulation Results Average latency for churn rate=0%

31/35P2PNVE 2010 Simulation Results Average latency for churn rate=20%

32/35P2PNVE 2010 Simulation Results Average reachablilty for churn rate=0%

33/35P2PNVE 2010 Simulation Results Average reachablilty for churn rate=20%

34/35P2PNVE 2010 Evaluation  Discussion  For the churn rates of 0% and 20%, DAGTA outperforms others in terms of the average latency and average reachability.  If outgoing bandwidth of peers are not exhausted, the multicast trees with lower height has better performance.  DAGTA has relatively stable average latency and average reachability while churn rates increase. It has lower probability of messages-dropping since the outgoing bandwidth is taken into account.

35/35P2PNVE 2010 Outline  Introduction  Preliminaries  Proposed Scheme  Performance Evaluation  Conclusions

36/35P2PNVE 2010 Conclusions  This paper proposes a new bandwidth- and latency-aware P2P instant friendcast scheme, DAGTA, for OSNs under the hybrid architecture to achieve  latency-aware: on the basic of Vivaldi NCS coordinates  bandwidth-aware: on the basic of AODE estimation.

37/35P2PNVE 2010 Conclusions  Future work  To study the consistency and fault-tolerance issues about the scheme.  To apply DAGTA to other bandwidth-hungry and time- constrained P2P applications, e.g., 3D streaming and video streaming.

38/35P2PNVE 2010 Thanks for Listening!