Protocol Labs Research
About
People
Research
Outreach
Blog
ResNetLab

A resilient system or network is fundamentally uncompromised by an isolated failure or network split. The system is malleable, adaptable to different conditions and capable of evolving to meet new requirements over time. That said, resilience here identifies also as a characteristic against changing system or network conditions, i.e., the system’s core operating principles adjust so that performance remains when the system scales up to serve increasing demand from more users. Building resilience into foundational infrastructure is the key in building a computing and networking fabric for human knowledge.

Mission & Vision

The mission of the Resilient Networks Lab is to build resilient distributed systems, by creating and operating a platform where researchers can collaborate openly and asynchronously on deep technical work.

Motivation & Description

The lab’s genesis comes from a need present in the IPFS and libp2p projects to amp their research efforts to tackle the critical challenges of scaling up networks to planet scale and beyond. The Lab is designed to take ownership of the earlier stages on the research pipeline, from ideas to specs and to code.

Research Endeavours

  • Decentralized Data Delivery Markets (3DMs): With the emergence of Decentralized Storage Networks and the rapid decrease in the price of storage services and hardware, there is a rapidly growing need to leverage the additional storage capacity contributed to Decentralized Storage Networks by new players, including end-users, and use it to deliver reliable and high-quality storage and delivery services. Similarly to Content Delivery Networks (CDNs) for the traditional Cloud Storage market, we now have the opportunity to build Decentralised CDNs for Decentralised Storage Networks. The Decentralized Data Delivery Markets (3DMs) Open Problem covers all the essential areas of work that need to be studied in order to create a fully permissionless free market for data delivery that supports fair data exchange on the service provided.
  • Networking in Heterogeneous Runtimes: Edge computing has emerged as a distributed computing paradigm to overcome practical scalability limits of cloud computing. The main principle of edge computing is to leverage computational resources outside of the cloud to perform computations closer to data sources, avoiding unnecessary data transfers to the cloud and enabling faster responses for clients. Given the enormous amount of data that is expected to be produced at the edge of the network (by end-user devices), the edge-computing principle builds on the fact that “it is cheaper to bring computation to data, rather than data to computation.”
  • Preserve users’ privacy when providing and fetching content: How to ensure that the user’s of the IPFS network can collect and provide information while mainting their full anonymity.
  • Mutable data (naming, real-time, guarantees): Enabling a multitude of different patterns of interactions between users, machines and both. In other words, what are the essential primitives that must be provided for dynamic applications to exist, what are the guarantees they require (consistency, availability, persistence, authenticity, etc) from the underlying layer in order create powerful and complete applications in the Distributed Web.
  • Human-readable naming: You can only have two of three properties for a name: human-meaningful, secure, decentralized. This is Zooko’s Trilemma. Can we have all 3, or even more? Can context related to some data help solve this problem?
  • Enhanced bitswap/graphsync with more network smarts: Bitswap is a simple protocol and it generally works. However, we feel that its performance can be substantially improved. One of the main factors that hold performance back is the fact that a node cannot request a subgraph of the DAG and results in many round-trips in order to “walk down” the DAG. The current operation of bitswap is also very often linked to duplicate transmission and receipt of content which overloads both the end nodes and the network.
  • Routing at scale (1M, 10M, 100M, 1B.. nodes): Content-addressable networks face the challenge of routing scalability, as the amount of addressable elements in the network rises by several orders of magnitude compared to the host-addressable Internet of today.
  • PubSub at scale (1M, 10M, 100M, 1B.. nodes): As the IPFS system is evolving and growing, communicating new entries to the IPNS is becoming an issue due to the increased network and node load requirements. The expected growth of the system to multiple millions of nodes is going to create significant performance issues, which might render the system unusable. Despite the significant amount of related literature on the topic of pub/sub, very few systems have been tested to that level of scalability, while those that have been are mostly cloud-based, managed and structured infrastructures.
  • Improved layouts to represent data in hash-linked graphs (using IPLD): IPFS offers a unique way to represent any kind of data in a hash-linked graph. What this means is that a file can be chunked in different ways and these chunks can be organized with the goal of improving file seek times, file fetching, reducing time to first byte and more, which creates the room for drastic improvements in the performance of certain applications (e.g. video streaming) and the memory footprint of each dataset. We believe this to be an evergreen field as the IPFS network improves and gets smarter, new ways to chunk and organize data will emerge for all sorts of usecases.

Team

2022-11-07 / Journal article
To the InterPlanetary File System – and beyond!: Peer-to-peer file sharing would make the Internet far more efficient
When the COVID-19 pandemic erupted in early 2020, the world made an unprecedented shift to remote work. As a precaution, some Internet providers scaled back service levels temporarily, although that probably wasn’t necessary for countries in Asia, Europe, and North America, which were generally able to cope with the surge in demand caused by people teleworking (and binge-watching Netflix).
IEEE Spectrum / 2022.11.07
2021-06-21 / Conference paper
Pulsarcast: Scalable, reliable pub-sub over P2P nets
The publish-subscribe paradigm is a wildly popular form of communication in complex distributed systems. The properties offered by it make it an ideal solution for a multitude of applications, ranging from social media to content streaming and stock exchange platforms.
DI2F / 2021.06.21 / Espoo, Finland
Joao Antunes, David Dias , Luis Veiga
2021-06-21 / Conference paper
The case for AI based Web3 reputation systems
Initiatives such as blockchains and decentralized storage networks are pushing for a decentralized Web3 to replace the current architecture. At the core of Web3 are network resource sharing services, which allow anyone to sell spare network capacity in return for rewards.
DI2F / 2021.06.21 / Espoo, Finland
Navin V. Keizer, Fan Yang, Yiannis Psaras , George Pavlou
2021-06-11 / Conference paper
IPFS-FAN: A function-addressable computation network
Permissionless computation is one of the missing pieces in the web3 stack in order to have all the tools needed to “decentralise Internet services”. There are already proposals to embed computation in decentralised networks like smart contracts, or blockchain networks for computational offloading.
DI2F / 2021.06.21 / Espoo, Finland
2021-01-14 / Report
Accelerating content routing with Bitswap: A multi-path file transfer protocol in IPFS and Filecoin
Bitswap is a Block Exchange protocol designed for P2P Content Addressable Networks. It leverages merkle-linked graphs in order to parallelize retrieval and verify content integrity. Bitswap is being used in the InterPlanetary File System architecture as the main content exchange protocol, as well as in the Filecoin network as part of the block synchronisation protocol.
2020-12-07 / Conference paper
PASTRAMI: Privacy-preserving, auditable, scalable & trustworthy auctions for multiple items
Decentralised cloud computing platforms enable individuals to offer and rent resources in a peer-to-peer fashion. They must assign resources from multiple sellers to multiple buyers and derive prices that match the interests and capacities of both parties.
Middleware '20 / 2020.12.07
Michał Król, Alberto Sonnino, Argyrios Tasiopoulos, Yiannis Psaras , Etienne Rivière
2020-10-11 / Conference paper
Rewarding relays for decentralised NAT traversal using smart contracts
Traversing NAT’s remains a big issue in P2P networks, and many of the previously proposed solutions are incompatible with truly decentralised emerging applications. Such applications need a decentralised NAT traversal solution without trusted centralised servers.
Mobihoc '20 / 2020.10.11
Navin V. Keizer, Onur Ascigil, Yiannis Psaras , George Pavlou
2020-07-06 / Report
GossipSub: Attack-resilient message propagation in the Filecoin and ETH2.0 networks
Permissionless blockchain environments necessitate the use of a fast and attack-resilient message propagation protocol for Block and Transaction messages to keep nodes synchronised and avoid forks. We present GossipSub, a gossip-based pubsub protocol, which, in contrast to past pubsub protocols, incorporates resilience against a wide spectrum of attacks.
Dimitris Vyzovitis, Yusef Napora, Dirk McCormick, David Dias , Yiannis Psaras
2020-04-27 /
Merkle-CRDTs: Merkle-DAGs meet CRDTs
We study Merkle-DAGs as a transport and persistence layer for Conflict-Free Replicated Data Types (CRDTs), coining the term Merkle-CRDTs and providing an overview of the different concepts, properties, advantages and limitations involved.
Hector Sanjuan, Samuli Poyhtari, Pedro Teixeira, Yiannis Psaras
2020-04-18 / Report
Gossipsub-v1.1 evaluation report
Permissionless blockchain environments necessitate the use of a fast and attack-resilient message propagation protocol for Block and Transaction messages to keep nodes synchronised and avoid forks. We present GossipSub, a gossip-based pubsub protocol, which, in contrast to past pubsub protocols, incorporates resilience against a wide spectrum of attacks.
Dimitris Vyzovitis, Yusef Napora, Dirk McCormick, David Dias , Yiannis Psaras
2020-03-30 / Conference paper
Censorship-resistant web annotations based on Ethereum and IPFS
Flooded by the propagation of false or biased news in the Web, people tend to resort to social networks to read posts from reliable sources, exchange commentaries with trustworthy parties, access first-hand content, or cross-check information that appears in news outlets.
SAC 2020 / 2020.03.30 / Brno, Czech Republic
João Santos, Nuno Santos, David Dias
2021-12-21 / Blog
Protocol Labs research funding recipients 2021, part 2
Last week we introduced you to the researchers pursuing key problems in cryptography via RFP-009, RFP-010, and a Nucleation Grant. Now we are excited to share the recipients of research awards intended to fund proposals from PhD candidates, postdoctoral fellows, and faculty through our open grant offerings.
2021-12-13 / Blog
A visualization tool for the IPFS DHT
At the Mobile Multimedia Lab of the Athens University of Economics and Business, we have been working on optimisations for the InterPlanetary File System distributed hash table (IPFS DHT) and, in particular, on Multi-Level DHT support.
Spyros Voulgaris, Yiannis Psaras
2021-07-21 / News, Events
Decentralising the Internet with IPFS and Filecoin (DI2F) — a report from the trenches
The first edition of the DI2F Workshop, which took place on 21 June 2021 and focused on decentralising the Internet with IPFS and Filecoin, has been a phenomenal success! We received more than 20 submissions, out of which 11 were selected to be presented on the day (scroll down to the three sections at the bottom of this page for the full text).
2021-06-08
ResNetLab on Tour in Australia
On May 5th, ResNetLab participated in a flagship event involving four major Australian universities — Royal Melbourne Institute of Technology (RMIT), University of New South Wales, Australian National University and Macquarie University — and lots of Web 3.
2021-06-08
ResNetLab presents Beyond Bitswap at Codemotion '21
ResNetLab was delighted to accept an invitation to talk about Bitswap and the outcomes of our Beyond Bitswap project at the Spanish Edition of the Codemotion conference. The invitation was then extended to the English edition of the conference, which took place at the end of May.
2021-06-02 / Blog
ResNetLab presentations at Devfolio's ETH India 2021 Fellowship
Hot off the heels of ETHDenver, the largest Ethereum community event in North America, the Devfolio team who ran the hackathon platform for the event asked if we’d be interested in doing an IPFS training for another of their programs: the Devfolio Ethereum India Fellowship.
2021-05-13 / News
ResNetLab on Tour: Blockchain@Berkeley
We were delighted to present our brand new ResNetLab on Tour programme to the vibrant community of the Berkeley’s Blockchain Innovation Hub on April 28th and 29th! The ResNetLab on Tour programme is a one-stop-shop for all things IPFS and Web 3.
2021-05-13 / Careers
We're hiring!
Protocol Labs Research has been growing rapidly, with the launch of CryptoComputeLab, CryptoEconLab, and CryptoNetLab, a number of new projects, and new researchers, advisors, and support staff joining the team.
2021-04-06 / News
ResNetLab on Tour tutorials go on-demand
We started the ResNetLab on Tour programme in late 2019 with the goal of onboarding the research and academic community to the IPFS architecture and the interesting open problems and research directions associated with the decentralisation of internet services.
2021-03-16 / Talks
Protocol Labs at FOSDEM 2021
FOSDEM is one of the biggest events for software developers building open-source software. Founded in 2000, the conference takes place once a year in Brussels, gathering over 8000 developers, hackers, and engineers from across the spectrum of software development.
2021-03-03 / News, Team
ResNetLab welcomes Barath Raghavan as a research advisor
We are pleased to announce that Barath Raghavan will be working with ResNetLab as an advisor. Barath is a professor of computer science at USC, where he co-leads the networked systems lab and conducts research across the fields of core networked systems, computing for social good and sustainability, and security.
2021-02-11 / Talks
IEEE GLOBECOM 2020 - The InterPlanetary File System and the Filecoin Network
IEEE Globecom is one of the flagship IEEE ComSoc conferences in the field of networks and communications – and, with over 2000 attendees, one of the largest conferences in the field.
2021-02-03 / Event
Decentralising the Internet with IPFS and Filecoin (DI2F) workshop at IFIP Networking 2021: Call for Contributions
Since the InterPlanetary File System (IPFS) was first introduced in a 2014 whitepaper, interest from the research community on improving and building on its protocol stack has been steadily growing. A search for “IPFS networking” on Google Scholar now returns over 1500 results, and that is just a fraction of the relevant publications.
2021-01-20 / Blog
ResNetLab 2020 in review: we love it when a plan comes together
We hope you spent some fantastic time with your loved ones during the holiday season. With the time to pause, rest, and reflect – and with the goal of kicking off 2021 in the best way possible – we decided to capture ResNetLab’s 2020 highlights, share what we’ve learned, and describe what we will be focusing on in 2021.
2021-01-11 / Blog
Beyond Swapping Bits: project review (and preview!)
If you have been following along for the past three months (1, 2, 3, 4), you know that we in ResNetLab started the Beyond Bitswap project with one goal in mind: to drive speed-ups for file-sharing in IPFS.
2021-01-01 / Blog
Our Bitswap nodes have become “jumping inspectors” (updated)
A few weeks ago, we shared how we have taught our Bitswap nodes to jump. If you recall from that post, the content discovery range extension gained came at the expense of an increased number of duplicate blocks exchanged in the network.
2020-12-10 / Blog
Teaching Bitswap nodes to jump
By now you may have heard about ResNetLab’s research endeavour to drive speed-ups on file transfers: Beyond Swapping Bits. Our recent blog post, “Honey, I shrunk our libp2p streams”, considers how adding compression to libp2p could lead to significant bandwidth savings.
2020-11-25 / Talks
IEEE/IFIP CNSM 2020 - The InterPlanetary File System and the Filecoin Network
ResNetLab was invited to present a 3.5 hour tutorial at one of the biggest conferences in the “NetMan” community, the 16th International Conference on Network and Service Management. We were impressed by the quality of talks, keynotes, workshops, and tutorials presented during the conference.
2020-11-03 / Blog
"Two ears, one mouth": how to leverage bitswap chatter for faster transfers
As part of ResNetLab’s research endeavour to drive speed-ups on file transfers, Beyond Swapping Bits, we present a new contribution to IPFS Bitswap protocol. We argue that Bitswap is currently discarding a wealth of information that could be used to its benefit, improving retrieval success and minimizing the latency to retrieve content.
2020-10-29 / Blog
Honey, I shrunk our libp2p streams
Today we’re excited to share the story of how we decided to explore compression for libp2p streams and ended up achieving up to a 75% decrease in bandwidth use when performing an IPFS file exchange.
2020-10-13 / News, Grants
Meet the latest Protocol Labs Research Grant recipients
In January of 2020, the Resilient Networks Lab (ResNetLab) launched two RFPs (Requests for Proposals) to address pressing open problems faced by IPFS and libp2p, namely, Routing at Scale and PubSub at Scale.
2020-10-06 / Blog
GossipSub: An attack-resilient messaging-layer protocol for public blockchains
Securing permissionless networks is the bane of open networks, starting with the Internet and every overlay network that operates over it. This challenge has existed from the early days of the Internet to the current Web 3.
2020-08-26 / News, Team
Vasilis Giotsas joins Protocol Labs Research
Vasileios (Vasilis) Giotsas is joining the Resilient Networks Lab (ResNetLab) as a Research Engineer. He comes to PL from Lancaster University, where he was an Assistant Professor, after stints at Technischen Universität Berlin and the University of California San Diego.
2020-07-27 / News, Team
Alfonso de la Rocha joins Protocol Labs Research
Alfonso is joining the Resilient Networks Lab (ResNetLab) as a Research Engineer. He comes to PL from Telefónica R&D, where he worked on blockchain-based technologies such as TrustOS. We asked Alfonso about his journey to PL, the projects he will be working on in the ResNetLab, and his thoughts about future technological developments:
2020-07-23 / Blog
How content addressing can solve streaming challenges as networks are overloaded
Given the mass migration to remote work we’ve seen in recent months, you’d think the internet would be collapsing under the added strain. Yet precisely the opposite has happened. As experts have observed, the internet isn’t buckling under added traffic; it’s thriving.
2020-07-01 / Talks
IEEE/IFIP DSN 2020 - The InterPlanetary File System and the Filecoin Network
ResNetLab was invited to present “The InterPlanetary File System and the Filecoin Network” in a 3-hour tutorial at the IEEE/IFIP International Conference on Dependable Systems and Networks! The conference, now in its 50th edition, has an established track record of top-quality research contributions, and is one of the oldest conferences in its subject area.
2020-06-08 / Talks
IPFS talk at the IRTF Decentralised Internet Infrastructure Research Group meeting
ResNetLab was invited to meet with the Decentralised Internet Infrastructure Research Group (DINRG) of the Internet Research Task Force (IRTF) to present and discuss the Software Architecture of the IPFS protocol.
2020-05-18 / Talks
NDN Seminar: a high-level overview of the InterPlanetary File System
ResNetLab was invited to present the “High-Level Overview of the IPFS Architecture” to the Named Data Networking consortium!
2020-05-07 / Talks
Next Generation Networks (NGN) group talk: A high-level overview of the InterPlanetary File System
The Next Generation Networks (NGN) group recently invited the Resilient Networks Lab (ResNetLab) to present a tutorial on IPFS. NGN is a vibrant group of academics, industry researchers and engineers working in the general area of — you guessed it — next-generation networks.
2020-05-03 / Talks
IEEE ICBC 2020: The InterPlanetary File System and the Filecoin Network
ResNetLab presented at one of the most prominent conferences in the area of Distributed Ledger Technologies: the IEEE International Conference on Blockchain and Cryptocurrencies! IEEE ICBC 2020 took place remotely, was well-attended, and had an exciting programme both in terms of tutorials during the first day and invited talks during the main conference, where Vitalik Buterin delivered the keynote speech.
2020-04-17 / Talks
Gossipsub v1.1 at 'Open Tech Will Save Us' virtual event
ResNetLab was present at Open Tech Will Save Us virtual meetup, an event organized by the Matrix.org team during which participants could watch a live stream provided by Jitsi and ask questions using the Matrix protocol (often through a client like Riot).
2020-02-25 / News, Team
Yiannis Psaras joins Protocol Labs Research
Yiannis (Ioannis) is joining the Resilient Networks Lab, which he helped get off the ground after becoming an advisor to PL in July 2019. Yiannis is currently a fellow of the United Kingdom’s Engineering and Physical Sciences Research Council and a Lecturer at University College London, where he has worked on a number of topics within the broad field of networking, with a significant focus on Information-Centric Networking (ICN).
2019-12-30 / News
A new lab for resilient networks research
Resiliency is at the core of systems that are capable of standing the test of time, providing unshakable access for the many generations to come. A resilient system or network is fundamentally uncompromised by an isolated failure or network split.