ipfs/kubo

Tune batch add parallelism constant

開放

#4,299 建立於 2017年10月11日

 (0 則留言) (0 個反應) (0 位負責人)Go (2,725 個分叉)batch import
help wantedstatus/deferredtopic/perf

倉庫指標

星標
 (13,906 顆星)
PR 合併指標
 (平均合併 4天 2小時) (30 天內合併 28 個 PR)

描述

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.

貢獻者指南