Watch / Demystifying libp2p gossipsub: a scalable and extensible p2p gossip protocol

Demystifying libp2p gossipsub: a scalable and extensible p2p gossip protocol

  • YouTube
  • IPFS
  • Details

Demystifying libp2p gossipsub: a scalable and extensible p2p gossip protocol

Duration: 00:25:27

Speaker: Raúl Kripalani

Type: Breakout

Expertise: intermediate

Event: Devcon 5

Date: Oct 2019

ETH2.0 is evaluating libp2p gossipsub as a decentralized, peer-to-peer publish/subscribe mechanism for validators, proposers and attesters to quickly disseminate data throughout the entire network. This talk covers the technical design, tradeoffs and functionality of gossipsub, aiming to deliver foundational knowledge to everyone interested in learning more about this potential building block of the ETH2.0 network. Gossipsub was incubated in the libp2p project as a replacement for the naïve floodsub pubsub router (which simply broadcasts messages to all peers we know are interested in a topic). It maintains stable reciprocal meshes via explicit link grafting, while preserving random gossip to disseminate metadata, and to provide cues to aid message deliverability. It also features a piggybacking algorithm to minimise the overhead of control messages; allows developers to attach custom per-topic validator functions; and more. Come to learn more about how gossipsub works, and to hear about the state of the art of p2p pubsub protocols!
  • Related