Large message transmissions in libp2p GossipSub lead to longer than expected network-wide message dissemination times and very high bandwidth utilization. This article identifies key issues responsible for this behavior and proposes modifications to the protocol for transmitting large messages. These modifications preserve the GossipSub resilience and fit well into the current algorithm. The proposed changes are rigorously evaluated for performance using the shadow simulator. Results reveal that the suggested changes reduce bandwidth utilization by up to 61% and message dissemination time by up to 35% under different traffic conditions.
Cite
@article{arxiv.2505.17337,
title = {PREAMBLE and IMRECEIVING for Improved Large Message Handling in libp2p GossipSub},
author = {Muhammad Umar Farooq and Daniel Kaiser},
journal= {arXiv preprint arXiv:2505.17337},
year = {2025}
}