ipfs/kubo

Tune batch add parallelism constant

Open

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

在 GitHub 查看
 (0 评论) (0 反应) (0 负责人)Go (2,725 fork)batch import
help wantedstatus/deferredtopic/perf

仓库指标

Star
 (13,906 star)
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.

贡献者指南