SlideShare a Scribd company logo
PPETP: A Peer-to-Peer protocol for reliable
and flexible live multimedia streaming
Riccardo Bernardini
riccardo.bernardini@uniud.it
June 14, 2018
PPETP: A Peer-to-Peer protocol for reliable and flexible live multimedia streaming
The problem
• Good quality content = large bandwidths
DVD quality → 1 Mbit/sec
HD quality → 10 Mbit/sec
• Successful program = many users
F1 races ≈ 60 millions viewers/race (2008)
Beijing Olympics ≈ 2 billions viewers (opening ceremony)
• Good quality × Success = Very large bandwidth required
– Bandwidth required = Content bandwidth × Number of users
1
DIEGM University of Udine
PPETP: A Peer-to-Peer protocol for reliable and flexible live multimedia streaming
Solutions
Currently available
• Content Delivery Network (CDN)
– More than one server used
Load shared
The overall bandwidth remains the same
• Multicast
Low bandwidth requirements
Multicast devices needed
A mess across different Autonomous Systems
– Attractive for Internet Service Providers
2
DIEGM University of Udine
PPETP: A Peer-to-Peer protocol for reliable and flexible live multimedia streaming
Solutions
Currently researched: Peer-to-Peer Streaming
Use the fire brigade principle
Server
Content
→ Each user passes the content to another user
→ Just feed only few users
→ The network will take care of itself
3
DIEGM University of Udine
PPETP: A Peer-to-Peer protocol for reliable and flexible live multimedia streaming
Peer-to-Peer Streaming Challenges
Limited upload bandwidth
Server
Content
User with low
upload bandwidth
Sudden user departure
Server
Content
Stream poisoning
Server
Content
Malicious user
4
DIEGM University of Udine
PPETP: A Peer-to-Peer protocol for reliable and flexible live multimedia streaming
Reducing packets: the basic idea
• Aimed to solving the asymmetric bandwidth
problem
• Objective: to reduce the upload bandwidth
by a factor R
• Solution: split each content packet
– In N ≥ R fragments
– With the property that
Content recoverable from any set of R
fragments
• How do we do that?
• It is easy. . .
5
DIEGM University of Udine
PPETP: A Peer-to-Peer protocol for reliable and flexible live multimedia streaming
. . . when you know the trick. . .
Hint: Reed-Solomon
Suppose a packet has R = 3 bytes c0, c1 and c2
Fragment bandwidth = 1/3 Content bandwidth
6
DIEGM University of Udine
PPETP: A Peer-to-Peer protocol for reliable and flexible live multimedia streaming
Reduction in a nutshell slide
• At startup
1. Choose a value xi
2. Send xi to your lower peers
3. Contact N upper peers
• For every packet
1. Receive reduced packets from the upper peers
2. Recover the content packet
3. Move the content packet to the application
4. Reduce the recovered content packet
5. Send the fragment(s) to your lower peers
• Advantages
Smaller upload bandwidth
Resilience to packet loss
Counteract poisoning
Recover
Reduce
To the
application
Upper peers
Lower peers
7
DIEGM University of Udine
PPETP: A Peer-to-Peer protocol for reliable and flexible live multimedia streaming
Counteracting poisoning
8
DIEGM University of Udine
PPETP: A Peer-to-Peer protocol for reliable and flexible live multimedia streaming
PPETP
PPETP = Peer-to-Peer Epi-Transport Protocol
• Push network
• Any topology
• Any data type
• Security feautures (e.g., signature,
encryption) built-in
• Easy integration with existing stuff
9
DIEGM University of Udine
PPETP: A Peer-to-Peer protocol for reliable and flexible live multimedia streaming
PPETP API cheat sheet
Action PPETP Multicast
Open Ses := PPETP.Open s=socket()
Join PPETP.Connect (Ses, Host, Port) setsockopt()
Read PPETP.Receive (Ses, Buffer, Last) recv()
Write PPETP.Send (Ses, Data) send()
Close PPETP.Close (Ses) close()
• PPETP Sessions identified by a pseudo-address (host, port)
– port is a 16-bit session ID
– host is a configuration server
Why is this nice?
PPETP syntactically similar to multicast
Basic usage very similar to multicast
More flexibility using low-level functions
10
DIEGM University of Udine
PPETP: A Peer-to-Peer protocol for reliable and flexible live multimedia streaming
Pseudo-address and existing protocols
Pseudo-address makes it easy to integrate PPETP with existing protocols
m=video 42000 RTP/AVP/ 0
PPETP session number for RTP
RTCP packet are sent over session
number 42001
Streaming is done
over PPETP
:
:
:
:
v=0
o=
s=PPETP example
c=IN IP4 ppetp.example.com
Configuration host
other SDP lines
PPETP
If you can do it with multicast, you can do it with PPETP
11
DIEGM University of Udine
PPETP: A Peer-to-Peer protocol for reliable and flexible live multimedia streaming
Current status
• Described in an Internet-Draft (> 100 pages )
• Preliminary library implemented in Ada
– Almost 1.5 Mbyte of source code!
– Developed on Linux, works also on Windows
• “Satellite” software (e.g., converter UDP ↔ PPETP)
• Current version works, but no official release yet
12
DIEGM University of Udine
PPETP: A Peer-to-Peer protocol for reliable and flexible live multimedia streaming
Selected publications
• The founding paper
– R. Bernardini, R. Rinaldo, and A. Vitali, “A reliable chunkless peer-to-peer architecture
for multimedia streaming,” DCC 2008.
• Jitter improvement
– R. Bernardini, R. Cesco Fabbro and R. Rinaldo, “Peer-to-Peer streaming based on network
coding improves packet jitter,” ACM 2010
• Churn resistance
– R. Bernardini, R. Cesco Fabbro and R. Rinaldo, “A Chunkless Peer-to-Peer Transport
Protocol for Multimedia Streaming,” in Streaming Media Architectures, Techniques, and
Applications: Recent Advances, 2010
• Packet loss probability & poisoning resistance
– R. Bernardini, R. Cesco Fabbro and R. Rinaldo, “Performances and Design Guidelines for
PPETP, a Peer-to-Peer Overlay Multicast Protocol for Multimedia Streaming,” submitted
in 2012
• Optimal congestion control
– R. Bernardini, R. Rinaldo, et al. “Optimal rate allocation for P2P video streaming,”
submitted in 2012
• Alternative reduction functions
– R. Bernardini, R. Cesco Fabbro and R. Rinaldo, “Group Based Reduction Schemes for
Streaming Applications,” ISRN Comm. and Networking, 2011
13
DIEGM University of Udine

More Related Content

What's hot

ComplexCTTP: Complexity Class Based Transcoding Time Prediction for Video Seq...
ComplexCTTP: Complexity Class Based Transcoding Time Prediction for Video Seq...ComplexCTTP: Complexity Class Based Transcoding Time Prediction for Video Seq...
ComplexCTTP: Complexity Class Based Transcoding Time Prediction for Video Seq...Alpen-Adria-Universität
 
(Slides) P2P video broadcast based on per-peer transcoding and its evaluatio...
(Slides) P2P video broadcast based on per-peer transcoding and its evaluatio...(Slides) P2P video broadcast based on per-peer transcoding and its evaluatio...
(Slides) P2P video broadcast based on per-peer transcoding and its evaluatio...Naoki Shibata
 
MiPSO: Multi-Period Per-Scene Optimization For HTTP Adaptive Streaming
MiPSO: Multi-Period Per-Scene Optimization For HTTP Adaptive StreamingMiPSO: Multi-Period Per-Scene Optimization For HTTP Adaptive Streaming
MiPSO: Multi-Period Per-Scene Optimization For HTTP Adaptive StreamingAlpen-Adria-Universität
 
Objective and Subjective QoE Evaluation for Adaptive Point Cloud Streaming
Objective and Subjective QoE Evaluation for Adaptive Point Cloud StreamingObjective and Subjective QoE Evaluation for Adaptive Point Cloud Streaming
Objective and Subjective QoE Evaluation for Adaptive Point Cloud StreamingAlpen-Adria-Universität
 
Machine Learning Based Video Coding Enhancements for HTTP Adaptive Streaming
Machine Learning Based Video Coding Enhancements for HTTP Adaptive StreamingMachine Learning Based Video Coding Enhancements for HTTP Adaptive Streaming
Machine Learning Based Video Coding Enhancements for HTTP Adaptive StreamingAlpen-Adria-Universität
 
CAdViSE or how to find the Sweet Spots of ABR Systems
CAdViSE or how to find the Sweet Spots of ABR SystemsCAdViSE or how to find the Sweet Spots of ABR Systems
CAdViSE or how to find the Sweet Spots of ABR SystemsAlpen-Adria-Universität
 
Header compression and multiplexing in LISP
Header compression and multiplexing in LISPHeader compression and multiplexing in LISP
Header compression and multiplexing in LISPJose Saldana
 
protocol architecture
 protocol architecture protocol architecture
protocol architectureSrinivasa Rao
 
Video Coding for Large-Scale HTTP Adaptive Streaming Deployments: State of th...
Video Coding for Large-Scale HTTP Adaptive Streaming Deployments: State of th...Video Coding for Large-Scale HTTP Adaptive Streaming Deployments: State of th...
Video Coding for Large-Scale HTTP Adaptive Streaming Deployments: State of th...Alpen-Adria-Universität
 
Skype Video Responsiveness
Skype Video ResponsivenessSkype Video Responsiveness
Skype Video Responsivenesssoohyunc
 
GPAC Team Research Highlights
GPAC Team Research HighlightsGPAC Team Research Highlights
GPAC Team Research HighlightsCyril Concolato
 
FEC & File Multicast
FEC & File MulticastFEC & File Multicast
FEC & File MulticastYoss Cohen
 
Scalable Video Coding Guidelines and Performance Evaluations for Adaptive Me...
Scalable Video Coding Guidelines and Performance Evaluations for Adaptive Me...Scalable Video Coding Guidelines and Performance Evaluations for Adaptive Me...
Scalable Video Coding Guidelines and Performance Evaluations for Adaptive Me...mgrafl
 
Simplemux traffic optimization
Simplemux traffic optimizationSimplemux traffic optimization
Simplemux traffic optimizationJose Saldana
 

What's hot (20)

ComplexCTTP: Complexity Class Based Transcoding Time Prediction for Video Seq...
ComplexCTTP: Complexity Class Based Transcoding Time Prediction for Video Seq...ComplexCTTP: Complexity Class Based Transcoding Time Prediction for Video Seq...
ComplexCTTP: Complexity Class Based Transcoding Time Prediction for Video Seq...
 
(Slides) P2P video broadcast based on per-peer transcoding and its evaluatio...
(Slides) P2P video broadcast based on per-peer transcoding and its evaluatio...(Slides) P2P video broadcast based on per-peer transcoding and its evaluatio...
(Slides) P2P video broadcast based on per-peer transcoding and its evaluatio...
 
Multimedia networks
Multimedia networksMultimedia networks
Multimedia networks
 
MiPSO: Multi-Period Per-Scene Optimization For HTTP Adaptive Streaming
MiPSO: Multi-Period Per-Scene Optimization For HTTP Adaptive StreamingMiPSO: Multi-Period Per-Scene Optimization For HTTP Adaptive Streaming
MiPSO: Multi-Period Per-Scene Optimization For HTTP Adaptive Streaming
 
Objective and Subjective QoE Evaluation for Adaptive Point Cloud Streaming
Objective and Subjective QoE Evaluation for Adaptive Point Cloud StreamingObjective and Subjective QoE Evaluation for Adaptive Point Cloud Streaming
Objective and Subjective QoE Evaluation for Adaptive Point Cloud Streaming
 
Machine Learning Based Video Coding Enhancements for HTTP Adaptive Streaming
Machine Learning Based Video Coding Enhancements for HTTP Adaptive StreamingMachine Learning Based Video Coding Enhancements for HTTP Adaptive Streaming
Machine Learning Based Video Coding Enhancements for HTTP Adaptive Streaming
 
CAdViSE or how to find the Sweet Spots of ABR Systems
CAdViSE or how to find the Sweet Spots of ABR SystemsCAdViSE or how to find the Sweet Spots of ABR Systems
CAdViSE or how to find the Sweet Spots of ABR Systems
 
Adaptive Video over ICN @ IETF'87
Adaptive Video over ICN @ IETF'87Adaptive Video over ICN @ IETF'87
Adaptive Video over ICN @ IETF'87
 
An Introduction to OMNeT++ 5.4
An Introduction to OMNeT++ 5.4An Introduction to OMNeT++ 5.4
An Introduction to OMNeT++ 5.4
 
Header compression and multiplexing in LISP
Header compression and multiplexing in LISPHeader compression and multiplexing in LISP
Header compression and multiplexing in LISP
 
protocol architecture
 protocol architecture protocol architecture
protocol architecture
 
Video Coding for Large-Scale HTTP Adaptive Streaming Deployments: State of th...
Video Coding for Large-Scale HTTP Adaptive Streaming Deployments: State of th...Video Coding for Large-Scale HTTP Adaptive Streaming Deployments: State of th...
Video Coding for Large-Scale HTTP Adaptive Streaming Deployments: State of th...
 
Skype Video Responsiveness
Skype Video ResponsivenessSkype Video Responsiveness
Skype Video Responsiveness
 
GPAC Team Research Highlights
GPAC Team Research HighlightsGPAC Team Research Highlights
GPAC Team Research Highlights
 
AVSTP2P: Welcome Message from the Chairs
AVSTP2P: Welcome Message from the ChairsAVSTP2P: Welcome Message from the Chairs
AVSTP2P: Welcome Message from the Chairs
 
Chapter 6 pc
Chapter 6 pcChapter 6 pc
Chapter 6 pc
 
Network delay
Network delayNetwork delay
Network delay
 
FEC & File Multicast
FEC & File MulticastFEC & File Multicast
FEC & File Multicast
 
Scalable Video Coding Guidelines and Performance Evaluations for Adaptive Me...
Scalable Video Coding Guidelines and Performance Evaluations for Adaptive Me...Scalable Video Coding Guidelines and Performance Evaluations for Adaptive Me...
Scalable Video Coding Guidelines and Performance Evaluations for Adaptive Me...
 
Simplemux traffic optimization
Simplemux traffic optimizationSimplemux traffic optimization
Simplemux traffic optimization
 

Similar to PPETP: A peer-to-peer streaming protocol

Chapter7 multimedia
Chapter7 multimediaChapter7 multimedia
Chapter7 multimediaKhánh Ghẻ
 
MM_Conferencing.ppt
MM_Conferencing.pptMM_Conferencing.ppt
MM_Conferencing.pptVideoguy
 
Unit 2 cnd_22634_pranoti doke
Unit 2 cnd_22634_pranoti dokeUnit 2 cnd_22634_pranoti doke
Unit 2 cnd_22634_pranoti dokePranoti Doke
 
Video Streaming
Video StreamingVideo Streaming
Video StreamingVideoguy
 
Chapter 15 distributed mm systems
Chapter 15 distributed mm systemsChapter 15 distributed mm systems
Chapter 15 distributed mm systemsAbDul ThaYyal
 
network basics
network basicsnetwork basics
network basicsAvin Ash
 
Providing Controlled Quality Assurance in Video Streaming ...
Providing Controlled Quality Assurance in Video Streaming ...Providing Controlled Quality Assurance in Video Streaming ...
Providing Controlled Quality Assurance in Video Streaming ...Videoguy
 
Extreme Internet Video
Extreme Internet VideoExtreme Internet Video
Extreme Internet VideoVideoguy
 
Extreme Internet Video
Extreme Internet VideoExtreme Internet Video
Extreme Internet VideoVideoguy
 
Slides for protocol layering and network applications
Slides for protocol layering and network applicationsSlides for protocol layering and network applications
Slides for protocol layering and network applicationsjajinekkanti
 
Digital Media Production - Future Internet
Digital Media Production - Future InternetDigital Media Production - Future Internet
Digital Media Production - Future InternetMaarten Verwaest
 
Chapter 9 - Computer Networking a top-down Approach 7th
Chapter 9 - Computer Networking a top-down Approach 7thChapter 9 - Computer Networking a top-down Approach 7th
Chapter 9 - Computer Networking a top-down Approach 7thAndy Juan Sarango Veliz
 
PV Powerpoint
PV PowerpointPV Powerpoint
PV PowerpointVideoguy
 

Similar to PPETP: A peer-to-peer streaming protocol (20)

Prashant Resume
Prashant ResumePrashant Resume
Prashant Resume
 
International SIP conference 2009
International SIP conference 2009International SIP conference 2009
International SIP conference 2009
 
Chapter7 multimedia
Chapter7 multimediaChapter7 multimedia
Chapter7 multimedia
 
Streaming
StreamingStreaming
Streaming
 
Ch05
Ch05Ch05
Ch05
 
MM_Conferencing.ppt
MM_Conferencing.pptMM_Conferencing.ppt
MM_Conferencing.ppt
 
Unit 2 cnd_22634_pranoti doke
Unit 2 cnd_22634_pranoti dokeUnit 2 cnd_22634_pranoti doke
Unit 2 cnd_22634_pranoti doke
 
UDT.pptx
UDT.pptxUDT.pptx
UDT.pptx
 
Video Streaming
Video StreamingVideo Streaming
Video Streaming
 
Chapter 15 distributed mm systems
Chapter 15 distributed mm systemsChapter 15 distributed mm systems
Chapter 15 distributed mm systems
 
network basics
network basicsnetwork basics
network basics
 
3. transport layer
3. transport layer3. transport layer
3. transport layer
 
Internet Video
Internet VideoInternet Video
Internet Video
 
Providing Controlled Quality Assurance in Video Streaming ...
Providing Controlled Quality Assurance in Video Streaming ...Providing Controlled Quality Assurance in Video Streaming ...
Providing Controlled Quality Assurance in Video Streaming ...
 
Extreme Internet Video
Extreme Internet VideoExtreme Internet Video
Extreme Internet Video
 
Extreme Internet Video
Extreme Internet VideoExtreme Internet Video
Extreme Internet Video
 
Slides for protocol layering and network applications
Slides for protocol layering and network applicationsSlides for protocol layering and network applications
Slides for protocol layering and network applications
 
Digital Media Production - Future Internet
Digital Media Production - Future InternetDigital Media Production - Future Internet
Digital Media Production - Future Internet
 
Chapter 9 - Computer Networking a top-down Approach 7th
Chapter 9 - Computer Networking a top-down Approach 7thChapter 9 - Computer Networking a top-down Approach 7th
Chapter 9 - Computer Networking a top-down Approach 7th
 
PV Powerpoint
PV PowerpointPV Powerpoint
PV Powerpoint
 

More from Riccardo Bernardini

Superconductivity: the ICT that came from cold
Superconductivity: the ICT that came from coldSuperconductivity: the ICT that came from cold
Superconductivity: the ICT that came from coldRiccardo Bernardini
 
EUgen: an European project description generator
EUgen: an European project description generatorEUgen: an European project description generator
EUgen: an European project description generatorRiccardo Bernardini
 
Multiple description coding for robust video transmission
Multiple description coding for robust video transmissionMultiple description coding for robust video transmission
Multiple description coding for robust video transmissionRiccardo Bernardini
 
Terra Bruciata: an open source initiative for software correctness
Terra Bruciata: an open source initiative for software correctnessTerra Bruciata: an open source initiative for software correctness
Terra Bruciata: an open source initiative for software correctnessRiccardo Bernardini
 
A Very Stable Diode-Based Physically Unclonable Constant
A Very Stable Diode-Based  Physically Unclonable ConstantA Very Stable Diode-Based  Physically Unclonable Constant
A Very Stable Diode-Based Physically Unclonable ConstantRiccardo Bernardini
 
Generalized Elias Schemes for Truly Random Bits
Generalized Elias Schemes for Truly Random BitsGeneralized Elias Schemes for Truly Random Bits
Generalized Elias Schemes for Truly Random BitsRiccardo Bernardini
 
Physically Unclonable Random Permutations
Physically Unclonable Random PermutationsPhysically Unclonable Random Permutations
Physically Unclonable Random PermutationsRiccardo Bernardini
 
ROBUST RECONSTRUCTION FOR CS-BASED FETAL BEATS DETECTION
ROBUST RECONSTRUCTION FOR CS-BASED FETAL BEATS DETECTIONROBUST RECONSTRUCTION FOR CS-BASED FETAL BEATS DETECTION
ROBUST RECONSTRUCTION FOR CS-BASED FETAL BEATS DETECTIONRiccardo Bernardini
 
Sparse Representation for Fetal QRS Detection in Abdominal ECG Recordings
Sparse Representation for Fetal QRS Detection in Abdominal ECG RecordingsSparse Representation for Fetal QRS Detection in Abdominal ECG Recordings
Sparse Representation for Fetal QRS Detection in Abdominal ECG RecordingsRiccardo Bernardini
 
Gaussian Dictionary for Compressive Sensing of the ECG Signal
Gaussian Dictionary for Compressive Sensing of the ECG SignalGaussian Dictionary for Compressive Sensing of the ECG Signal
Gaussian Dictionary for Compressive Sensing of the ECG SignalRiccardo Bernardini
 
Very stable PUF based on two mosfet
Very stable PUF based on two mosfetVery stable PUF based on two mosfet
Very stable PUF based on two mosfetRiccardo Bernardini
 

More from Riccardo Bernardini (12)

Superconductivity: the ICT that came from cold
Superconductivity: the ICT that came from coldSuperconductivity: the ICT that came from cold
Superconductivity: the ICT that came from cold
 
EUgen: an European project description generator
EUgen: an European project description generatorEUgen: an European project description generator
EUgen: an European project description generator
 
Multiple description coding for robust video transmission
Multiple description coding for robust video transmissionMultiple description coding for robust video transmission
Multiple description coding for robust video transmission
 
Terra Bruciata: an open source initiative for software correctness
Terra Bruciata: an open source initiative for software correctnessTerra Bruciata: an open source initiative for software correctness
Terra Bruciata: an open source initiative for software correctness
 
A Very Stable Diode-Based Physically Unclonable Constant
A Very Stable Diode-Based  Physically Unclonable ConstantA Very Stable Diode-Based  Physically Unclonable Constant
A Very Stable Diode-Based Physically Unclonable Constant
 
Generalized Elias Schemes for Truly Random Bits
Generalized Elias Schemes for Truly Random BitsGeneralized Elias Schemes for Truly Random Bits
Generalized Elias Schemes for Truly Random Bits
 
Physically Unclonable Random Permutations
Physically Unclonable Random PermutationsPhysically Unclonable Random Permutations
Physically Unclonable Random Permutations
 
ROBUST RECONSTRUCTION FOR CS-BASED FETAL BEATS DETECTION
ROBUST RECONSTRUCTION FOR CS-BASED FETAL BEATS DETECTIONROBUST RECONSTRUCTION FOR CS-BASED FETAL BEATS DETECTION
ROBUST RECONSTRUCTION FOR CS-BASED FETAL BEATS DETECTION
 
Sparse Representation for Fetal QRS Detection in Abdominal ECG Recordings
Sparse Representation for Fetal QRS Detection in Abdominal ECG RecordingsSparse Representation for Fetal QRS Detection in Abdominal ECG Recordings
Sparse Representation for Fetal QRS Detection in Abdominal ECG Recordings
 
Gaussian Dictionary for Compressive Sensing of the ECG Signal
Gaussian Dictionary for Compressive Sensing of the ECG SignalGaussian Dictionary for Compressive Sensing of the ECG Signal
Gaussian Dictionary for Compressive Sensing of the ECG Signal
 
Very stable PUF based on two mosfet
Very stable PUF based on two mosfetVery stable PUF based on two mosfet
Very stable PUF based on two mosfet
 
Two-fet based PUF
Two-fet based PUFTwo-fet based PUF
Two-fet based PUF
 

Recently uploaded

Cloud-Computing_CSE311_Computer-Networking CSE GUB BD - Shahidul.pptx
Cloud-Computing_CSE311_Computer-Networking CSE GUB BD - Shahidul.pptxCloud-Computing_CSE311_Computer-Networking CSE GUB BD - Shahidul.pptx
Cloud-Computing_CSE311_Computer-Networking CSE GUB BD - Shahidul.pptxMd. Shahidul Islam Prodhan
 
Quality defects in TMT Bars, Possible causes and Potential Solutions.
Quality defects in TMT Bars, Possible causes and Potential Solutions.Quality defects in TMT Bars, Possible causes and Potential Solutions.
Quality defects in TMT Bars, Possible causes and Potential Solutions.PrashantGoswami42
 
İTÜ CAD and Reverse Engineering Workshop
İTÜ CAD and Reverse Engineering WorkshopİTÜ CAD and Reverse Engineering Workshop
İTÜ CAD and Reverse Engineering WorkshopEmre Günaydın
 
fundamentals of drawing and isometric and orthographic projection
fundamentals of drawing and isometric and orthographic projectionfundamentals of drawing and isometric and orthographic projection
fundamentals of drawing and isometric and orthographic projectionjeevanprasad8
 
A CASE STUDY ON ONLINE TICKET BOOKING SYSTEM PROJECT.pdf
A CASE STUDY ON ONLINE TICKET BOOKING SYSTEM PROJECT.pdfA CASE STUDY ON ONLINE TICKET BOOKING SYSTEM PROJECT.pdf
A CASE STUDY ON ONLINE TICKET BOOKING SYSTEM PROJECT.pdfKamal Acharya
 
Introduction to Casting Processes in Manufacturing
Introduction to Casting Processes in ManufacturingIntroduction to Casting Processes in Manufacturing
Introduction to Casting Processes in Manufacturingssuser0811ec
 
Top 13 Famous Civil Engineering Scientist
Top 13 Famous Civil Engineering ScientistTop 13 Famous Civil Engineering Scientist
Top 13 Famous Civil Engineering Scientistgettygaming1
 
Laundry management system project report.pdf
Laundry management system project report.pdfLaundry management system project report.pdf
Laundry management system project report.pdfKamal Acharya
 
The Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdfThe Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdfPipe Restoration Solutions
 
Online resume builder management system project report.pdf
Online resume builder management system project report.pdfOnline resume builder management system project report.pdf
Online resume builder management system project report.pdfKamal Acharya
 
Natalia Rutkowska - BIM School Course in Kraków
Natalia Rutkowska - BIM School Course in KrakówNatalia Rutkowska - BIM School Course in Kraków
Natalia Rutkowska - BIM School Course in Krakówbim.edu.pl
 
Scaling in conventional MOSFET for constant electric field and constant voltage
Scaling in conventional MOSFET for constant electric field and constant voltageScaling in conventional MOSFET for constant electric field and constant voltage
Scaling in conventional MOSFET for constant electric field and constant voltageRCC Institute of Information Technology
 
Halogenation process of chemical process industries
Halogenation process of chemical process industriesHalogenation process of chemical process industries
Halogenation process of chemical process industriesMuhammadTufail242431
 
Immunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary AttacksImmunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary Attacksgerogepatton
 
Digital Signal Processing Lecture notes n.pdf
Digital Signal Processing Lecture notes n.pdfDigital Signal Processing Lecture notes n.pdf
Digital Signal Processing Lecture notes n.pdfAbrahamGadissa
 
Arduino based vehicle speed tracker project
Arduino based vehicle speed tracker projectArduino based vehicle speed tracker project
Arduino based vehicle speed tracker projectRased Khan
 
fluid mechanics gate notes . gate all pyqs answer
fluid mechanics gate notes . gate all pyqs answerfluid mechanics gate notes . gate all pyqs answer
fluid mechanics gate notes . gate all pyqs answerapareshmondalnita
 
WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234AafreenAbuthahir2
 
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptxCFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptxR&R Consult
 
weather web application report.pdf
weather web application report.pdfweather web application report.pdf
weather web application report.pdfPratik Pawar
 

Recently uploaded (20)

Cloud-Computing_CSE311_Computer-Networking CSE GUB BD - Shahidul.pptx
Cloud-Computing_CSE311_Computer-Networking CSE GUB BD - Shahidul.pptxCloud-Computing_CSE311_Computer-Networking CSE GUB BD - Shahidul.pptx
Cloud-Computing_CSE311_Computer-Networking CSE GUB BD - Shahidul.pptx
 
Quality defects in TMT Bars, Possible causes and Potential Solutions.
Quality defects in TMT Bars, Possible causes and Potential Solutions.Quality defects in TMT Bars, Possible causes and Potential Solutions.
Quality defects in TMT Bars, Possible causes and Potential Solutions.
 
İTÜ CAD and Reverse Engineering Workshop
İTÜ CAD and Reverse Engineering WorkshopİTÜ CAD and Reverse Engineering Workshop
İTÜ CAD and Reverse Engineering Workshop
 
fundamentals of drawing and isometric and orthographic projection
fundamentals of drawing and isometric and orthographic projectionfundamentals of drawing and isometric and orthographic projection
fundamentals of drawing and isometric and orthographic projection
 
A CASE STUDY ON ONLINE TICKET BOOKING SYSTEM PROJECT.pdf
A CASE STUDY ON ONLINE TICKET BOOKING SYSTEM PROJECT.pdfA CASE STUDY ON ONLINE TICKET BOOKING SYSTEM PROJECT.pdf
A CASE STUDY ON ONLINE TICKET BOOKING SYSTEM PROJECT.pdf
 
Introduction to Casting Processes in Manufacturing
Introduction to Casting Processes in ManufacturingIntroduction to Casting Processes in Manufacturing
Introduction to Casting Processes in Manufacturing
 
Top 13 Famous Civil Engineering Scientist
Top 13 Famous Civil Engineering ScientistTop 13 Famous Civil Engineering Scientist
Top 13 Famous Civil Engineering Scientist
 
Laundry management system project report.pdf
Laundry management system project report.pdfLaundry management system project report.pdf
Laundry management system project report.pdf
 
The Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdfThe Benefits and Techniques of Trenchless Pipe Repair.pdf
The Benefits and Techniques of Trenchless Pipe Repair.pdf
 
Online resume builder management system project report.pdf
Online resume builder management system project report.pdfOnline resume builder management system project report.pdf
Online resume builder management system project report.pdf
 
Natalia Rutkowska - BIM School Course in Kraków
Natalia Rutkowska - BIM School Course in KrakówNatalia Rutkowska - BIM School Course in Kraków
Natalia Rutkowska - BIM School Course in Kraków
 
Scaling in conventional MOSFET for constant electric field and constant voltage
Scaling in conventional MOSFET for constant electric field and constant voltageScaling in conventional MOSFET for constant electric field and constant voltage
Scaling in conventional MOSFET for constant electric field and constant voltage
 
Halogenation process of chemical process industries
Halogenation process of chemical process industriesHalogenation process of chemical process industries
Halogenation process of chemical process industries
 
Immunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary AttacksImmunizing Image Classifiers Against Localized Adversary Attacks
Immunizing Image Classifiers Against Localized Adversary Attacks
 
Digital Signal Processing Lecture notes n.pdf
Digital Signal Processing Lecture notes n.pdfDigital Signal Processing Lecture notes n.pdf
Digital Signal Processing Lecture notes n.pdf
 
Arduino based vehicle speed tracker project
Arduino based vehicle speed tracker projectArduino based vehicle speed tracker project
Arduino based vehicle speed tracker project
 
fluid mechanics gate notes . gate all pyqs answer
fluid mechanics gate notes . gate all pyqs answerfluid mechanics gate notes . gate all pyqs answer
fluid mechanics gate notes . gate all pyqs answer
 
WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234WATER CRISIS and its solutions-pptx 1234
WATER CRISIS and its solutions-pptx 1234
 
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptxCFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
CFD Simulation of By-pass Flow in a HRSG module by R&R Consult.pptx
 
weather web application report.pdf
weather web application report.pdfweather web application report.pdf
weather web application report.pdf
 

PPETP: A peer-to-peer streaming protocol

  • 1. PPETP: A Peer-to-Peer protocol for reliable and flexible live multimedia streaming Riccardo Bernardini riccardo.bernardini@uniud.it June 14, 2018
  • 2. PPETP: A Peer-to-Peer protocol for reliable and flexible live multimedia streaming The problem • Good quality content = large bandwidths DVD quality → 1 Mbit/sec HD quality → 10 Mbit/sec • Successful program = many users F1 races ≈ 60 millions viewers/race (2008) Beijing Olympics ≈ 2 billions viewers (opening ceremony) • Good quality × Success = Very large bandwidth required – Bandwidth required = Content bandwidth × Number of users 1 DIEGM University of Udine
  • 3. PPETP: A Peer-to-Peer protocol for reliable and flexible live multimedia streaming Solutions Currently available • Content Delivery Network (CDN) – More than one server used Load shared The overall bandwidth remains the same • Multicast Low bandwidth requirements Multicast devices needed A mess across different Autonomous Systems – Attractive for Internet Service Providers 2 DIEGM University of Udine
  • 4. PPETP: A Peer-to-Peer protocol for reliable and flexible live multimedia streaming Solutions Currently researched: Peer-to-Peer Streaming Use the fire brigade principle Server Content → Each user passes the content to another user → Just feed only few users → The network will take care of itself 3 DIEGM University of Udine
  • 5. PPETP: A Peer-to-Peer protocol for reliable and flexible live multimedia streaming Peer-to-Peer Streaming Challenges Limited upload bandwidth Server Content User with low upload bandwidth Sudden user departure Server Content Stream poisoning Server Content Malicious user 4 DIEGM University of Udine
  • 6. PPETP: A Peer-to-Peer protocol for reliable and flexible live multimedia streaming Reducing packets: the basic idea • Aimed to solving the asymmetric bandwidth problem • Objective: to reduce the upload bandwidth by a factor R • Solution: split each content packet – In N ≥ R fragments – With the property that Content recoverable from any set of R fragments • How do we do that? • It is easy. . . 5 DIEGM University of Udine
  • 7. PPETP: A Peer-to-Peer protocol for reliable and flexible live multimedia streaming . . . when you know the trick. . . Hint: Reed-Solomon Suppose a packet has R = 3 bytes c0, c1 and c2 Fragment bandwidth = 1/3 Content bandwidth 6 DIEGM University of Udine
  • 8. PPETP: A Peer-to-Peer protocol for reliable and flexible live multimedia streaming Reduction in a nutshell slide • At startup 1. Choose a value xi 2. Send xi to your lower peers 3. Contact N upper peers • For every packet 1. Receive reduced packets from the upper peers 2. Recover the content packet 3. Move the content packet to the application 4. Reduce the recovered content packet 5. Send the fragment(s) to your lower peers • Advantages Smaller upload bandwidth Resilience to packet loss Counteract poisoning Recover Reduce To the application Upper peers Lower peers 7 DIEGM University of Udine
  • 9. PPETP: A Peer-to-Peer protocol for reliable and flexible live multimedia streaming Counteracting poisoning 8 DIEGM University of Udine
  • 10. PPETP: A Peer-to-Peer protocol for reliable and flexible live multimedia streaming PPETP PPETP = Peer-to-Peer Epi-Transport Protocol • Push network • Any topology • Any data type • Security feautures (e.g., signature, encryption) built-in • Easy integration with existing stuff 9 DIEGM University of Udine
  • 11. PPETP: A Peer-to-Peer protocol for reliable and flexible live multimedia streaming PPETP API cheat sheet Action PPETP Multicast Open Ses := PPETP.Open s=socket() Join PPETP.Connect (Ses, Host, Port) setsockopt() Read PPETP.Receive (Ses, Buffer, Last) recv() Write PPETP.Send (Ses, Data) send() Close PPETP.Close (Ses) close() • PPETP Sessions identified by a pseudo-address (host, port) – port is a 16-bit session ID – host is a configuration server Why is this nice? PPETP syntactically similar to multicast Basic usage very similar to multicast More flexibility using low-level functions 10 DIEGM University of Udine
  • 12. PPETP: A Peer-to-Peer protocol for reliable and flexible live multimedia streaming Pseudo-address and existing protocols Pseudo-address makes it easy to integrate PPETP with existing protocols m=video 42000 RTP/AVP/ 0 PPETP session number for RTP RTCP packet are sent over session number 42001 Streaming is done over PPETP : : : : v=0 o= s=PPETP example c=IN IP4 ppetp.example.com Configuration host other SDP lines PPETP If you can do it with multicast, you can do it with PPETP 11 DIEGM University of Udine
  • 13. PPETP: A Peer-to-Peer protocol for reliable and flexible live multimedia streaming Current status • Described in an Internet-Draft (> 100 pages ) • Preliminary library implemented in Ada – Almost 1.5 Mbyte of source code! – Developed on Linux, works also on Windows • “Satellite” software (e.g., converter UDP ↔ PPETP) • Current version works, but no official release yet 12 DIEGM University of Udine
  • 14. PPETP: A Peer-to-Peer protocol for reliable and flexible live multimedia streaming Selected publications • The founding paper – R. Bernardini, R. Rinaldo, and A. Vitali, “A reliable chunkless peer-to-peer architecture for multimedia streaming,” DCC 2008. • Jitter improvement – R. Bernardini, R. Cesco Fabbro and R. Rinaldo, “Peer-to-Peer streaming based on network coding improves packet jitter,” ACM 2010 • Churn resistance – R. Bernardini, R. Cesco Fabbro and R. Rinaldo, “A Chunkless Peer-to-Peer Transport Protocol for Multimedia Streaming,” in Streaming Media Architectures, Techniques, and Applications: Recent Advances, 2010 • Packet loss probability & poisoning resistance – R. Bernardini, R. Cesco Fabbro and R. Rinaldo, “Performances and Design Guidelines for PPETP, a Peer-to-Peer Overlay Multicast Protocol for Multimedia Streaming,” submitted in 2012 • Optimal congestion control – R. Bernardini, R. Rinaldo, et al. “Optimal rate allocation for P2P video streaming,” submitted in 2012 • Alternative reduction functions – R. Bernardini, R. Cesco Fabbro and R. Rinaldo, “Group Based Reduction Schemes for Streaming Applications,” ISRN Comm. and Networking, 2011 13 DIEGM University of Udine