ipfs/kubo

Tune batch add parallelism constant

Open

#4,299 opened on 2017年10月11日

GitHub で見る
 (0 comments) (0 reactions) (0 assignees)Go (13,906 stars) (2,725 forks)batch import
help wantedstatus/deferredtopic/perf

説明

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.

コントリビューターガイド

Tune batch add parallelism constant · ipfs/kubo#4299 | Good First Issue