go-algorand icon indicating copy to clipboard operation
go-algorand copied to clipboard

Add option to store and retrieve deltas

Open urtho opened this issue 1 year ago • 2 comments

Status

Currently node stores a few deltas in memory only.

Expected

Node optionally stores deltas along with blocks and allows for retrieval from storage. This could be available only with PebbleDB compressed storage to not go beyond current full archival SQLite storage requirements.

Imagine a follower-less infra once dedicated archivers have this option enabled.

Urgency

Alognode.io built a dedicated pipeline and a block server just for that - to solve the jittery nature of the current conduit/follower pipeline.

https://github.com/AlgoNode/blocksrv https://github.com/AlgoNode/conduit-plugin-export-blksrv

urtho avatar Jan 25 '24 15:01 urtho

Are you wanting to keep the state delta for the entire block, or the detailed deltas for individual transactions?

jannotti avatar Jan 25 '24 15:01 jannotti

My interest is just deltas for entire block - that is minimal requirement for conduit. Others are interested in TX deltas but that would probably blow up the storage requirements tenfold.

urtho avatar Feb 02 '24 09:02 urtho