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

fix: increase provider sample size #10589

Merged
merged 1 commit into from
Nov 25, 2024
Merged

fix: increase provider sample size #10589

merged 1 commit into from
Nov 25, 2024

Conversation

lidel
Copy link
Member

@lidel lidel commented Nov 18, 2024

We had "magic number" 128 without any explanation.

Turns out the number informs many things, namely:

  • The size of a batch that will be used for calculating average announcement time per CID, inside of boxo/provider.ThroughputReport
  • the batch size in the output of ipfs stats provide command

This PR updates description + increases batch to 1000k to avoid false-positives asking users to enable accelerated clients when a desktop is under temporary load spike.

@lidel lidel mentioned this pull request Nov 18, 2024
24 tasks
@lidel lidel added the skip/changelog This change does NOT require a changelog entry label Nov 19, 2024
@lidel lidel marked this pull request as ready for review November 19, 2024 23:28
@lidel lidel requested a review from a team as a code owner November 19, 2024 23:28
@gammazero gammazero merged commit d1f6541 into master Nov 25, 2024
14 of 16 checks passed
@gammazero gammazero deleted the provider-batch-1k branch November 25, 2024 17:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
skip/changelog This change does NOT require a changelog entry
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants