COMET-ENVISION Workshop Slough 11th November 2011
Architecture of a Network-Aware P2P-TV Application: the NAPA- WINE Approach
Emilio Leonardi Politecnico di Torino
Slough, 11th November 2011
Emilio Leonardi Politecnico di Torino COMET-ENVISION Workshop - - PowerPoint PPT Presentation
Architecture of a Network-Aware P2P-TV Application: the NAPA- WINE Approach Slough, 11th November 2011 Emilio Leonardi Politecnico di Torino COMET-ENVISION Workshop Slough 11th November 2011 Internet Video Streaming Enable video distribution
COMET-ENVISION Workshop Slough 11th November 2011
Slough, 11th November 2011
2
Enable video distribution from anywhere, to any number of people anywhere in the world
Unlimited number of channels
Everyone can be a content producer/provider
Content Delivery Networks
- resources (costs) demanded to servers scale
+ fully controllable by the content provider and
P2P systems (Peer Assisted)
+ resources (costs) demanded to servers,
- requires high bandwidth access - much more difficult to control
5
peer authentication (access control pricing) incentives to cooperation robustness against attacks (s.a pollution) localization of traffic
6
7
8 source
Different peers are organized in a tree
The content is distributed along the tree
The source adopts a multi-description encoder Each description is distributed on a different
10
12
Chunks are distributed through the network
as soon as, a peer obtains a new chunk c, it will
Chunks are not propagated perfectly in order;
Each chunk has a deadline after which it is not
13
14
15
16
NAPA-WINE Second Video Conference 22 Oct 2008 19
Scheduler layer
IPv4 / IPv6 + UDP / TCP / SCTP / ... Messaging Layer + NAT/FW traversal
Peer-Rep
Overlay Layer Active peers’ InfoBase Chunk buffer Video Source(s) Display(s) Peer Selection Trading Logic
Net-Rep Ext-Rep Monitoring layer
Monitoring Controller
REP controller Neighbour set Topology controller
User Layer
Content Ingestion Player Control Interface
A number of measurement functions are available
RTT, Hop count, capacity, loss rate,
Capacity and available bandwidth
pluggable measurement functions can be added
extensible framework
21
22
4Mb/s UDP cross traffic 7Mb/s UDP cross traffic 1,2,3,4,5 TCP cross traffic
A QoE estimator has been developed:
It estimates online the quality of the audio/video on the base of
losss patterns and potentially other parameters (trained database)
based on random neural network (Gelenbe, Rubino)
FT, LightComm, NEC WP5
useful parameters can easily be measured
RTT, hop counts
useful for topology management and peer scheduling
some parameters are difficult to obtain
available bandwidth technique are error prone
the capacity of the bottleneck may be intrusive
some parameters must be carefully measured
Input parameters for the Neural Network: losses, loss burst size, delays
misguided measurement in the RNN input will mistake the QoE estimation process
measurement accuracy is crucial for good QoE estimation
32
A repository has been developed and released:
It stores information published by peers
SQL information base
HTTP communication interface
Currently implement the peer repository
E-REP (ALTO server) is alto under development
Netvisor
34
35
35
Integration of ALTO Server + Client into
ALTO Server
ALTO Client
ALTO Client is part of the External Repository (E-Rep)
E-Rep can contact ALTO- server to gain network-layer information the peers cannot measure themselves
36
FT, LightComm, NEC
NAPA-WINE Second Review Meeting Brussels, 10th May 2010 37 NAPA-WINE Second Video Conference 22 Oct 2008 37
Scheduler layer
IPv4 / IPv6 + UDP / TCP / SCTP / ... Messaging Layer + NAT/FW traversal Overlay Layer Active peers’ InfoBase Chunk buffer Video Source(s) Display(s) Peer Selection Trading Logic
REP controller Neighbour set Topology controller
User Layer
Content Ingestion Player Control Interface
A peer publishes the set of
Peers specify the chunk they
Once the select message is
An ack is sent back once
Peer A Peer B New Chunk Arrival time time
38
OFFER SELECT CHUNK ACK
time
Negative Select Select Offer Chunk Transmission Acknoledgement 39
N
A
Peer A
RTT
AB
D
AB
If NA is too small,
Peers’ upload bandwidth is not exploited at best.
The transmission queue empties quickly.
Long periods of inactivity.
If NA is too large,
Transmission queue becomes too long.
Large delivery delays and, possibly, losses.
Exploit upload bandwidth and mantain short queues to
Optimal setup depends on the network scenario which
40
The algorithm runs everytime an ACK is received:
41
Queue delay (D), number of
active signalling threads (NA) and throughput evolution during time adopting HRC (ρ = 0.9, D0=150ms).
42
4 Mb/s 4 Mb/s TCP 1 Mb/s
43
The logical topology is a directed graph, every
It can be built either exploiting repository
Every T sec. peer p updates the list of in-
one that selects the peers to drop, another one selecting parents to add.
43
For these filtering functions we consider:
peer upload bandwidth, path RTT or path packet loss rate,
and some application layer metrics
the peer offer rate number of received chunks from a parent.
44
45
46
46
RTT-RTT RTT-Random Random-Random
In most of the scenarios it is possible to localize
Being too extreme in localizing traffic may cause
Nevertheless there are margins within which traffic
In several cases a smart localization strategy can
47
Localization is more effective if the
48
Continuous monitoring of the network status
Network monitoring can easily be achieved
49
To achieve good performance it is necessary
Local selections of neighboring peers
50
Information about the upload bandwidth of
51
UDP is preferable to TCP as transport
Peers must be supplied with a simple
52
53
Available at http://peerstreamer.org
NAPA-WINE Final Review Meeting Paris, 4 July 2011