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

Update boostx stats command to include agent version & retrieval support breakdown #1271

Closed
jacobheun opened this issue Mar 13, 2023 · 0 comments · Fixed by #1304
Closed
Assignees
Labels

Comments

@jacobheun
Copy link
Contributor

jacobheun commented Mar 13, 2023

Summary

We want to better monitor adoption of Boost as well as the various retrieval protocols (graphsync, bitswap, http) so we can better support SPs.

Proposal

Collect libp2p agent version

The libp2p agent versions should give us a better understanding of who is using lotus/venus/boost/etc and what version adoption of Boost looks like. We already run identify to get the protocols, so we just need to track the agent versions.

This could just be a simple map counter we print out.

Collect supported retrieval protocols

#723 added support for checking supported retrieval protocols over libp2p. We should run this check to see which protocols each SP supports as we crawl the network.

Example existing output

...
Total Boost nodes: 309
Total Boost raw power: 673768287275843584
Total Boost quality adj power: 2497977391189557248
Total Lotus Markets nodes: 591
Total SPs with minimum power:  3588
Total Indexer nodes: 721

Example updated output

...
Total Boost nodes: 309
Total Boost raw power: 673768287275843584
Total Boost quality adj power: 2497977391189557248
Total Lotus Markets nodes: 591
Total SPs with minimum power:  3588
Total Indexer nodes: 721
Retrieval Protocol Support:
  graphsync: 309
  http: 25
  bitswap: 19
Agent Versions:
  boost/1.6.0: 250
  boost/1.6.1-rc1: 10
  lotus/1.20.3: 489
  otherversionhere: x
  ...
@jacobheun jacobheun added this to Boost Mar 13, 2023
@jacobheun jacobheun assigned jacobheun and dirkmc and unassigned jacobheun Mar 13, 2023
@jacobheun jacobheun changed the title Update boostx stats command to include agent version breakdown Update boostx stats command to include agent version & retrieval support breakdown Mar 17, 2023
@github-project-automation github-project-automation bot moved this to Done in Boost Mar 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants