Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

WIP: gossipsub: add optional per-peer delay metrics #726

Closed
wants to merge 1 commit into from

Conversation

cskiraly
Copy link
Contributor

@cskiraly cskiraly commented Jun 7, 2022

This is to add more delay related metrics to evaluate GossipSub improvement proposals.

See libp2p/specs#413 for related discussions

Signed-off-by: Csaba Kiraly <csaba.kiraly@gmail.com>
@cskiraly
Copy link
Contributor Author

cskiraly commented Jun 7, 2022

The current version is one that exposes lots of data: one histogram per peer. Thus, the metric is kept optional. Later we might streamline this to collect only stats like mean and maybe stddev.

I'm also wondering whether we should add this here, or move it to scoring.nim.

It would also be nice to collect some delay related data on first arrivals, for example delay between the first and the second arrival.

@Menduist
Copy link
Contributor

Menduist commented Jun 7, 2022

Just a note, we won't be able to enable per-peer metric on the fleet (too expensive)
We can still get this in though

@kaiserd kaiserd deleted the branch master-old April 29, 2024 13:44
@kaiserd kaiserd closed this Apr 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: icebox
Development

Successfully merging this pull request may close these issues.

3 participants