1 Inside the New Coolstreaming: Principles, Measurements and Performance Implications Bo Li, Susu Xie, Yang Qu, Gabriel Y. Keung, Chuang Lin, Jiangchuan.

Slides:



Advertisements
Similar presentations
Opportunities and Challenges of Peer-to-Peer Internet Video Broadcast Speaker: Shao-Fen Chou Adivisor: Dr. Ho-Ting Wu 11/14/
Advertisements

Multicast in Wireless Mesh Network Xuan (William) Zhang Xun Shi.
Speaker: Li-Wei Wu Advisor: Dr. Kai-Wei Ke 1.  Introduction  Coolstreaming  Proposed system  Simulation  Conclusion  Reference 2.
Incentives Build Robustness in BitTorrent Bram Cohen.
Playback delay in p2p streaming systems with random packet forwarding Viktoria Fodor and Ilias Chatzidrossos Laboratory for Communication Networks School.
On Large-Scale Peer-to-Peer Streaming Systems with Network Coding Chen Feng, Baochun Li Dept. of Electrical and Computer Engineering University of Toronto.
Cooperative Overlay Networking for Streaming Media Content Feng Wang 1, Jiangchuan Liu 1, Kui Wu 2 1 School of Computing Science, Simon Fraser University.
Optimization of Data Caching and Streaming Media Kristin Martin November 24, 2008.
An Empirical Study of Flash Crowd Dynamics in a P2P-based Live Video Streaming System Bo Li, Gabriel Y. Keung, Susu Xie, Fangming Liu, Ye Sun, and Hao.
Mesh or Multiple-Tree A Comparative Study of Live P2P Streaming Approaches 指導教授:許子衡 老師 學生:王志嘉.
1 Nazanin Magharei, Reza Rejaie University of Oregon INFOCOM 2007 PRIME: P2P Receiver-drIven MEsh based Streaming.
SplitStream: High- Bandwidth Multicast in Cooperative Environments Monica Tudora.
Network Coding in Peer-to-Peer Networks Presented by Chu Chun Ngai
1 P2P Streaming Amit Lichtenberg Based on: - Hui Zhang, Opportunities and Challenges of Peer-to-Peer Internet Video Broadcast,
Resilient Peer-to-Peer Streaming Paper by: Venkata N. Padmanabhan Helen J. Wang Philip A. Chou Discussion Leader: Manfred Georg Presented by: Christoph.
CStream: Neighborhood Bandwidth Aggregation For Better Video Streaming Thangam Vedagiri Seenivasan Advisor: Mark Claypool Reader: Robert Kinicki 1 M.S.
1 Live P2P Streaming with Scalable Video Coding and Network Coding Shabnam Mirshokraie, Mohamed Hefeeda School of Computing Science Simon Fraser University,
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,
Rheeve: A Plug-n-Play Peer- to-Peer Computing Platform Wang-kee Poon and Jiannong Cao Department of Computing, The Hong Kong Polytechnic University ICDCSW.
Opportunities and Challenges of Peer-to-Peer Internet Video Broadcast J. Liu, S. G. Rao, B. Li and H. Zhang Proc. of The IEEE, 2008 Presented by: Yan Ding.
Network Coding for Large Scale Content Distribution Christos Gkantsidis Georgia Institute of Technology Pablo Rodriguez Microsoft Research IEEE INFOCOM.
Service Differentiated Peer Selection An Incentive Mechanism for Peer-to-Peer Media Streaming Ahsan Habib, Member, IEEE, and John Chuang, Member, IEEE.
Peer-to-Peer Based Multimedia Distribution Service Zhe Xiang, Qian Zhang, Wenwu Zhu, Zhensheng Zhang IEEE Transactions on Multimedia, Vol. 6, No. 2, April.
© nCode 2000 Title of Presentation goes here - go to Master Slide to edit - Slide 1 Reliable Communication for Highly Mobile Agents ECE 7995: Term Paper.
CoolStreaming/DONet: A Data- driven Overlay Network for Peer- to-Peer Live Media Streaming INFOCOM 2005 Xinyan Zhang, Jiangchuan Liu, Bo Li, and Tak- Shing.
Prefix Caching assisted Periodic Broadcast for Streaming Popular Videos Yang Guo, Subhabrata Sen, and Don Towsley.
Issues in Offering Live P2P Streaming Service to Residential Users Nazanin Magharei, *Yang Guo, and Reza Rejaie Dept. of Computer and Information Science.
Exploiting Content Localities for Efficient Search in P2P Systems Lei Guo 1 Song Jiang 2 Li Xiao 3 and Xiaodong Zhang 1 1 College of William and Mary,
Quality-Aware Segment Transmission Scheduling in Peer-to-Peer Streaming Systems Cheng-Hsin Hsu Senior Research Scientist Deutsche Telekom R&D Lab USA Los.
1March -05 Jiangchuan Liu with Xinyan Zhang, Bo Li, and T.S.P.Yum Infocom 2005 CoolStreaming/DONet: A Data-Driven Overlay Network for Peer-to-Peer Live.
Robust and Efficient Path Diversity in Application-Layer Multicast for Video Streaming Ruixiong Tian, Qian Zhang, Senior Member, IEEE, Zhe Xiang, Yongqiang.
An Alliance based PeeringScheme for P2P Live Media Streaming An Alliance based Peering Scheme for P2P Live Media Streaming Darshan Purandare Ratan Guha.
Understanding Mesh-based Peer-to-Peer Streaming Nazanin Magharei Reza Rejaie.
6/28/2015Reza Rejaie INFOCOM 07 1 Nazanin Magharei, Reza Rejaie University of Oregon PRIME: P2P Receiver-drIven MEsh based.
Supporting VCR-like Operations in Derivative Tree-Based P2P Streaming Systems Tianyin Xu, Jianzhong Chen, Wenzhong Li, Sanglu Lu Nanjing University Yang.
On-Demand Media Streaming Over the Internet Mohamed M. Hefeeda, Bharat K. Bhargava Presented by Sam Distributed Computing Systems, FTDCS Proceedings.
Peer-To-Peer Multimedia Streaming Using BitTorrent Purvi Shah, Jehan-François Pâris University of Houston Houston, TX.
Communication (II) Chapter 4
Exploring VoD in P2P Swarming Systems By Siddhartha Annapureddy, Saikat Guha, Christos Gkantsidis, Dinan Gunawardena, Pablo Rodriguez Presented by Svetlana.
COCONET: Co-Operative Cache driven Overlay NETwork for p2p VoD streaming Abhishek Bhattacharya, Zhenyu Yang & Deng Pan.
P2P Live Streaming Yang Gao, Nazanin Magharei, Reza Rejaie, "Mesh or Multiple- Tree: A Comparative Study of Live P2P Streaming Approaches" INFOCOM 07 Y.
Cluster and Grid Computing Lab, Huazhong University of Science and Technology, Wuhan, China Supporting VCR Functions in P2P VoD Services Using Ring-Assisted.
1 V1-Filename.ppt / yyyy-mm-dd / Initials P2P content distribution T Applications and Services in Internet, Fall 2008 Jukka K. Nurminen.
1 Towards Cinematic Internet Video-on-Demand Bin Cheng, Lex Stein, Hai Jin and Zheng Zhang HUST and MSRA Huazhong University of Science & Technology Microsoft.
Overlay Network Physical LayerR : router Overlay Layer N R R R R R N.
Resilient Peer-to-Peer Streaming Presented by: Yun Teng.
Tsunami: Maintaining High Bandwidth Under Dynamic Network Conditions Dejan Kostić, Ryan Braud, Charles Killian, Eric Vandekieft, James W. Anderson, Alex.
Department of Information Engineering The Chinese University of Hong Kong A Framework for Monitoring and Measuring a Large-Scale Distributed System in.
TOMA: A Viable Solution for Large- Scale Multicast Service Support Li Lao, Jun-Hong Cui, and Mario Gerla UCLA and University of Connecticut Networking.
HUAWEI TECHNOLOGIES CO., LTD. Page 1 Survey of P2P Streaming HUAWEI TECHNOLOGIES CO., LTD. Ning Zong, Johnson Jiang.
Adaptive Transmission for layered streaming in heterogeneous Peer-to-Peer networks Xin Xiao, Yuanchun Shi, Yuan Gao Dept. of CS&T, Tsinghua University.
Load-Balancing Routing in Multichannel Hybrid Wireless Networks With Single Network Interface So, J.; Vaidya, N. H.; Vehicular Technology, IEEE Transactions.
An End-to-End Adaptation Protocol for Layered Video Multicast Using Optimal Rate Allocation Jiangchuan Liu, Member, IEEE, Bo Li, Senior Member, IEEE, and.
Temporal-DHT and its Application in P2P-VoD Systems Abhishek Bhattacharya, Zhenyu Yang & Shiyun Zhang.
PRIME: P2P Receiver-drIven MEsh based Streaming Nazanin Magharei, Reza Rejaie University of Oregon Presenter Jungsik Yoon.
2007/03/26OPLAB, NTUIM1 A Proactive Tree Recovery Mechanism for Resilient Overlay Network Networking, IEEE/ACM Transactions on Volume 15, Issue 1, Feb.
On the Optimal Scheduling for Media Streaming in Data-driven Overlay Networks Meng ZHANG with Yongqiang XIONG, Qian ZHANG, Shiqiang YANG Globecom 2006.
Efficient P2P Search by Exploiting Localities in Peer Community and Individual Peers A DISC’04 paper Lei Guo 1 Song Jiang 2 Li Xiao 3 and Xiaodong Zhang.
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.
Efficient Resource Allocation for Wireless Multicast De-Nian Yang, Member, IEEE Ming-Syan Chen, Fellow, IEEE IEEE Transactions on Mobile Computing, April.
A Bandwidth Scheduling Algorithm Based on Minimum Interference Traffic in Mesh Mode Xu-Yajing, Li-ZhiTao, Zhong-XiuFang and Xu-HuiMin International Conference.
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.
Inside the New Coolstreaming: Principles, Measurements and Performance Implications Bo Li, Susu Xie, Yang Qu, Gabriel Y. Keung, Chuang Lin, Jiangchuan.
An overlay for latency gradated multicasting Anwitaman Datta SCE, NTU Singapore Ion Stoica, Mike Franklin EECS, UC Berkeley
1 FairOM: Enforcing Proportional Contributions among Peers in Internet-Scale Distributed Systems Yijun Lu †, Hong Jiang †, and Dan Feng * † University.
Buffer Analysis of Live P2P Media Streaming Approaches Atif Nazir BSc ’07, LUMS.
Authors: Jiang Xie, Ian F. Akyildiz
Nuno Salta Supervisor: Manuel Ricardo Supervisor: Ricardo Morla
Yang Guo Thomson Princeton Lab
2019/9/14 PPSP Survey.
Presentation transcript:

1 Inside the New Coolstreaming: Principles, Measurements and Performance Implications Bo Li, Susu Xie, Yang Qu, Gabriel Y. Keung, Chuang Lin, Jiangchuan Liu and Xinyan Zhang INFOCOM 2008

2 References [5] X. Zhang, J. Liu, B. Li, and P. Yum, “DONet/Coolstreaming: A Data-driven Overlay Network for Live Media Streaming,” in Proc. of IEEE Infocom, March 2005.(*) [8] Susu Xie, Bo Li, Gabriel Y. Keung, and Xinyan Zhang, “Coolstreaming: Design, Theory and Practice,” in IEEE Transactions on Multimedia, Vol. 9, Issue 8, December *

3 Outlines Introduction Related work The New Coolstreaming Log and Data Collection Results Simulation Results Conclusion

4 Core operations of DONet / CoolStreaming DONet: Data-driven Overlay Network CoolStream: Cooperative Overlay Streaming  A practical DONet implementation Every node periodically exchanges data availability information with a set of partners Retrieve unavailable data from one or more partners, or supply available data to partners The more people watching the streaming data, the better the watching quality will be  The idea is similar to BitTorrent (BT) *

5 A generic system diagram for a DONet node Membership manager  mCache: record partial list of other active nodes  Update by gossiping Partnership manager  Random select Transmission scheduler  Schedules transmission of video data Buffer Map  Record availability

6 Introduction Data-driven overlay  1) peers gossip with one another for content availability information It can independently select neighboring node(s) without any prior- structure constraint  2) the content delivery is based on swarm-like technique using pull operation This essentially creates a mesh topology among overlay nodes, which is shown to be robust and very effective against node dynamics Data-driven design  Don’t use any tree, mesh, or any other structures  Data flows are guided by the availability of data Two main drawbacks in the earlier system:  1) long initial start-up delay due to the random peer selection process and per block pulling operation  2) high failure rate in joining a program during flash crowd

7 Introduction Redesigned and implemented the Coolstreaming system  1) we have now implemented a hybrid pull and push mechanism, in which the video content are pushed by a parent node to a child node except for the first block.  2) a novel multiple sub-streams scheme is implemented, which enables multi-source and multi-path delivery of the video stream.  3) the buffer management and scheduling schemes are completely re-designed to deal with the dissemination of multiple sub-streams.  4) multiple servers are strategically deployed, which substantially reduce the initial start-up time to under 5 seconds.

8 Introduction Contribution of this paper  1) we describe the basic principles and key components in a real working system  2) we examine the workload characteristics and the system dynamics  3) we analyze from real traces what the key factors affect the streaming performance  4) we investigate the sensitivity from a variety of system parameters and offer our insights in the design of future systems

9 Related Work The existing P2P live streaming system  tree-based overlay multicast Construct a multicast tree among end hosts single-tree approach multi-tree approach  drawbacks  multi-tree scheme is more complex to manage in that it demands the use of special multi-rate or/and multilayer encoding algorithms,  this often requires that multiple trees are disjoint, which can be difficult in the presence of network dynamics.  Chunkyspread[14] Not suitable for highly dynamic environment Load balancing problem  data-driven approaches [14] V. Venkararaman, K. Yoshida and P. Francis, “Chunkspread: Heterogeneous Unstructured End System Multicast,” in Proc. of IEEE ICNP, November 2006.

10 The New Coolstreaming Coolstreaming was developed in Python language earlier The first release (Coolstreaming v0.9) in March 2004 and until summer The peak concurrent users reached 80,000 with an average bit rate of 400Kbps. The system became the base technology for Roxbeam Inc. Basic component  2 basic functionalities that a P2P streaming system must have: 1) from which node one obtains the video content 2) how the video stream is transmitted.  The Coolstreaming system adopted a similar technique initially used in BitTorrent (BT) for content location, Use a random peer selection; it then uses a hybrid pull and push mechanism in the new system for content delivery.

11 The New Coolstreaming Advantages of the Coolstreaming:  1) easy to deploy, as there is no need to maintain any global structure;  2) efficient, in that data forwarding is not restricted by the overlay topology but by its availability;  3) robust and resilient, as both the peer partnership and data availability are dynamically and periodically updated. 3 basic modules in the system:  1) Membership manager, which maintains partial view of the overlay.  2) Partnership manager, which establishes and maintains partnership with other peers and also exchanges the availability of video content using Buffer Map (BM) with peer nodes.  3) Stream manager, which is responsible for data delivery.

12

13 The New Coolstreaming (Multiple Sub- Streams) The video stream is divided into blocks with equal size. We divide each video stream into multiple sub-streams without any coding.  Each node can retrieve any sub-stream independently from different parent nodes. A video stream is decomposed into K sub-streams by grouping video blocks according to the following scheme:  the i-th sub-stream contains blocks with sequence numbers (nK +i) n : a non-negative integer, i : a positive integer from 1 to K. This implies that a node can at most receive sub-streams from K parent nodes.

14

15 The New Coolstreaming (Buffer Partitioning) Buffer Map (BM) is introduced to represent the availability of latest blocks of different sub-streams in buffer.  This information also has to be exchanged periodically among partners in order to determine which sub-stream to subscribe to.  The Buffer Map is represented by two vectors, each with K elements. The 1st vector records the sequence number of the latest received block from each sub-stream.  The substreams are specified by {S 1, S 2,..., S K } and the corresponding sequence number of the latest received block is given by {H S1, H S2,..., H SK }. The 2nd vector specifies the subscription of sub-streams from the partner.  Ex : {1, 1, 0, 0,..., 0}  In the new Coolstreaming, each node maintains an internal synchronization buffer cache buffer

16

17 The New Coolstreaming (Push-Pull Content Delivering) The old Coolstreaming system : each block has to be pulled by a peer node, which incurs at least one delay per block. The new Coolstreaming adopts a hybrid push and pull scheme.  When a node subscribes to a sub-stream by connecting to one of its partners via a single request (pull) in BM, the requested partner(the parent node) will continue pushing all blocks in need of the sub-stream to the requested node.  This not only reduces the overhead associated with each video block transfer, but more importantly, significantly reduces the timing involved in retrieving video content.

18 Log and Data Collection Results System configuration  A live event broadcast on 27th September,2006 in Japan.  A sport channel had a live baseball game that was broadcasted at 17:30 and we recorded real traces from 00:00 to 23:59 on that particular day.  There is a log server in the system.  Each user reports its activities to the log server including events and internal status periodically. Users and the log server communicate with each other using the HTTP protocol.  Each video program is streamed at a bit rate of 768 Kbps.  To provide better streaming service, the system deploys 24 servers. The source sends video streams to the servers, which are collectively responsible for streaming the video to peers.  Users do not directly retrieve the video from the source.

19

20 Log and Data Collection Results (User Types and Distribution) The log system also records the IP address and port number for the user. We classify users based on the IP address and TCP connections into the following 4 types:  1) Direct-connect: peers have public addresses with both incoming and outgoing partners;  2) UPnP: peers have private addresses with both incoming and outgoing partners.  3) NAT: peers have private addresses with only outgoing partners;  4) Firewall: peers have public addresses with only outgoing partners.

21 Fig. 4. (a) The evolution of the number of users in the system in a whole day; (b) The evolution of the number of users in the system from 18:00 to 23:59

22

23 Fig. 6. (a) The correlations between join rate and failure rate; (b) The correlations between leave rate and failure rates; (c) Correlation between failure rate and system size The failure is mostly caused by churn, and not affected by the size of the system.

24 Log and Data Collection Results Contribution index : the aggregate upload bandwidth (bytes sent) over the aggregate download bandwidth (bytes received) for each user  If the aggregate upload capacity from a user is zero, the contribution index is also zero. This implies that the user does not contribute any uploading capacity in the system.  If the aggregate upload (bytes sent out) equals to aggregate download (bytes received) of a user, the contribution index is one. This indicates that the user is capable of providing full video streams to another user. We categorize user contributions into levels by their average values of the contribution index:  1) Level 0: contribution index is larger than one. The user can upload the whole video content to another user;  2) Level 1: contribution index is between 0.5 and 1. The user can at least upload half video content to its children;  3) Level 2: contribution index is between 1/6 and 0.5. The user can upload at least one sub-stream to its children;  4) Level 3: contribution index is less than 1/6. The user cannot stably upload a single sub-stream to its children.

25 Fig. 7. (a) The distribution of contribution index from Level 0 to Level 3; (b) Average contribution index of different user connection types against time.

26 Simulation Results Simulation Setting  The video stream is coded with 400Kbps with 10 sub-streams and each block is 10K bits.  There is one source node and one bootstrap node in the system initially.  At the beginning of the simulation, 5,000 nodes join the system according to Poisson arrival with an average inter-arrival time 10 milliseconds.  The source node has upload capacity of 9Mbps and can handle up to 15 children (partners).  The bootstrap node can maintain a record of 500 nodes and its entry can be updated.  Each node can maintain partnerships with at most 20 peers and can buffer up to 30 seconds’ content.  Each node can start playing the video when the buffer is half-loaded.  Homogeneous setting in which each node has an equivalent uploading capacity (500Kbps), and a highly heterogeneous setting in which nodes have uploading capacity at 100Kbps and 900Kbps.

27 Simulation Results Evaluation metrics  (i) Playback continuity (continuity index): the ratio of the number of blocks that exist in buffer at their playback due time to that of blocks that should have been played over time, It is the main metric for evaluating user satisfaction.  (ii) Out-going (Uploading) bandwidth utilization: a metric for evaluating how efficient the uploading bandwidth capacity is used.  (iii) Effective data ratio: the percentage of useful data blocks in all the received ones. This metric evaluates how efficient the bandwidth is utilized.  (iv) Buffer utilization: this measures how the buffer is utilized.  (v) Startup delay: the waiting time until a node starts playing the video after it joins the system.  (vi) Path length: the distance between a node and the source in the overlay. This metric characterizes the overlay structure.  (vii) Partner/parent/child change rate(s): The changes in partners / parents / children per second within a node It is a metric for evaluating overlay stability.

28

29 The increase of the number of sub-streams beyond 8 does not bring any further improvement due to the complication in handling multiples sub-streams in each node.

30

31 The increase of the startup time is mainly caused by the variations and synchronization in receiving sub-streams from different parents.

32 A node needs longer time to retrieve a larger number of sub-streams from different parents.

33 The overlay can reach a stable state within 2 minutes after the initial node joining (flash crowd phase), and higher uploading capacity can lead to more stable topology (less partner change) and better video playback quality.

34 The parent/children change rates also converge to stable rates under different settings within 2-3 minutes, and the stability is sensitive to the uploading capacity.

35 Conclusion This paper takes an inside look at the new Coolstreaming system by exposing its design options and rationale behind them. We study the workload characteristics, system dynamics, and impact from a variety of system parameters.

36 References [2] J. Liu, S. Rao, B. Li and H. Zhang, “Opportunities and Challenges of Peer-to-Peer Internet Video Broadcast,” (invited) Proceedings of the IEEE, Special Issue on Recent Advances in Distributed Multimedia Communications, [5] X. Zhang, J. Liu, B. Li, and P. Yum, “DONet/Coolstreaming: A Data-driven Overlay Network for Live Media Streaming,” in Proc. of IEEE Infocom, March [8] Susu Xie, Bo Li, Gabriel Y. Keung, and Xinyan Zhang, “Coolstreaming: Design, Theory and Practice,” in IEEE Transactions on Multimedia, Vol. 9, Issue 8, December Bo Li, Susu Xie, Gabriel Y. Keung, Jiangchuan Liu, Ion Stoica, Hui Zhang, Xinyan Zhang : “An Empirical Study of the Coolstreaming+ System.” IEEE Journal on Selected Areas in Communications, VOL.25 NO 9, December [14] V. Venkararaman, K. Yoshida and P. Francis, “Chunkspread: Heterogeneous Unstructured End System Multicast,” in Proc. Of IEEE ICNP, November 2006.