📖
[Deprecated] Launchpad Curriculum
  • README
  • About Launchpad
  • Launchpad Learning Resources
    • The Protocol Labs Network
      • What is the PL Network?
      • Teams in the PL Network
      • Protocol Labs Culture
      • Where We are Headed
      • Open Source Stewardship
      • Open Source Contribution
    • IPFS
      • IPFS Setup (Tutorial)
      • Mutable Content
      • IPFS Public DHT
      • Who Uses IPFS
      • How IPFS Works
      • Data Transfer
      • IPFS Subsystems & Architecture
      • The IPFS Gateways
      • The IPFS API (Tutorial)
      • IPFS Resources
    • IPLD
      • Content Addressing & CIDs
      • Graphs: Merkle DAGs
      • The IPLD Data Model
      • IPLD & IPFS
      • Codecs
      • IPLD Schemas
      • Paths & Selectors
      • Distributed Data Structures
      • The CAR Format
      • IPLD Resources
    • libp2p
      • Core Concepts
      • libp2p Connections and Users
      • Decentralized Messaging
      • Gossipsub
      • Distributed Networking Solutions
      • Nat Traversal and Hole Punching
      • libp2p Resources
    • Filecoin
      • How Filecoin Works
      • Filecoin Cryptoeconomics
      • The Filecoin Protocol
      • Drand
      • Progress & Future Work
      • Filecoin Resources
  • Other Resources
    • Pre-Requisites
      • Web3 & Protocol Labs
      • Building Web3
      • Web3 Tools
    • Protocol Labs Toolkits & SDKs
      • Textile
      • Ceramic
      • Fleek
      • Web3.Storage
      • Piñata
    • Built On IPFS and Filecoin
    • Additional Learning
Powered by GitBook
On this page
  • What is Gossipsub?
  • Videos
Edit on GitHub
  1. Launchpad Learning Resources
  2. libp2p

Gossipsub

A Publish / Subscribe Message Delivery Network

PreviousDecentralized MessagingNextDistributed Networking Solutions

Last updated 2 years ago

What is Gossipsub?

Gossipsub is a pubsub (publish/subscribe) protocol that provides the routing for messaging that can be used in blockchain environments for transaction messages that transfer value, and block messaging that update the status of the blockchain, along with other applications.

Before Gossibpsub, permissionless networks like Ethereum and Fliecoin used a messaging layer called flooding (or floodsub) to help protect against malicious attacks that would slow down or stop messaging on that network, however flooding can create a lot of redundancy because it floods the nodes in the network with messages.

Gossipsub uses a different method of communication, forwarding metadata to peers in the network, using a lazy pull that limits the number of peers a node communicates with, but directly sharing nodes in their network (known as an Eager Push), and uses a score function to highlight good behavior or nodes, and help flag malicious activity.

Learn more in the

Videos

Demystifying libp2p Gossipsub | Ethereum Foundation - Raúl Kripalani

Gossipsub 1.1 | David Dias

A scalable, extensible & hardened P2P PubSub Router protocol | Ready Layer One - David Dias

GossipSub paper