Reliability and Relay Selection in Peer- to-Peer Communication Systems Salman A. Baset and Henning Schulzrinne Internet Real-time Laboratory Department.

Slides:



Advertisements
Similar presentations
One Hop Lookups for Peer-to-Peer Overlays Anjali Gupta, Barbara Liskov, Rodrigo Rodrigues Laboratory for Computer Science, MIT.
Advertisements

P2P data retrieval DHT (Distributed Hash Tables) Partially based on Hellerstein’s presentation at VLDB2004.
Clayton Sullivan PEER-TO-PEER NETWORKS. INTRODUCTION What is a Peer-To-Peer Network A Peer Application Overlay Network Network Architecture and System.
Skype & Network Management Taken from class reference : An Analysis of the Skype Peer-to-Peer Internet Telephony Protocol Salman A. Baset and Henning Schulzrinne.
CS Spring 2011 CS 414 – Multimedia Systems Design Lecture 38 – Voice-over-IP/Skype Klara Nahrstedt Spring 2011.
Voice over IP Skype.
Review of a research paper on Skype
Comparison between Skype and SIP- based Peer-to-Peer Voice-Over-IP Overlay Network Johnson Lee EECE 565 Data Communications.
An Analysis of the Skype Peer-to-Peer Internet Telephony Protocol Salman Baset and Henning Schuzrinne INFOCOMM 2006 Presenter - Bob Kinicki Presenter -
CS Spring 2014 CS 414 – Multimedia Systems Design Lecture 41 – P2P Streaming (Part 5) Klara Nahrstedt.
The testbed environment for this research to generate real-world Skype behaviors for analyzation is as follows: A NAT-ed LAN consisting of 7 machines running.
ASAP: an AS-Aware Peer-Relay Protocol for High Quality VoIP Written by Shansi Ren, Lei Guo, and Xiaodong Zhang Department of Computer Science and Engineering.
LightFlood: An Optimal Flooding Scheme for File Search in Unstructured P2P Systems Song Jiang, Lei Guo, and Xiaodong Zhang College of William and Mary.
How Green is IP-Telephony? Salman Abdul Baset*, Joshua Reich*, Jan Janak**, Pavel Kasparek**, Vishal Misra*, Dan Rubenstein*, Henning Schulzrinne* Department.
Peer-to-Peer Networks as a Distribution and Publishing Model Jorn De Boever (june 14, 2007)
Skype Relay Calls Skype Relay Calls Measurements and Experiments Wookyun Kho Salman Abdul Baset Henning Schulzrinne.
Peer-to-peer Multimedia Streaming and Caching Service Jie WEI, Zhen MA May. 29.
Spotlighting Decentralized P2P File Sharing Archie Kuo and Ethan Le Department of Computer Science San Jose State University.
Peer-to-Peer Based Multimedia Distribution Service Zhe Xiang, Qian Zhang, Wenwu Zhu, Zhensheng Zhang IEEE Transactions on Multimedia, Vol. 6, No. 2, April.
December 20, 2004MPLS: TE and Restoration1 MPLS: Traffic Engineering and Restoration Routing Zartash Afzal Uzmi Computer Science and Engineering Lahore.
More about Skype. Overview Any node with a public IP address having sufficient CPU, memory and network bandwidth is a candidate to become a super node.
Efficient Content Location Using Interest-based Locality in Peer-to-Peer Systems Presented by: Lin Wing Kai.
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,
Where should services reside in Internet Telephony Systems? Xiaotao Wu, Henning Schulzrinne {xiaotaow, Department of Computer Science,
presented by Hasan SÖZER1 Scalable P2P Search Daniel A. Menascé George Mason University.
Chord-over-Chord Overlay Sudhindra Rao Ph.D Qualifier Exam Department of ECECS.
Peer-to-peer approaches for SIP Henning Schulzrinne Dept. of Computer Science Columbia University.
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.
SIMULATING A MOBILE PEER-TO-PEER NETWORK Simo Sibakov Department of Communications and Networking (Comnet) Helsinki University of Technology Supervisor:
Hashing it Out in Public Common Failure Modes of DHT-based Anonymity Schemes Andrew Tran, Nicholas Hopper, Yongdae Kim Presenter: Josh Colvin, Fall 2011.
1 Napster & Gnutella An Overview. 2 About Napster Distributed application allowing users to search and exchange MP3 files. Written by Shawn Fanning in.
ON THE STABILITY OF SKYPE SUPER NODES Anat Bremler-Barr Ran Goldschmidt Interdisciplinary Center Herzliya Haifa University
An Analysis of the Skype Peer-to-Peer Internet Telephony Protocol Ai-Chun Pang Graduate Institute of Networking and Multimedia Dept. of Comp. Sci. and.
By Shobana Padmanabhan Sep 12, 2007 CSE 473 Class #4: P2P Section 2.6 of textbook (some pictures here are from the book)
P2PSIP Charter Proposal Many people helped write this charter…
 Introduction  VoIP  P2P Systems  Skype  SIP  Skype - SIP Similarities and Differences  Conclusion.
Thesis Proposal Data Consistency in DHTs. Background Peer-to-peer systems have become increasingly popular Lots of P2P applications around us –File sharing,
Introduction of P2P systems
Skype P2P Kedar Kulkarni 04/02/09.
Chapter 2: Application layer
Resilient P2P Anonymous Routing by Using Redundancy Yingwu Zhu.
Tsunami: Maintaining High Bandwidth Under Dynamic Network Conditions Dejan Kostić, Ryan Braud, Charles Killian, Eric Vandekieft, James W. Anderson, Alex.
Chord: A Scalable Peer-to-peer Lookup Protocol for Internet Applications Xiaozhou Li COS 461: Computer Networks (precept 04/06/12) Princeton University.
Streaming over Subscription Overlay Networks Department of Computer Science Iowa State University.
An Experimental Study of the Skype Peer-to-Peer VoIP System Saikat Guha, Cornell University Neil DasWani, Google Ravi Jain, Google IPTPS ’ 06 Presenter:
Super-peer Network. Motivation: Search in P2P Centralised (Napster) Flooding (Gnutella)  Essentially a breadth-first search using TTLs Distributed Hash.
2: Application Layer1 Chapter 2: Application layer r 2.1 Principles of network applications  app architectures  app requirements r 2.2 Web and HTTP r.
Peer Pressure: Distributed Recovery in Gnutella Pedram Keyani Brian Larson Muthukumar Senthil Computer Science Department Stanford University.
An Improved Kademlia Protocol In a VoIP System Xiao Wu , Cuiyun Fu and Huiyou Chang Department of Computer Science, Zhongshan University, Guangzhou, China.
Peer-to-Peer Network Tzu-Wei Kuo. Outline What is Peer-to-Peer(P2P)? P2P Architecture Applications Advantages and Weaknesses Security Controversy.
Peer-to-Peer Communication Systems Protocols and Systems, Reliability, Energy Efficiency and Measurements Salman Abdul Baset Department.
1 Peer-to-Peer Technologies Seminar by: Kunal Goswami (05IT6006) School of Information Technology Guided by: Prof. C.R.Mandal, School of Information Technology.
An analysis of Skype protocol Presented by: Abdul Haleem.
Voice over IP B 林與絜.
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.
PROP: A Scalable and Reliable P2P Assisted Proxy Streaming System Computer Science Department College of William and Mary Lei Guo, Songqing Chen, and Xiaodong.
LightFlood: An Efficient Flooding Scheme for File Search in Unstructured P2P Systems Song Jiang, Lei Guo, and Xiaodong Zhang College of William and Mary.
A Cooperative SIP Infrastructure for Highly Reliable Telecommunication Services BY Sai kamal neeli AVINASH THOTA.
Stefanos Antaris A Socio-Aware Decentralized Topology Construction Protocol Stefanos Antaris *, Despina Stasi *, Mikael Högqvist † George Pallis *, Marios.
Algorithms and Techniques in Structured Scalable Peer-to-Peer Networks
Peer-to-Peer Systems: An Overview Hongyu Li. Outline  Introduction  Characteristics of P2P  Algorithms  P2P Applications  Conclusion.
November 2005IETF 641 Interconnect SIP networks using P2P SIP Marc Bailly
Malugo – a scalable peer-to-peer storage system..
KYUNG-HWA KIM HENNING SCHULZRINNE 12/09/2008 INTERNET REAL-TIME LAB, COLUMBIA UNIVERSITY DYSWIS.
Peer-to-Peer Protocol (P2PP) Salman Baset, Henning Schulzrinne Columbia University.
SOSIMPLE: A Serverless, Standards- based, P2P SIP Communication System David A. Bryan and Bruce B. Lowekamp College of William and Mary Cullen Jennings.
-1/16- Maximum Battery Life Routing to Support Ubiquitous Mobile Computing in Wireless Ad Hoc Networks C.-K. Toh, Georgia Institute of Technology IEEE.
CS Spring 2010 CS 414 – Multimedia Systems Design Lecture 24 – Introduction to Peer-to-Peer (P2P) Systems Klara Nahrstedt (presented by Long Vu)
Innovations in P2P Communications David A. Bryan College of William and Mary April 11, 2006 Advisor: Bruce B. Lowekamp.
Presentation transcript:

Reliability and Relay Selection in Peer- to-Peer Communication Systems Salman A. Baset and Henning Schulzrinne Internet Real-time Laboratory Department of Computer Science Columbia University August 3 rd, 2010

2 Background

3 Peer-to-peer communication system P2P / PSTN gateway NAT / firewall network address of node B? (3) signaling (4) media network address of node E? (2) signaling (3) media node C node B media relay (or relay) node A node D node E (1) (2) node = user agent nodes form an overlay share responsibilities for message routing, signaling, media relaying super nodes, ordinary nodes (1) (2) (1) Reliability of p2p. comm systems? Relay selection techniques?

4 Motivation Reliability framework Reliability and Relay Selection Improving reliability of relayed calls User annoyance How many relays per call to achieve 99.9% success rate? Sources of unreliability in p2p comm. systems? How to quantify the interference of relayed calls with other applications? Outline Model for relayed calls Relay selection How to improve the reliability of relayed calls? How to find a relay in O(1) hop that minimizes latency and user annoyance?

5 Reliability framework Reliability=Proportion of completed calls (99.9%) Goal –understand reasons for call failure –devise techniques to improve them Reasons for call failure –(1) distributed search fails to find online callee DHT lookup –(2) distributed search fails to find a suitable relay DHT lookup or any appropriate relay selection scheme –(3) relay fails during voice/video session understand and improve reliability for relayed calls devise techniques for finding a relay

6 Motivation Reliability framework Reliability and Relay Selection How many relays per call to achieve 99.9% success rate? Model for relayed calls Outline

7 Understanding reliability of relayed calls Percentage of VoIP calls that need relaying –the provider knows –15-20% calls for a commercial client-server IM / VoIP application –341 relays in 20 days for Skype [Suh05Infocom] 17 per day for a super node (~50K super nodes) –Some client-server providers relay all calls –NAT studies

8 Understanding reliability of relayed calls For desired reliability, minimum relays per call? –let X i and R i lifetime and residual lifetime of a relay candidate (i.i.d.) –let D denote the call duration. –when i th relay fails, call is switched (i+1) st relay which is instantly selected from the global pool of all relays. Smallest k such that call completion prob. is greater than or equal to desired reliability k depends on the relationship b/w node lifetime and call duration 99.9% R1R1 RkRk R k-1 D 12K-1 k

9 Understanding reliability of relayed calls Min # of relays k Min # of relays k Skype 12 hours (mean) 4 hours (med) 3 (mean call holding time = one hour) 95% of Skype relayed call durations – minimum of 3 relays to maintain 99.9% success rate 95% of Skype relay calls last less than 60 mins Exponential node lifetimes Skype node lifetimes lifetimes approximated as pareto Mean node lifetime Mean call duration What if the system does not have enough relays?

10 Motivation Reliability framework Reliability and Relay Selection Improving reliability of relayed calls Model for relayed calls How to improve the reliability of relayed calls? Outline

11 Improving reliability of relayed calls Approach 1 -- no-replacement –select k relays in the beginning of a call –do not replace failed relays Approach 2 -- with-replacement –select k relays in the beginning of a call –replace failed relays after μ –no failure during switch over –Skype uses 2-relay with- replacement scheme pure death process 210 2λ2λ λ 1-(λ + μ) 1-2λ μ [Bir04]

12 Improving reliability of relayed calls No-replacement – add more relays? –diminishing returns 1 vs. 2 vs. 3 vs. 4 MTTF 50% 22% 13% (exp) No-replacement (NR) vs. with-replacement (WR) –depends on mean lifetime, call duration, repair time Skype mean=12 hours Median=4 hours 2 relay with-replacement search time=60s

13 Motivation Reliability framework Reliability and Relay Selection Improving reliability of relayed calls User annoyance How to quantify the interference of the relayed call with other applications? Model for relayed calls Outline

14 User annoyance Interference of relayed call with other applications running on the relay machine File sharing = mutually beneficial (tit-for-tat) Relaying = altruistic Provide incentives or minimize user annoyance How to quantify user annoyance? –automatically? –spare network capacity Issues in measuring spare capacity? –bandwidth tests, ALTO

15 Motivation Reliability framework Reliability and Relay Selection Improving reliability of relayed calls User annoyance Model for relayed calls Relay selection How to find a relay in O(1) hop that minimizes latency and user annoyance? Outline

16 Distributed relay selection NAT IP addressRTTBandwidth IP addressRTTBandwidth Goal O(1) hop 2-level hierarchical network 1-relay close-by Give me a relay Here is a randomly selected relay local-random scheme search performancedropped calls

17 Distributed relay selection Delay User annoyance –interference with user applications –file sharing (draft idle peers) –spare capacity random mindelay –select relay with minimum delay netmax –select relay with maximum spare bw threshold –select relays with delay < 150 ms and maximum spare capacity Results –strategies perform similar near system collapse point –minimizing latency increases annoyance, number of jobs per relay, vice versa –threshold approach performs reasonably well

18 Related work Modeling –On lifetime-based node failure and stochastic resilience of decentralized peer-to-peer networks [Leonard09ToN] Minimizing churn –Minimizing churn in distributed systems [Godfrey06Sigcom] Relay selection –ASAP: an AS-aware peer relay protocol for high quality VoIP [Ren06ICDCS] $ diff this related_work –focus on node isolation –minimizing churn is not sufficient –reliability, relay selection, user annoyance

19 Conclusion Framework for analyzing reliability in p2p communication systems A model for reliability of relayed calls Reliability improvement schemes User annoyance Distributed relay selection