ipfs / ipfs/kubo

Tune batch add parallelism constant

Open
#4,299 0 comments 0 reactions 0 assignees View on GitHub
help wanted status/deferred topic/perf
Dominant language
Go
Stars
17.1k
Forks
3.2k
Avg merge
3d 18h
Merged PRs (30d)
11

Description

Specifically, tune the `ParallelBatchCommits` constant added in #4296. Right now, we just use `NumCPU*2` but we could probably do something fancier (learn it? does the datastore matter? does the storage medium matter? how about the filesystem?).

We may never get to this but hey, if anyone wants to spend some time experimenting they're free to take a crack at it.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.