ipfs/kubo

Tune batch add parallelism constant

Open

#4,299 创建于 2017年10月11日

在 GitHub 查看
 (0 评论) (0 反应) (0 负责人)Go (13,906 star) (2,725 fork)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.

贡献者指南