forked from TrueCloudLab/frostfs-node
Evgenii Stratonikov
58367e4df6
To achieve high performance we must choose proper values for both batch size and delay. For user operations we want to set low delay. However it would prevent tree synchronization operations to form big enough batches. For these operations, batching gives the most benefit not only in terms of on-CPU execution cost, but also by speeding up transaction persist (`fsync`). In this commit we try merging batches that are already _triggered_, but not yet _started to execute_. This way we can still query batches for execution after the provided delay while also allowing multiple formed batches to execute faster. Signed-off-by: Evgenii Stratonikov <e.stratonikov@yadro.com> |
||
---|---|---|
.. | ||
batch.go | ||
boltdb.go | ||
forest.go | ||
forest_test.go | ||
generic_test.go | ||
info.go | ||
inmemory.go | ||
interface.go | ||
meta.go | ||
meta_test.go | ||
option.go | ||
types.go | ||
util.go | ||
util_test.go |