skip to main content
10.1145/3607504.3609289acmconferencesArticle/Chapter ViewAbstractPublication PagescommConference Proceedingsconference-collections
research-article
Open Access

Peer Clustering for the InterPlanetary File System

Published:10 September 2023Publication History

ABSTRACT

Distributed Hash Tables (DHT) are once again attracting research interest, 20 years after their inception, as a promising solution for scalable and decentralized content storage. A prominent example is the InterPlanetary File System (IPFS), a distributed peer-to-peer storage system with more than 20K online peers, which uses the Kademlia DHT. We design and implement H-Kademlia, a hierarchical version of Kademlia for IPFS, where peers are distributed into disjoint sets of users, or clusters. Peer clustering can offer resilience to network partition, privacy of in-cluster content lookups, as well as improved caching, content filtering and access control. We assess the performance of IPFS over H-Kademlia via simulations that use real traces from the IPFS network. Our findings show that our design delivers the benefits of peer clustering, without significant performance penalties.

References

  1. Marc Sanchez Artigas, Pedro Garcia Lopez, and Antonio F. Skarmeta. 2007. A Comparative Study of Hierarchical DHT Systems. In Proc. of the IEEE Conference on Local Computer Networks (LCN). IEEE, New York, NY, USA, 325--333.Google ScholarGoogle Scholar
  2. Michael Backes, Ian Goldberg, Aniket Kate, and Tomas Toft. 2012. Adding query privacy to robust DHTs. In Proc. of the ACM Symposium on Information, Computer and Communications Security. ACM, New York, NY, USA, 30--31.Google ScholarGoogle ScholarDigital LibraryDigital Library
  3. Leonhard Balduf, Sebastian Henningsen, Martin Florian, Sebastian Rust, and BjÃűrn Scheuermann. 2022. Monitoring Data Requests in Decentralized Data Storage Systems: A Case Study of IPFS. arXiv:2104.09202 [cs.NI]Google ScholarGoogle Scholar
  4. Ingmar Baumgart and Sebastian Mies. 2007. S/Kademlia: A practicable approach towards secure key-based routing. In Proc. of the International Conference on Parallel and Distributed Systems (IPDPS). IEEE, New York, NY, USA, 1--8.Google ScholarGoogle ScholarDigital LibraryDigital Library
  5. Juan Benet. 2014. IPFS - Content Addressed, Versioned, P2P File System. arXiv:1407.3561 [cs.NI]Google ScholarGoogle Scholar
  6. Miguel Castro, Peter Druschel, Ayalvadi Ganesh, Antony Rowstron, and Dan S Wallach. 200f2. Secure routing for structured peer-to-peer overlay networks. ACM SIGOPS Operating Systems Review 36, SI (200f2), 299--314.Google ScholarGoogle Scholar
  7. Nikos Fotiou, Konstantinos V. Katsaros, George Xylomenos, and George C. Polyzos. 2015. H-Pastry: An inter-domain topology aware overlay for the support of name-resolution services in the future Internet. Computer Communications 62 (2015), 13--22.Google ScholarGoogle ScholarDigital LibraryDigital Library
  8. Michael J. Freedman, Eric Freudenthal, and David Mazières. 2004. Democratizing Content Publication with Coral. In Proc. of the USENIX Symposium on Networked Systems Design and Implementation (NSDI). USENIX Association, Berkeley, CA, USA, 18.Google ScholarGoogle Scholar
  9. Prasanna Ganesan, Krishna Gummadi, and H. Garcia-Molina. 2004. Canon in G major: designing DHTs with hierarchical structure. In Proc. of the 24th International Conference on Distributed Computing Systems (ICDCS). IEEE, New York, NY, USA, 263--272.Google ScholarGoogle Scholar
  10. Nicholas J. A. Harvey, Michael B. Jones, Stefan Saroiu, Marvin Theimer, and Alec Wolman. 2003. SkipNet: A Scalable Overlay Network with Practical Locality Properties. In Proc. of the USENIX Symposium on Internet Technologies and Systems (USITS). USENIX Association, Berkeley, CA, USA, 14 pages.Google ScholarGoogle Scholar
  11. Yuh-Jzer Joung and Jiaw-Chang Wang. 2007. Chord2: A two-layer Chord for reducing maintenance overhead via heterogeneity. Computer Networks 51, 3 (2007), 712--731.Google ScholarGoogle ScholarDigital LibraryDigital Library
  12. Isaias Martinez-Yelmo, Ruben Cuevas, Carmen Guerrero, and Andreas Mauthe. 2008. Routing Performance in a Hierarchical DHT-based Overlay Network. In Proc. of the Euromicro Conference on Parallel, Distributed and Network-Based Processing (PDP). IEEE, New York, NY, USA, 508--515.Google ScholarGoogle ScholarDigital LibraryDigital Library
  13. Petar Maymounkov and David Mazieres. 2002. Kademlia: A peer-to-peer information system based on the XOR metric. In Proc. of the International Workshop on Peer-to-Peer Systems. Springer, Berlin, Heidelberg, 53--65.Google ScholarGoogle ScholarCross RefCross Ref
  14. Josyl Mariela B. Rocamora and Jhoanna Rhodette I. Pedrasa. 2016. Evaluation of hierarchical DHTs to mitigate churn effects in mobile networks. Computer Communications 85 (2016), 41--57.Google ScholarGoogle ScholarDigital LibraryDigital Library
  15. Antony Rowstron and Peter Druschel.2001. Pastry: Scalable, decentralized object location, and routing for large-scale peer-to-peer systems. In Proc. of the IFIP/ACM International Conference on Distributed Systems Platforms and Open Distributed Processing. Springer, Berlin, Heidelberg, 329--350.Google ScholarGoogle Scholar
  16. Zhenyang Shi. 2021. Nebula Crawlings. https://github.com/wcgcyx/nebula-crawler/tree/812f33515342321461e39b17ac02a91858926e14.Google ScholarGoogle Scholar
  17. Zhenyang Shi. 2021. Nebula Crawlings. https://github.com/wcgcyx/nebula-crawler#6-correlation-between- uptime-and-geolocation.Google ScholarGoogle Scholar
  18. Emil Sit and Robert Morris. 2002. Security considerations for peer-to-peer distributed hash tables. In Proc. of the International Workshop on Peer-to-Peer Systems. Springer, Berlin, Heidelberg, 261--269.Google ScholarGoogle ScholarCross RefCross Ref
  19. Dennis Trautwein. 2021. Nebula Crawlings. https://github.com/dennis-tra/nebula-crawler-reports/blob/main/2021/calendar-week-44/ipfs/README.md.Google ScholarGoogle Scholar
  20. 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 Proc. of the ACM SIGCOMM Conference. ACM, New York, NY, USA, 739--752.Google ScholarGoogle ScholarDigital LibraryDigital Library
  21. Peng Wang, Julong Lan, Yuxiang Hu, and Shuqiao Chen. 2015. Towards locality-aware DHT for fast mapping service in future Internet. Computer Communications 66 (2015), 14--24.Google ScholarGoogle ScholarDigital LibraryDigital Library

Index Terms

  1. Peer Clustering for the InterPlanetary File System

      Recommendations

      Comments

      Login options

      Check if you have access through your login credentials or your institution to get full access on this article.

      Sign in
      • Published in

        cover image ACM Conferences
        FIRA '23: Proceedings of the 2nd ACM SIGCOMM Workshop on Future of Internet Routing & Addressing
        September 2023
        44 pages
        ISBN:9798400702761
        DOI:10.1145/3607504

        Copyright © 2023 ACM

        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].

        Publisher

        Association for Computing Machinery

        New York, NY, United States

        Publication History

        • Published: 10 September 2023

        Permissions

        Request permissions about this article.

        Request Permissions

        Check for updates

        Qualifiers

        • research-article
        • Research
        • Refereed limited

        Acceptance Rates

        FIRA '23 Paper Acceptance Rate6of9submissions,67%Overall Acceptance Rate6of9submissions,67%
      • Article Metrics

        • Downloads (Last 12 months)157
        • Downloads (Last 6 weeks)40

        Other Metrics

      PDF Format

      View or Download as a PDF file.

      PDF

      eReader

      View online with eReader.

      eReader