ipfs/kubo

Tune batch add parallelism constant

Open

#4299 aperta il 11 ott 2017

Vedi su GitHub
 (0 commenti) (0 reazioni) (0 assegnatari)Go (2725 fork)batch import
help wantedstatus/deferredtopic/perf

Metriche repository

Star
 (13.906 star)
Metriche merge PR
 (Merge medio 4g 2h) (28 PR mergiate in 30 g)

Descrizione

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.

Guida contributor