NethermindEth / Paprika

A custom storage engine of Nethermind, benefiting from the alignment of the underlying data structure with the layout of State & Storage trees of Ethereum.
GNU Lesser General Public License v3.0
91 stars 14 forks source link

Batching for blocks enabled #365

Closed Scooletz closed 3 months ago

Scooletz commented 4 months ago

A PR that allows to batch blocks before applying them to the database if the number of blocks in the queue is sufficiently big that it breaches the history depth. If the number is bigger, blocks can be squashed before applying them to the database so that there's less book keeping in regards to the copying data in the database.

github-actions[bot] commented 4 months ago

Code Coverage

Package Line Rate Branch Rate Health
Paprika 85% 80%
Summary 85% (4199 / 4928) 80% (1349 / 1682)

Minimum allowed line rate is 75%

Scooletz commented 3 months ago

This is not the crux of the performance issue. Blocks should be applicable much faster without any batching needed.