ipfs/kubo

Tune batch add parallelism constant

Open

#4 299 ouverte le 11 oct. 2017

Voir sur GitHub
 (0 commentaires) (0 réactions) (0 assignés)Go (2 725 forks)batch import
help wantedstatus/deferredtopic/perf

Métriques du dépôt

Stars
 (13 906 stars)
Métriques de merge PR
 (Merge moyen 4j 2h) (28 PRs mergées en 30 j)

Description

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.

Guide contributeur