Nothing Special   »   [go: up one dir, main page]

skip to main content
10.1145/3543507.3583404acmconferencesArticle/Chapter ViewAbstractPublication PagesthewebconfConference Proceedingsconference-collections
research-article
Public Access

Is IPFS Ready for Decentralized Video Streaming?

Published: 30 April 2023 Publication History

Abstract

InterPlanetary File System (IPFS) is a peer-to-peer protocol for decentralized content storage and retrieval. The IPFS platform has the potential to help users evade censorship and avoid a central point of failure. IPFS is seeing increasing adoption for distributing various kinds of files, including video. However, the performance of video streaming on IPFS has not been well-studied. We conduct a measurement study with over 28,000 videos hosted on the IPFS network and find that video streaming experiences high stall rates due to relatively high Round Trip Times (RTT). Further, videos are encoded using a single static quality, because of which streaming cannot adapt to different network conditions.
A natural approach is to use adaptive bitrate (ABR) algorithms for streaming, which encode videos in multiple qualities and streams according to the throughput available. However, traditional ABR algorithms perform poorly on IPFS because the throughput cannot be estimated correctly. The main problem is that video segments can be retrieved from multiple sources, making it difficult to estimate the throughput. To overcome this issue, we have designed Telescope, an IPFS-aware ABR system. We conduct experiments on the IPFS network, where IPFS video providers are geographically distributed across the globe. Our results show that Telescope significantly improves the Quality of Experience (QoE) of videos, for a diverse set of network and cache conditions, compared to traditional ABR.

Supplemental Material

ZIP File - Telescope
Telescope is a smart algorithm dynamically update providers network condition to client during adaptive bit rate (ABR) video streaming session. Telescope is implemented as a proxy between the IPFS gateway and the client. We use the Go default reverse proxy handler and the Gin Web Framework to implement Telescope. Telescope captures a unique client id to identify individual video playbacks and stores throughput histories of the gateway and the global IPFS network for each connected client.
MIT License: MIT
External - Telescope
Telescope is a smart algorithm dynamically update providers network condition to client during adaptive bit rate (ABR) video streaming session. Telescope is implemented as a proxy between the IPFS gateway and the client. We use the Go default reverse proxy handler and the Gin Web Framework to implement Telescope. Telescope captures a unique client id to identify individual video playbacks and stores throughput histories of the gateway and the global IPFS network for each connected client.
MIT License: MIT
MD File - Telescope
Telescope is a smart algorithm dynamically update providers network condition to client during adaptive bit rate (ABR) video streaming session. Telescope is implemented as a proxy between the IPFS gateway and the client. We use the Go default reverse proxy handler and the Gin Web Framework to implement Telescope. Telescope captures a unique client id to identify individual video playbacks and stores throughput histories of the gateway and the global IPFS network for each connected client.
MIT License: MIT

References

[1]
[1] 2015. http://www.ppstream.com/
[2]
[2] 2018. https://github.com/Dash-Industry-Forum/dash.js/wiki/ABR-Logic
[3]
2021. DTube coin (DTC) presentation. https://token.d.tube/
[4]
2022. DTube. https://d.tube/
[5]
2022. HTTP RPC API reference. https://docs.ipfs.io/reference/http/api/
[6]
2022. PPTV. https://pptv.com/
[7]
Adobe. 2022. Adobe HTTP Dynamic Streaming. http://www.adobe.com/products/hds-dynamic-streaming.html
[8]
Saamer Akhshabi, Ali C. Begen, and Constantine Dovrolis. 2011. An Experimental Evaluation of Rate-Adaptation Algorithms in Adaptive Streaming over HTTP. In Proceedings of the Second Annual ACM Conference on Multimedia Systems (San Jose, CA, USA) (MMSys ’11). Association for Computing Machinery, New York, NY, USA, 157–168. https://doi.org/10.1145/1943552.1943574
[9]
Zahaib Akhtar, Yun Seong Nam, Ramesh Govindan, Sanjay Rao, Jessica Chen, Ethan Katz-Bassett, Bruno Ribeiro, Jibin Zhan, and Hui Zhang. 2018. Oboe: Auto-tuning Video ABR Algorithms to Network Conditions. In Proceedings of the 2018 Conference of the ACM Special Interest Group on Data Communication. Budapest, Hungary, 44–58.
[10]
Fasiha Ashraf, Ateeqa Naseer, and Shaukat Iqbal. 2019. Comparative analysis of unstructured P2P file sharing networks. In Proceedings of the 2019 3rd International Conference on Information System and Data Mining. 148–153.
[11]
Susie Batt. 2021. Your Files for Keeps Forever with IPFS. https://blogs.opera.com/tips-and-tricks/2021/02/opera-crypto-files-for-keeps-ipfs-unstoppable-domains/.
[12]
Juan Benet. 2014. IPFS - Content Addressed, Versioned, P2P File System. CoRR abs/1407.3561 (2014). arXiv:1407.3561http://arxiv.org/abs/1407.3561
[13]
Brian Bondy. 2021. IPFS Support in Brave. https://brave.com/ipfs-support/.
[14]
Cloudflare. 2021. What is MPEG-DASH¿https://www.cloudflare.com/learning/video/what-is-mpeg-dash/.
[15]
Bram Cohen. 2003. Incentives build robustness in BitTorrent. In Workshop on Economics of Peer-to-Peer systems, Vol. 6. Berkeley, CA, USA, 68–72.
[16]
Dash-Industry-Forum. 2021. Dash.js Github. https://github.com/Dash-Industry-Forum/dash.js.
[17]
Edgar Lee Dirk McCormick. 2020. New improvements to IPFS Bitswap for faster container image distribution. https://blog.ipfs.io/2020-02-14-improved-bitswap-for-container-distribution/.
[18]
Trinh Viet Doan, Tat Dat Pham, Markus Oberprieler, and Vaibhav Bajpai. 2020. Measuring Decentralized Video Streaming: A Case Study of DTube. In 2020 IFIP Networking Conference, Networking 2020, Paris, France, June 22-26, 2020. IEEE, 118–126. https://ieeexplore.ieee.org/document/9142739
[19]
Gin-Gonic. 2021. Gin Web Framework Github. https://github.com/gin-gonic/gin.
[20]
golang.org. 2021. The Go Programming Language. https://golang.org/.
[21]
Barbara Guidi, Andrea Michienzi, and Laura Ricci. 2020. Steem Blockchain: Mining the Inner Structure of the Graph. IEEE Access 8 (2020), 210251–210266. https://doi.org/10.1109/ACCESS.2020.3038550
[22]
Ragib Hasan, Zahid Anwar, William Yurcik, Larry Brumbaugh, and Roy Campbell. 2005. A survey of peer-to-peer storage techniques for distributed file systems. In International Conference on Information Technology: Coding and Computing (ITCC’05)-Volume II, Vol. 2. IEEE, 205–213.
[23]
Hsiao-Shan Huang, Tian-Sheuan Chang, and Jhih-Yi Wu. 2020. A Secure File Sharing System Based on IPFS and Blockchain. In Proceedings of the 2020 2nd International Electronics Communication Conference (Singapore, Singapore) (IECC 2020). Association for Computing Machinery, New York, NY, USA, 96–100. https://doi.org/10.1145/3409934.3409948
[24]
Ipfs. 2021. IPFs/ipfs-companion: Browser extension that simplifies access to ipfs resources on the web. https://github.com/ipfs/ipfs-companion
[25]
Ipfs. 2022. InterPlanetary Name System (IPNS). https://docs.ipfs.io/concepts/ipns/.
[26]
kernel.org. 2021. tc - show / manipulate traffic control settings. https://linux.die.net/man/8/tc.
[27]
Hongzi Mao, Ravi Netravali, and Mohammad Alizadeh. 2017. Neural Adaptive Video Streaming with Pensieve. In Proceedings of the Conference of the ACM Special Interest Group on Data Communication (Los Angeles, CA, USA) (SIGCOMM ’17). Association for Computing Machinery, New York, NY, USA, 197–210. https://doi.org/10.1145/3098822.3098843
[28]
Hongzi Mao, Ravi Netravali, and Mohammad Alizadeh. 2017. Neural Adaptive Video Streaming with Pensieve. In Proceedings of the Conference of the ACM Special Interest Group on Data Communication, SIGCOMM 2017, Los Angeles, CA, USA, August 21-25, 2017. ACM, 197–210. https://doi.org/10.1145/3098822.3098843
[29]
Wolfgang Merkle and Frank Stephan. 1996. Trees and Learning. In Proceedings of the Ninth Annual Conference on Computational Learning Theory, COLT 1996, Desenzano del Garda, Italy, June 28-July 1, 1996, Avrim Blum and Michael J. Kearns (Eds.). ACM, 270–279. https://doi.org/10.1145/238061.238118
[30]
Microsoft. 2022. Microsoft Smooth Streaming. http://www.iis.net/downloads/microsoft/smooth-streaming
[31]
Naeem Ramzan, Hyunggon Park, and Ebroul Izquierdo. 2012. Video streaming over P2P networks: Challenges and opportunities. Signal Processing: Image Communication 27, 5 (2012), 401–411. https://doi.org/10.1016/j.image.2012.02.004 ADVANCES IN 2D/3D VIDEO STREAMING OVER P2P NETWORKS.
[32]
Ton Roosendaal. 2008. Big Buck Bunny. In ACM SIGGRAPH ASIA 2008 Computer Animation Festival (Singapore) (SIGGRAPH Asia ’08). Association for Computing Machinery, New York, NY, USA, 62. https://doi.org/10.1145/1504271.1504321
[33]
Sandvine. 2022. Global internet phenomena. https://www.sandvine.com/phenomena
[34]
Kevin Spiteri, Ramesh Sitaraman, and Daniel Sparacio. 2018. From Theory to Practice: Improving Bitrate Adaptation in the DASH Reference Player. In Proceedings of the 9th ACM Multimedia Systems Conference (Amsterdam, Netherlands) (MMSys ’18). Association for Computing Machinery, New York, NY, USA, 123–137. https://doi.org/10.1145/3204949.3204953
[35]
Kevin Spiteri, Rahul Urgaonkar, and Ramesh K. Sitaraman. 2016. BOLA: Near-optimal bitrate adaptation for online videos. In IEEE INFOCOM 2016 - The 35th Annual IEEE International Conference on Computer Communications. 1–9. https://doi.org/10.1109/INFOCOM.2016.7524428
[36]
Dennis Trautwein, Aravindh Raman, Gareth Tyson, Ignacio Castro, Will Scott, Moritz Schubotz, Bela Gipp, and Yiannis Psaras. 2022. Design and Evaluation of IPFS: A Storage Layer for the Decentralized Web. In ACM SIGCOMM 2022 Conference (SIGCOMM ’22). ACM, Amsterdam, Netherlands. https://doi.org/10.1145/3544216.3544232 ISBN 978-1-4503-9420-8/22/08.
[37]
Long Vu, Indranil Gupta, Jin Liang, and Klara Nahrstedt. 2006. Mapping the PPLive network: Studying the impacts of media streaming on P2P overlays. (2006).
[38]
Quanqing Xu, Zhiwen Song, Rick Siow Mong Goh, and Yongjun Li. 2018. Building an Ethereum and IPFS-Based Decentralized Social Network System. In 2018 IEEE 24th International Conference on Parallel and Distributed Systems (ICPADS). 1–6. https://doi.org/10.1109/PADSW.2018.8645058
[39]
Xiaoqi Yin, Abhishek Jindal, Vyas Sekar, and Bruno Sinopoli. 2015. A Control-Theoretic Approach for Dynamic Adaptive Video Streaming over HTTP. In Proceedings of the 2015 ACM Conference on Special Interest Group on Data Communication, SIGCOMM 2015, London, United Kingdom, August 17-21, 2015, Steve Uhlig, Olaf Maennel, Brad Karp, and Jitendra Padhye (Eds.). ACM, 325–338. https://doi.org/10.1145/2785956.2787486

Cited By

View all
  • (2024)A Closer Look into IPFS: Accessibility, Content, and PerformanceACM SIGMETRICS Performance Evaluation Review10.1145/3673660.365504052:1(77-78)Online publication date: 13-Jun-2024
  • (2024)A Closer Look into IPFS: Accessibility, Content, and PerformanceProceedings of the ACM on Measurement and Analysis of Computing Systems10.1145/36560158:2(1-31)Online publication date: 29-May-2024
  • (2024)A Closer Look into IPFS: Accessibility, Content, and PerformanceAbstracts of the 2024 ACM SIGMETRICS/IFIP PERFORMANCE Joint International Conference on Measurement and Modeling of Computer Systems10.1145/3652963.3655040(77-78)Online publication date: 10-Jun-2024

Index Terms

  1. Is IPFS Ready for Decentralized Video Streaming?

    Recommendations

    Comments

    Please enable JavaScript to view thecomments powered by Disqus.

    Information & Contributors

    Information

    Published In

    cover image ACM Conferences
    WWW '23: Proceedings of the ACM Web Conference 2023
    April 2023
    4293 pages
    ISBN:9781450394161
    DOI:10.1145/3543507
    Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than the author(s) must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected].

    Sponsors

    Publisher

    Association for Computing Machinery

    New York, NY, United States

    Publication History

    Published: 30 April 2023

    Permissions

    Request permissions for this article.

    Check for updates

    Badges

    Author Tags

    1. ABR
    2. Distributed Storage System
    3. IPFS
    4. Video Streaming

    Qualifiers

    • Research-article
    • Research
    • Refereed limited

    Data Availability

    Telescope: Telescope is a smart algorithm dynamically update providers network condition to client during adaptive bit rate (ABR) video streaming session. Telescope is implemented as a proxy between the IPFS gateway and the client. We use the Go default reverse proxy handler and the Gin Web Framework to implement Telescope. Telescope captures a unique client id to identify individual video playbacks and stores throughput histories of the gateway and the global IPFS network for each connected client. https://dl.acm.org/doi/10.1145/3543507.3583404#README.md
    Telescope: Telescope is a smart algorithm dynamically update providers network condition to client during adaptive bit rate (ABR) video streaming session. Telescope is implemented as a proxy between the IPFS gateway and the client. We use the Go default reverse proxy handler and the Gin Web Framework to implement Telescope. Telescope captures a unique client id to identify individual video playbacks and stores throughput histories of the gateway and the global IPFS network for each connected client. https://dl.acm.org/doi/10.1145/3543507.3583404#README.md

    Funding Sources

    Conference

    WWW '23
    Sponsor:
    WWW '23: The ACM Web Conference 2023
    April 30 - May 4, 2023
    TX, Austin, USA

    Acceptance Rates

    Overall Acceptance Rate 1,899 of 8,196 submissions, 23%

    Contributors

    Other Metrics

    Bibliometrics & Citations

    Bibliometrics

    Article Metrics

    • Downloads (Last 12 months)216
    • Downloads (Last 6 weeks)30
    Reflects downloads up to 19 Nov 2024

    Other Metrics

    Citations

    Cited By

    View all
    • (2024)A Closer Look into IPFS: Accessibility, Content, and PerformanceACM SIGMETRICS Performance Evaluation Review10.1145/3673660.365504052:1(77-78)Online publication date: 13-Jun-2024
    • (2024)A Closer Look into IPFS: Accessibility, Content, and PerformanceProceedings of the ACM on Measurement and Analysis of Computing Systems10.1145/36560158:2(1-31)Online publication date: 29-May-2024
    • (2024)A Closer Look into IPFS: Accessibility, Content, and PerformanceAbstracts of the 2024 ACM SIGMETRICS/IFIP PERFORMANCE Joint International Conference on Measurement and Modeling of Computer Systems10.1145/3652963.3655040(77-78)Online publication date: 10-Jun-2024
    • (2024)DNSScope: Fine-Grained DNS Cache Probing for Remote Network Activity CharacterizationIEEE INFOCOM 2024 - IEEE Conference on Computer Communications10.1109/INFOCOM52122.2024.10621277(1651-1660)Online publication date: 20-May-2024

    View Options

    View options

    PDF

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader

    HTML Format

    View this article in HTML Format.

    HTML Format

    Login options

    Media

    Figures

    Other

    Tables

    Share

    Share

    Share this Publication link

    Share on social media