TDK - Team Distributed Koders Distributed Systems I Team Report II 1/24/07 Team Members: Kumar Keswani John Kaeuper Jason Winnebeck Fairness in P2P Streaming.

Slides:



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

NUS.SOC.CS Roger Zimmermann (based in part on slides by Ooi Wei Tsang) Peer-to-Peer Streaming.
Storage management and caching in PAST, a large-scale, persistent peer-to-peer storage utility Antony Rowstron, Peter Druschel Presented by: Cristian Borcea.
Kademlia: A Peer-to-peer Information System Based on the XOR Metric Petar Mayamounkov David Mazières A few slides are taken from the authors’ original.
Mesh or Multiple-Tree A Comparative Study of Live P2P Streaming Approaches 指導教授:許子衡 老師 學生:王志嘉.
Incentives-Compatible Peer-to-Peer Multicast Tsuen-Wan “Johnny” Ngan with Dan Wallach and Peter Druschel Rice University.
SplitStream by Mikkel Hesselager Blanné Erik K. Aarslew-Jensen.
SplitStream: High- Bandwidth Multicast in Cooperative Environments Monica Tudora.
Peer-to-Peer Systems (cntd.) 15/11 – 2004 INF5070 – Media Servers and Distribution Systems:
MMCN 19 Jan 2005 Ooi Wei Tsang Peer-to-Peer Streaming.
SCRIBE A large-scale and decentralized application-level multicast infrastructure.
Natural Selection in Peer-to-Peer Streaming: From the Cathedral to the Bazaar Vivek Shrivastava, Suman Banerjee University of Wisconsin-Madison, USA ACM.
TDK - Team Distributed Koders Distributed Systems I Team Report III 2/7/07 Team Members: Kumar Keswani John Kaeuper Jason Winnebeck Fairness in P2P Streaming.
Common approach 1. Define space: assign random ID (160-bit) to each node and key 2. Define a metric topology in this space,  that is, the space of keys.
Resilient Peer-to-Peer Streaming Paper by: Venkata N. Padmanabhan Helen J. Wang Philip A. Chou Discussion Leader: Manfred Georg Presented by: Christoph.
Scribe An application level multicast infrastructure Kasper Egdø and Morten Bjerre.
Efficient and Flexible Parallel Retrieval using Priority Encoded Transmission(2004) CMPT 886 Represented By: Lilong Shi.
Secure routing for structured peer-to-peer overlay networks M. Castro, P. Druschel, A. Ganesch, A. Rowstron, D.S. Wallach 5th Unix Symposium on Operating.
Presented by Tom Ternquist CS /28/10
SCAN: A Dynamic, Scalable, and Efficient Content Distribution Network Yan Chen, Randy H. Katz, John D. Kubiatowicz {yanchen, randy,
Scribe: A Large-Scale and Decentralized Application-Level Multicast Infrastructure Miguel Castro, Peter Druschel, Anne-Marie Kermarrec, and Antony L. T.
FeedTree: Sharing Web Micronews with Peer-to-Peer Event Notification D. Sandler, A. Mislove, A. Post, P. Druschel Presented by: Andrew Sutton.
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,
SplitStream: High-Bandwidth Multicast in Cooperative Environments Marco Barreno Peer-to-peer systems 9/22/2003.
A New Approach for the Construction of ALM Trees using Layered Coding Yohei Okada, Masato Oguro, Jiro Katto Sakae Okubo International Conference on Autonomic.
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.
Source-Adaptive Multilayered Multicast Algorithms for Real- Time Video Distribution Brett J. Vickers, Celio Albuquerque, and Tatsuya Suda IEEE/ACM Transactions.
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.
1 Enabling Contribution Awareness in an Overlay Broadcasting System ACM SIGCOMM 2006 Presented by He Yuan.
P2PC AST : A Peer-to-Peer Multi-Cast Scheme for Streaming Data Antonio NICOLOSI New York University Siddhartha ANNAPUREDDY.
Slide Set 15: IP Multicast. In this set What is multicasting ? Issues related to IP Multicast Section 4.4.
SCRIBE: A large-scale and decentralized application-level multicast infrastructure Miguel Castro, Peter Druschel, Anne-Marie Kermarrec and Antony Rowstron.
Peer-to-Peer Computing
Issues in Offering Live P2P Streaming Service to Residential Users Nazanin Magharei, *Yang Guo, and Reza Rejaie Dept. of Computer and Information Science.
Scalable Adaptive Data Dissemination Under Heterogeneous Environment Yan Chen, John Kubiatowicz and Ben Zhao UC Berkeley.
Application Layer Multicast
Understanding Mesh-based Peer-to-Peer Streaming Nazanin Magharei Reza Rejaie.
CS218 – Final Project A “Small-Scale” Application- Level Multicast Tree Protocol Jason Lee, Lih Chen & Prabash Nanayakkara Tutor: Li Lao.
1 Enabling Contribution Awareness in an Overlay Broadcasting System Yu-Wei (Eric) Sung Michael Bishop, Sanjay Rao School of ECE SIGCOMM, Pisa, September.
Application Layer Multicast for Earthquake Early Warning Systems Valentina Bonsi - April 22, 2008.
An Evaluation of Scalable Application-level Multicast Using Peer-to-peer Overlays Miguel Castro, Michael B. Jones, Anne-Marie Kermarrec, Antony Rowstron,
P2P Course, Structured systems 1 Introduction (26/10/05)
Project Mimir A Distributed Filesystem Uses Rateless Erasure Codes for Reliability Uses Pastry’s Multicast System Scribe for Resource discovery and Utilization.
 Structured peer to peer overlay networks are resilient – but not secure.  Even a small fraction of malicious nodes may result in failure of correct.
CS Spring 2009 CS 414 – Multimedia Systems Design Lecture 24 – P2P Streaming Klara Nahrstedt Ramsés Morales.
Exploring VoD in P2P Swarming Systems By Siddhartha Annapureddy, Saikat Guha, Christos Gkantsidis, Dinan Gunawardena, Pablo Rodriguez Presented by Svetlana.
ON DESIGING END-USER MULTICAST FOR MULTIPLE VIDEO SOURCES Y.Nakamura, H.Yamaguchi, A.Hiromori, K.Yasumoto †, T.Higashino and K.Taniguchi Osaka University.
Multicast Presented by Hakim Weatherspoon Slides borrowed from Qi Huang 2009 and Tom Ternquist 2010.
Resilient Peer-to-Peer Streaming Presented by: Yun Teng.
Secure Group Communication: Key Management by Robert Chirwa.
De-Nian Young Ming-Syan Chen IEEE Transactions on Mobile Computing Slide content thanks in part to Yu-Hsun Chen, University of Taiwan.
Content Addressable Network CAN. The CAN is essentially a distributed Internet-scale hash table that maps file names to their location in the network.
Fair Layered Coding Streaming Jaime García-Reinoso  Iván Vidal  Francisco Valera University Carlos III of Madrid Alex Bikfalvi IMDEA Networks.
DHT-based Multicast. Motivation 1.How does it perform in the presence of heterogeneity? –DHTs are good at balancing load –However, resources are usually.
A Utility-based Approach to Scheduling Multimedia Streams in P2P Systems Fang Chen Computer Science Dept. University of California, Riverside
Peer-to-Peer Result Dissemination in High-Volume Data Filtering Shariq Rizvi and Paul Burstein CS 294-4: Peer-to-Peer Systems.
Efficient Resource Allocation for Wireless Multicast De-Nian Yang, Member, IEEE Ming-Syan Chen, Fellow, IEEE IEEE Transactions on Mobile Computing, April.
LOOKING UP DATA IN P2P SYSTEMS Hari Balakrishnan M. Frans Kaashoek David Karger Robert Morris Ion Stoica MIT LCS.
Scribe: A Large-Scale and Decentralized Application-Level Multicast Infrastructure Miguel Castro, Peter Druschel, Anne-Marie Kermarrec, and Antony I.T.
Inside the New Coolstreaming: Principles, Measurements and Performance Implications Bo Li, Susu Xie, Yang Qu, Gabriel Y. Keung, Chuang Lin, Jiangchuan.
1 FairOM: Enforcing Proportional Contributions among Peers in Internet-Scale Distributed Systems Yijun Lu †, Hong Jiang †, and Dan Feng * † University.
Peer-to-Peer Networks 10 Fast Download Christian Schindelhauer Technical Faculty Computer-Networks and Telematics University of Freiburg.
Incentives-Compatible P2P Multicast Tsuen-Wan “Jonny” Ngan, Dan S.Wallach, Peter Druschel Presenter: Jianming Zhou.
Fabián E. Bustamante, Fall 2005 A brief introduction to Pastry Based on: A. Rowstron and P. Druschel, Pastry: Scalable, decentralized object location and.
COS 461: Computer Networks
TDK - Team Distributed Koders Distributed Systems I
Ying Qiao Carleton University Project Presentation at the class:
COS 461: Computer Networks
Enabling Contribution Awareness in an Overlay Broadcasting System
Presentation transcript:

TDK - Team Distributed Koders Distributed Systems I Team Report II 1/24/07 Team Members: Kumar Keswani John Kaeuper Jason Winnebeck Fairness in P2P Streaming Multicast: Research Paper Presentation

Presentation Topics  Research Paper Presentation SplitStream Incentives-Compatible P2P Multicast Taxation in P2P Streaming Broadcast  Future Work

Paper 1: SplitStream  SplitStream: high-bandwidth multicast in cooperative environments Proceedings of the Nineteenth ACM Symposium on Operating Systems Principles October , 2003

Problems  Single tree-based multicast systems poor choice for P2P network 1.Small number of interior nodes bear forwarding burden 2.Only acceptable if interior nodes are highly-available, dedicated infrastructure routers 3.Many multicast applications need high bandwidth, so many nodes can’t handle forwarding 4.Poor fault-tolerance – if one node fails, some nodes receive none of original content 5.Poor scalability

Solutions  Split the original content into k stripes and multicast each stripe in a separate tree  Nodes join trees of stripes they want to receive and specify upper-bound on number of children they will accept  Solution has 2 main goals: 1.Forest of trees is interior-node-disjoint 2.Forest must satisfy node bandwidth constraints

Solutions (continued)  Forwarding load is now distributed  System more fault-tolerant (applications using SplitStream can use data encodings to reconstruct content from less than k stripes)  Enhanced scalability

Feasibility of Forest Construction  Def: for node set N and source set S N, it is possible to connect nodes such that each node i N gets I i distinct stripes and has no more than C i children (I i is desired indegree and C i is forwarding capacity)  2 conditions for feasibility: 1.Necessary (but not sufficient): 2.Sufficient: if node can forward more than it wants to receive, it must receive (or originate, if source) all k stripes: 3.High probability of feasibility if 2 conditions met and there is reasonable spare capacity:

Implementation of Solution  Basic architecture: Scribe group communication system on top of Pastry overlay protocol  Pastry: P2P overlay network 1.Nodes assigned 128-bit nodeId 2.Messages sent with 128-bit keys - message routed to node with nodeId numerically closest to key, called the key’s root  Scribe: application-level group communication system upon Pastry 1.Multicast groups (trees) given pseudo-random Pastry keys called groupId (groupId’s root is root of multicast tree) 2.Multicast trees formed by combining Pastry routes from group members to groupId’s root

Solution Design  Recall interior-node-disjoint goal 1.How? Scribe trees are formed from Pastry routes between tree members and the groupId (the tree root), and Pastry routes messages to nodeId’s sharing progressively longer prefixes with groupId 2.so interior nodeId’s share some digits with groupId 3.Simply make all groupId’s differ in most significant digit – then trees will be interior-node-disjoint

Solution Design (continued)  Recall node bandwidth satisfaction goal 1.Inbound bandwidth satisfied by joining trees of desired stripes 2.Satisfying outbound bandwidth involves orphaning nodes: if node attempts to be child of parent with exhausted outbound bandwidth, child taken, but then some child (possibly same child) is orphaned 1.First, parent tries to orphan child of tree in which the parent’s nodeId shares no prefix with that tree’s groupId 2.If no such child, pick child w/ shortest common prefix w/ groupId 3.Orphan attempts to be child of its former siblings; 1) + 2) applied recursively until orphan finds parent or no siblings share a nodeId prefix with the tree groupId 4.If orphan cannot find parent, it anycasts to the Spare Capacity Group; DFS of SCG will find node in stripe tree needed by orphan

Paper 2  Incentives-Compatible Peer-to-Peer Multicast The Second Workshop on the Economics of Peer-to-Peer Systems July 2004

Goals  Have nodes observe their peers to: Prevent freeloading  Nodes that refuse to forward packets  Nodes that refuse to accept children Detect Freeloaders Stop servicing Freeloaders

Fairness Mechanism 1 Debt Maintenance  Consider two nodes A and B.  A sends a stream of data to B.  Both the nodes A and B keep a track of record.  Both A and B know B owes A a debt of one packet.  If debt exceeds some threshold value, A refuses to service B.

Fairness Mechanism 2 Ancestor Rating  An extension to Debt Maintenance  Apply debts not only to immediate parents but to all of its ancestors  If a packet is not received by the child it assigns ‘equal blame’ to all its ancestors  Reduce the confidence level of each node in the path to the root  If packet is received, all ancestors get equal credit and confidence level is increased

Fairness Mechanism 3 Tree Reconstruction  Periodically rebuild the forest trees to identify freeloaders  Keeps a track of debts in parent-child role by rebuilding the tree periodically  Identifies ‘innocent nodes’ blamed because of their child’s selfish behavior  Only selfish nodes will keep on accumulating debt

Tree Reconstruction Cost  Figure shows average number of messages sent by each node in order to construct a tree 64 byte/msg, reconstruct 16 trees every 2 min, 128Kbps stream  1.71% overhead

Other Fairness Mechanisms  Parental Availability If any parent continuously refuses to accept children, child identifies it as a freeloader  Reciprocal Requests If for A and B, A is much more often the child, allow B to break standard join protocol and try to join A  Sybil Attack Prevention New nodes start on a “probation period”

Results: Debt Maintenance  Sensitive to tree reconstruction method Pastry, for example, chooses similar trees on each rebuild because it favors local paths. Debt / Expected debt

Results: Ancestor Rating  Figure shows negative confidence distribution after 256 full tree reconstructions 5% selfish nodes refusing to forward data

Experiment  500 nodes with 4 selfish nodes  2 types of selfish nodes  Nodes will forward to children unless its child’s Confidence value <-2 or Parental Availability <0.44 and Confidence value <0.2

Paper 3: Taxation  A case for taxation in peer-to-peer streaming broadcast Proceedings of the ACM SIGCOMM Workshop on Practice and theory of incentives in Networked Systems September 2004

Taxation: Goals  Goal: Improve on bit-for-bit P2P streaming model to maximize social welfare  Social welfare: Aggregate of utility, which is benefit minus cost  Idea: Achieve through increasing contribution of resource-rich peers  Work Based on ESM:

Taxation: Environment  Resource-poor (cable, DSL) versus resource-rich peers  In P2P streaming “the publisher of the video stream has the means to enforce taxation and the will to maximize their collective social welfare” Means: Proprietary software (the viewer) Will: Better overall video quality means more viewers  Strategic peers: maximize utility

Taxation: Utility  Utility is defined as benefit minus cost  Benefit is based entirely on received bandwidth (content quality)  Cost is based on percentage of outgoing bandwidth

Taxation: Tax Schedule  Properties of a good tax scheme Asymmetric roles and power Public and fixed tax schedule Fairness (horizontal and vertical) Budget Balanced

Taxation: Tax Schedule  Linear tax schedule based on receive rate r and contribution f f = max( t * ( r – G ), 0 )  Based on two fixed parameters t – tax rate (fixed) G – demogrant (dynamic)  Demogrant is a form of base income * For an economic perspective on demogrants, see

Taxation: Implementation  Entitled bandwidth is G + f  Nodes assign priority to trees, highest priority for each entitled tree, then decreasing order for all others  Higher priority (entitled) nodes preempt lower priority in join process  Publisher dynamically adjusts G: Start with G as 0 Increase G by one each round until budget is balanced

Taxation: Strengths and Weaknesses  Strengths Improves social welfare in heterogeneous environments Linear scheme simple to implement and works as well as non-linear  Weaknesses Tax rate must be chosen by publisher Protocol relies heavily on trust in client software

Future Work  Main importance is the 2 goals of the SplitStream design 1.We will implement interior-node-disjoint forest 2.We will implement forest satisfying bandwidth constraints  We will not be using Pastry and Scribe  Focus is on enforcing fairness through: 1.Debt maintenance 2.Ancestor rating 3.Attempt to incorporate taxation scheme with previous fairness algorithms

References 1.Castro, M., Druschel, P., Kermarrec, A., Nandi, A., Rowstron, A., and Singh, A SplitStream: high-bandwidth multicast in cooperative environments. In Proceedings of the Nineteenth ACM Symposium on Operating Systems Principles (Bolton Landing, NY, USA, October , 2003). SOSP '03. ACM Press, New York, NY, DOI= 2.T. W. J. Ngan, D. S. Wallach, and P. Druschel. Incentives- Compatible Peer-to-Peer Multicast. In The Second Workshop on the Economics of Peer-to-Peer Systems, July Chu, Y A case for taxation in peer-to-peer streaming broadcast. In Proceedings of the ACM SIGCOMM Workshop on Practice and theory of incentives in Networked Systems (September 2004). ACM Press, New York, NY, DOI=