Skip to content

[GossipSub 1.2] PING/PONG control messages#558

Draft
Nashatyrev wants to merge 3 commits intolibp2p:gossipsub/v1.2from
Nashatyrev:gossip-pingpong-upstream
Draft

[GossipSub 1.2] PING/PONG control messages#558
Nashatyrev wants to merge 3 commits intolibp2p:gossipsub/v1.2from
Nashatyrev:gossip-pingpong-upstream

Conversation

@Nashatyrev
Copy link
Contributor

@Nashatyrev Nashatyrev commented Jul 13, 2023

This PR introduces a new GossipSub version 1.2

Co-authored with @Menduist

New messages

The new PING/PONG control messages are added

Potential applications:

  • Emulate message receive acknowledgement for better staggered sending
  • Help gossip router to gather additional statistics about connection characteristics (e.g. latency and bandwidth) and optimize message sending (send staggering mostly)
  • Additionally that could potentially be used to keep TCP connection 'warm' (avoid TCP slow start restart) by sending quite frequent PING requests (with a period of 1-2 RRTs)

@vyzo vyzo mentioned this pull request Jul 14, 2023
@vyzo
Copy link
Contributor

vyzo commented Jul 14, 2023

Let's target this to #560

@Nashatyrev Nashatyrev changed the base branch from master to gossipsub/v1.2 July 17, 2023 08:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Triage

Development

Successfully merging this pull request may close these issues.

2 participants