22
Summary Introduction Review Challenges Proposal Problems Conclusion Peer-to-Peer IPTV Services Daniel Antonio Garcia Manzato ([email protected]) Prof. Nelson Luis Saldanha da Fonseca ([email protected]) Institute of Computing, State University of Campinas, Brazil 2 nd IEEE Workshop on Enabling the Future Service-Oriented Internet New Orleans-LA, 11/30/2008

Peer-to-Peer IPTV Services

Embed Size (px)

Citation preview

Page 1: Peer-to-Peer IPTV Services

Summary Introduction Review Challenges Proposal Problems Conclusion

Peer-to-Peer IPTV Services

Daniel Antonio Garcia Manzato([email protected])

Prof. Nelson Luis Saldanha da Fonseca([email protected])

Institute of Computing, State University of Campinas, Brazil

2nd IEEE Workshop on Enabling the Future Service-Oriented InternetNew Orleans-LA, 11/30/2008

Page 2: Peer-to-Peer IPTV Services

Summary Introduction Review Challenges Proposal Problems Conclusion

Summary

1 Introduction

2 Review of Existing Architectures

3 Challenges of P2PTV Systems

4 Proposal of a Novel Architecture

5 Problems to Investigate

6 Conclusion

Page 3: Peer-to-Peer IPTV Services

Summary Introduction Review Challenges Proposal Problems Conclusion

Introduction

IPTV: alternative delivering system to cable and broadcastService promises to be in the future InternetProblems: ⇓ visual quality, regulatory issuesTypes:

Commercial IPTVPrivate architectures⇒ limited population servedGuarantee of quality of serviceNormally provided in triple play services

Cooperative IPTVPublic architectures⇒ global population servedQuality of service sought through best effort networksCooperative environment, clients’ resources, P2PTV

Page 4: Peer-to-Peer IPTV Services

Summary Introduction Review Challenges Proposal Problems Conclusion

Contribution and Objectives

Proposal of a novel P2P architecture for cooperative IPTVEvolution of this type of system, which is still in infancyIdentification of common challengesIncorporation of solutions in the architectureSearch for competitiveness with traditional televisionOffer of an efficient alternative to commercial IPTV

Page 5: Peer-to-Peer IPTV Services

Summary Introduction Review Challenges Proposal Problems Conclusion

Overlay Structure Approaches

Tree (End System Multicast – ESM)Explicit delivery structures ⇒ data-push approach+: ⇓ delay−: No fault-tolerance, do not employ leaf nodes’ bandwidths

Mesh (CoolStreaming, PPLive, PPStream)On demand delivery structures ⇒ data-pull approach+: Fault-tolerance, employ leaf nodes’ bandwidths−: Data-driven scheduling cost, ⇑ delay

Multiple Trees (CoopNet, SplitStream, Chunkyspread)Redundancy of data and network paths+: ⇓ delay, fault-tolerance, employ leaf nodes’ bandwidths−: Tree management overhead, implementation complexity

Tree Mesh Hybrid (mTreebone)

Page 6: Peer-to-Peer IPTV Services

Summary Introduction Review Challenges Proposal Problems Conclusion

The CoopNet System

P2P media streaming live (synchronized distribution)Supports peer heterogeneity and network congestion(bandwidth adaptation protocol);Employs LMDC and multiple distribution treesPeer: interior node in just one tree and leaf node in theremaining trees

Page 7: Peer-to-Peer IPTV Services

Summary Introduction Review Challenges Proposal Problems Conclusion

Challenges of P2PTV Systems (1)

Short Start-up DelayBuffers ⇒ delaysWorse with 6=s channels

Need for Incentive MechanismsAutonomy of peers, ⇓ altruismWorse with ⇑ quality and 6=s channels

Need for Some Dedicated InfrastructureOutgoing BW < incoming BW < streamsWorse with ⇑ quality and 6=s channels

Support for Flash Crowds and High Churns⇑ arrival rates (FC), ⇑ departure rates (HC)Worse with 6=s channels

Page 8: Peer-to-Peer IPTV Services

Summary Introduction Review Challenges Proposal Problems Conclusion

Challenges of P2PTV Systems (2)

Support for Client Heterogeneity6=s capacities: adaptationSingle rate: ⇑ − prov. peers and ⇓ + prov. peers

Synchronization of Client Playback6=s delays for peersProblems with live and interactive broadcast

Better NAT and Firewall Traversal⇑ peers behind NATs/firewalls: unreachable

Page 9: Peer-to-Peer IPTV Services

Summary Introduction Review Challenges Proposal Problems Conclusion

ArchitectureOverview

�������

��������������� ��

�����

��� ��� ���

��

����

��

����

��

����

��

����

��

����

��� ���������� ��

�����

���

������

���������� ���

������

���

������

���

������

��������� ����������

���������

�!����� ��

� ��

������

������

������

� � �

�������

�������

������

���������

������ ���

�������������� �� �� �� ��

�� �������������������

���������

������� ��!�����

���

���

���

"#��������$���% "�&� ����$���%

�'����� !'���$

������� ��!�����

�($����)��)��*)�

(���*�&���*�+��

�����"$� �!����!����!����!����������!�%

$��

Page 10: Peer-to-Peer IPTV Services

Summary Introduction Review Challenges Proposal Problems Conclusion

ArchitectureImprovements and Contribution (1)

Challenge: Short Start-up Delay⇒ Employment of multiple trees rather than mesh,distribution of the tree management overhead by multipleservers, distinct scheme for channel switchingChallenge: Need for Incentive Mechanisms⇒ Distinct incentive scheme for cooperation, integrated tothe architectureChallenge: Need for Some Dedicated Infrastructure⇒ Introduction of the 2nd layer of the architecture, withdedicated infrastructure (DSNs)

Page 11: Peer-to-Peer IPTV Services

Summary Introduction Review Challenges Proposal Problems Conclusion

ArchitectureImprovements and Contribution (2)

Challenge: Support for Flash Crowds and High Churns⇒ Employment of redundancy of data (MDC) and networkpath (multiple trees)Challenge: Support for Client Heterogeneity⇒ Employment of LMDC for bandwidth adaptation andincentive scheme with deferred remunerationChallenge: Synchronization of Client Playback⇒ Possible optimization of overlay structuresChallenge: Better NAT and Firewall Traversal⇒ Possible employment of the STUN protocol

Page 12: Peer-to-Peer IPTV Services

Summary Introduction Review Challenges Proposal Problems Conclusion

Channel Switching SchemeBasic Working

1 RN requests an operation of channel browsing to TSN2 RN leaves the 1st set of trees and is admitted into the 2nd

set of trees, changing its state to “browsing mode”3 After channel selection, RN requests an operation of

admission with pre-selection of channel to the upper DSN4 DSN redirects RN to the least loaded TSN of that channel5 RN is admitted by the new TSN into the 1st set of trees,

changing its state back to “watching mode”

Page 13: Peer-to-Peer IPTV Services

Summary Introduction Review Challenges Proposal Problems Conclusion

Channel Switching SchemeCharacteristics

Playback engine with multiple buffers FIFOChannel Switching in RNs:

Start-up delay for browsing: admission into the 2nd set oftrees + filling up playback engine’s buffersAfter start-up delay ⇒ channel switching is immediate,except when swapping scheme is necessaryProblem: synchronization of the streams from the old TSNand from the new TSN

Channel Switching in TSNs:Separation of the channels served and watched ⇒ freebrowsing without affecting descendant RNsDescriptions received from DSN through the sameconnection ⇒ no trees, no swapping, no delay, just switchof playback buffers

Page 14: Peer-to-Peer IPTV Services

Summary Introduction Review Challenges Proposal Problems Conclusion

Admission ControlBasic Working

Peer consults DNS, which returns a DSN in a circular wayContacted DSN checks if the peer will become TSNIf affirmative:

DSN redirects the peer to the least loaded DSNChosen DSN admits the peer as TSN for a ch. with < TSNs

If negative:DSN checks if there is a pre-selection of channelIf affirmative:

DSN redir. the peer to the least loaded TSN of that channelChosen TSN admits the peer as RN into the 1st set of trees(“watching mode”)

If negative:DSN redirects the peer to the least loaded TSNChosen TSN admits the peer as RN into the 2nd set of trees(“browsing mode”)

Page 15: Peer-to-Peer IPTV Services

Summary Introduction Review Challenges Proposal Problems Conclusion

Incentive SchemeCharacteristics

Benefits of temporal de-linkage between cooperation andremuneration:

Employment of cooperation from offline users (⇑ credits)Exemption of cooperation for a period of time (⇓ credits)Reception of higher stream quality (⇓ credits)Handling of asymmetric linksEmergence of TSNs (affiliate servers)

Model of affiliate servers:Comparable to the Internet advertisement business modelQualified TV content ⇒ periodic earning (+$)TSNs enlarge system capacity on demand (−$)Dynamic resource allocation vs. static provision ofinfrastructure

Page 16: Peer-to-Peer IPTV Services

Summary Introduction Review Challenges Proposal Problems Conclusion

Incentive SchemeIncentive Patterns Employed

Banking ⇒ for TSNs ($) and RNs

Storage of credits from cooperation in banking accountsAsynchronous rem. ⇒ temporal de-linkage coop./rem.

Barter Trade ⇒ for TSNs and RNsBalancing between cooperated and consumed bandwidthsCredit or debit in accounts per unit of time

Community (Reputation) ⇒ for TSNs onlyClassification of TSNs ⇒ fairness and selectionCapability-related metrics: delay and throughputBehavioral metrics: session mean time and abrupt disc.

Page 17: Peer-to-Peer IPTV Services

Summary Introduction Review Challenges Proposal Problems Conclusion

Problems to Investigate (1)

Bandwidth optimization for DSNsComplete graph ⇒ dep. # channels, SPs and DSNsEmployment of multicast (network or application), multipletrees, mesh ⇒ ⇑ hops ⇒ ⇑ delay

Different overlay structures for RNsMultiple trees ⇒ ⇓ start-up delayEmployment of different distribution approaches andoverlays, mesh as an auxiliary structure (mTreebone)

Page 18: Peer-to-Peer IPTV Services

Summary Introduction Review Challenges Proposal Problems Conclusion

Problems to Investigate (2)

Stream synchronization at channel switching

Synchronization of ni (new TSN) with mi (old TSN)Employment of Piggybacking, larger buffers, abruptswitching (simplistic approach)

Dynamic variation of network resourcesDeferred remuneration, client heterogeneity, FCs/HCs ⇒rapid oscillation between resource scarcity/excessEmployment of dynamic adaptation by the incentivemechanism ⇒ var. of reputations, thresholds, taxes

Page 19: Peer-to-Peer IPTV Services

Summary Introduction Review Challenges Proposal Problems Conclusion

Conclusion

In this work:Common challenges of P2PTV were identifiedSome solutions for them were studiedAn architecture for cooperative IPTV was proposed

Aims:Evolution of cooperative IPTVCompetitiveness with traditional TV and commercial IPTV

Current status:The architecture is currently under developmentWe hope to have the evaluation of its efficacy soon.

Page 20: Peer-to-Peer IPTV Services

ArchitectureOverview

�������

��������������� ��

�����

��� ��� ���

��

����

��

����

��

����

��

����

��

����

��� ���������� ��

�����

���

������

���������� ���

������

���

������

���

������

��������� ����������

���������

�!����� ��

� ��

������

������

������

� � �

�������

�������

������

���������

������ ���

�������������� �� �� �� ��

�� �������������������

���������

������� ��!�����

���

���

���

"#��������$���% "�&� ����$���%

�'����� !'���$

������� ��!�����

�($����)��)��*)�

(���*�&���*�+��

�����"$� �!����!����!����!����������!�%

$��

Page 21: Peer-to-Peer IPTV Services

ArchitectureOverview

�������

��������������� ��

�����

��� ��� ���

��

����

��

����

��

����

��

����

��

����

��� ���������� ��

�����

���

������

���������� ���

������

���

������

���

������

��������� ����������

���������

�!����� ��

� ��

������

������

������

� � �

�������

�������

������

���������

������ ���

�������������� �� �� �� ��

�� �������������������

���������

������� ��!�����

���

���

���

"#��������$���% "�&� ����$���%

�'����� !'���$

������� ��!�����

�($����)��)��*)�

(���*�&���*�+��

�����"$� �!����!����!����!����������!�%

$��

Page 22: Peer-to-Peer IPTV Services

ArchitectureOverview

�������

��������������� ��

�����

��� ��� ���

��

����

��

����

��

����

��

����

��

����

��� ���������� ��

�����

���

������

���������� ���

������

���

������

���

������

��������� ����������

���������

�!����� ��

� ��

������

������

������

� � �

�������

�������

������

���������

������ ���

�������������� �� �� �� ��

�� �������������������

���������

������� ��!�����

���

���

���

"#��������$���% "�&� ����$���%

�'����� !'���$

������� ��!�����

�($����)��)��*)�

(���*�&���*�+��

�����"$� �!����!����!����!����������!�%

$��