Skip to content

Comments

fix: increase provider sample size#10589

Merged
gammazero merged 1 commit intomasterfrom
provider-batch-1k
Nov 25, 2024
Merged

fix: increase provider sample size#10589
gammazero merged 1 commit intomasterfrom
provider-batch-1k

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
60 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
@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