hiero-ledger / hiero-ledger/hiero-consensus-node

LongList index chunks can be written to disk in parallel

Open
#26,469 1 comment 0 reactions 1 assignee Claimed by @thenswan View on GitHub
Performance Platform Platform Virtual Map
Dominant language
Java
Stars
406
Forks
226
Avg merge
3d 4h
Merged PRs (30d)
210

Description

When a MerkleDb snapshot is created, all indices are written to disk using `LongList.writeToFile()` method. All LongList implementations are about the same: they iterate over the list of index chunks and write them to the file sequentially. Instead, this may be done in parallel, since for every chunk its offset in the target file is well known.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.