mina-indexer icon indicating copy to clipboard operation
mina-indexer copied to clipboard

Analyze if retrieving block directly from file instead of ingesting bytes into RocksDB is worthwhile

Open n1tranquilla opened this issue 5 months ago • 1 comments

Instead of adding the block contents to the database, retrieve the block from file directly, when needed.

Some considerations:

  • We have to keep PCB file indefinitely
  • We might have to periodically purge proofs from PCB files (to save disk space)
  • Read performance might suffer.

n1tranquilla avatar Sep 16 '24 19:09 n1tranquilla