Académique Documents
Professionnel Documents
Culture Documents
PPLive
—A Practical P2P Live System with Huge Amount of Users
Gale Huang
P2P Software Architect
galehuang@synacast.com
Shanghai Synacast Media-Tech Corp.
Sept. 2007
Private & Confidential
Agenda
What is PPLive?
– An online video broadcasting and advertising network
– An efficient P2P technique platform and test bench in the world
Common & Special characters
Continuous self-adjustment procedure
Key points PPLive most concerns for
Private & Confidential
1. What is PPLive?
Introduction of PPLive
Private & Confidential
What is PPLive?
– An online video broadcasting and advertising network
Provides an online viewing experience comparable to that of traditional TV broadcasting
75 million global installed base and 20 million monthly active users
600+ channels on PPLive with content ranging from news, music, sports, movies, games, live
video and other interactive services to a global audience
– An efficient P2P technique platform and test bench
History of PPLive:
Bill’s story
– Inventor of PPLive core technology
– Dropped out of post-graduate program to start PPLive in dorm and grew the user
significantly in the first two years.
VOIP
Skype
Downloading
BitTorrent
File Sharing
Basic Napster
Applications
Encoding &
Decoding Streaming technology
MPEG-4
H.264
P2P Download
P2P file share Accelerator
P2P Streaming P2P-Voip P2P-Magzine
DRM
Digital Watermark
Introduction of PPLive——distribution view
Private & Confidential
Entertainment Sports
Private & Confidential
Common points
– what topology of p2p architecture to be chosen
Tree based (multi-tree based)
Mesh based
Unstructured
Other DHT based…
– How to organize peer nodes?
– How to make peer nodes know and communicate with each other ?
Find the partners
Make use of the partners
– How to manage the resource?
– Most concern about the metric of the P2P System
Different points
Private & Confidential
Ideas
PPLive test bench Feedback
Theory
Improvement
Feedback network—— Test network Feedback ( Global)
Private & Confidential
PPLive software Architecture
Private & Confidential
Classical C/S or P2P
Source Server Adapter Server Network
SN SN
SN One P2P Group, One P2P Strategy
SN Overlay Network
SN SN
C C
SNCandadite PPLive has centralized servers taking charge of
Resourse List
SNList C C registering, providing the source and bridging with
PeerList other applications
DHT based Super Node consists of stable SN and
Global Distribution virtual SN
Each SN takes charge some Channels in Live system ;
while in VOD system, each SN takes charge of a
certain area
In each P2P group , we can assign a special p2p
algorithm different with other groups
Peer node architecture
Private & Confidential
Resource Management
P2P
P2P
File Management
Route Management Data Transmission
TCP/UDP/Control Net
Disk Driver
IP
Peer node
– Key point of the whole P2P System
– Implementer of the smart routing algorithm
– Hierarchical design
– A unified interface provided to the high level
applications
PPLive Software Architecture
Private & Confidential
server
C C
Public Network
SN
C Peer
SN
Peer
C Peer
SN Peer
SN
Peer
C
C
Peer
C Peer
C Peer
C
Peer
Peer
Peer
Peer
Peer
Peer Peer
Peer
Peer
Peer
Peer Peer
Peer
Peer Peer
Peer
A Common overlay network contains Live Streaming VOD File Sharing File Storage
– Query queue(P2P orders) Media Service Storage Service
Application related Resource Management
– Real streaming
P2P
– VOD File Management
Route Management Data Transmission
– File sharing
TCP/UDP/Control
– Download from the query queue (How to Disk Driver
IP
execute the orders)
Application independent
Ability of uploading and downloading
R5 ...
R1:QueryQueue
R6
PP1*:pingpong
... layer(*represents
capacity)
Private & Confidential
Conclusion 1000
650
450
– For most p2p system, especially
500
for streaming applications 250
150
(bandwidth wasted and real
70
0
time requested application ), it is Jun 2005 Dec
2005
Mar 2006 Jun 2006 Sep
2006
Dec
2006
Mar 2007 Jun 2007
Nov. 2004 May 2005 Oct. 2006 Dec. 2006 May. 2007 Jun. 2007
Private & Confidential
2nd Misunderstanding
– Theoretical model can lead to the real performance evaluation
Conclusion
– Modeling the system has a big help to design and optimize the P2P application
– P2P System’s capacity can just be proved by the fact of real operation
Over 250K peak simultaneous users to watch the “Super Girl” Live, China,
Q3 , 2005
• 1 PC server
• 10Mb distribution bandwidth
• 500kbps video
• 250,000 audiences
• 50,000 audiences from abroad
Source: PPLive database A NBA play-off game with Huston Rocket, Live, China,
Q2,2007
• 1 PC server
• 10Mb distribution bandwidth
• 400kbps video
• 1,480,000 audiences
Distributed
Live System VOD System File Sharing Others…
Storage
Thank you!
Question Time