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.

貢獻者指南