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

Experiment: Compare ingestion times with canonical chain discovery vs directly ingestion blocks.

Open trevorbernard opened this issue 7 months ago • 2 comments

Our canonical chain discovery algorithm takes a non-trivial amount of time to calculate and verify. 25mins with 811K blocks. The hypothesis is the second deserialization costs more then the work savings by ingesting the canonical chain first then the orphaned and recent paths.

Modify the indexer to bypass the canonical chain discovery and start adding the blocks directly. Compare with the current indexer ingestion times on the same blocks.

trevorbernard avatar Jul 08 '24 18:07 trevorbernard