Receipt Compression Strategy #5767
Labels
bonsai
epic
in-progress
Epic being worked on by a workstream
mainnet
TeamGroot
GH issues worked on by Groot Team
Description
The largest part of the database storage is the receipts. As a Besu user, I want the lowest storage size possible on my disk.
Some clients have a notion of "ancient" receipts that they compress or move to a freezer to keep storage small. For more recent data, Besu can provide non-compressed receipts/data. For older data, decompression will happen, latency may be introduced, which is a tradeoff for lower overall storage use.
We need to determine what "ancient" (user configurable) barriers are appropriate, what compression strategy we may use for these ancient receipts, and if we want to combine it with the freezer approach.
Some references & implementations:
ethereum/go-ethereum#19345
NethermindEth/nethermind#5531
We may also be able to prune receipts over the
historical-block-limit
for BONSAI, reducing data further (is this covered by--Xchain-pruning
? ).Notes
Tasks
besu/ethereum/blockcreation/src/main/java/org/hyperledger/besu/ethereum/blockcreation/AbstractBlockCreator.java
Lines 298 to 304 in 1c261db
The text was updated successfully, but these errors were encountered: