Skip to content
This repository has been archived by the owner on Feb 27, 2023. It is now read-only.

Batch writes #13

Open
tzdybal opened this issue Jan 18, 2021 · 1 comment
Open

Batch writes #13

tzdybal opened this issue Jan 18, 2021 · 1 comment
Labels
enhancement New feature or request

Comments

@tzdybal
Copy link
Member

tzdybal commented Jan 18, 2021

Currently during Update/Delete operation every write on the path from leaf to root is done in a separate call.
Those operations could be executed as batch.
Pros:

  • improved consistency (no orphaned nodes in case of crash)
  • (most probably) improved performance
    Cons:
  • more complicated MapStore interface

Most KV stores implements batching, and actually quite often even single operation is also wrapped in a batch (AFAIK this is true for LevelDB, RocksDB, Badger).

@tzdybal tzdybal added the enhancement New feature or request label Jan 18, 2021
@universe2439
Copy link

Closed

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request
Projects
No open projects
Status: No status
Development

No branches or pull requests

2 participants