Right now it is looking like it will take more than a week to load all of the chain data from a locally running geth node into a Posgres database (also running on the same machine). This is too slow.
How can it be fixed?
8 poses an option for improving the overall speed.
We should be able to do two other things to improve the UX.
Load the HEAD of the chain (disconnected from it's history) and follow the chain head while concurrently doing backfill of the ancient data.
Lazily load intermediate block ranges as they are queried. If a query comes in for a defined range of blocks that we have not yet loaded, those blocks could be queued at a high priority to be loaded on-demand.
What was wrong?
Right now it is looking like it will take more than a week to load all of the chain data from a locally running
geth
node into a Posgres database (also running on the same machine). This is too slow.How can it be fixed?
8 poses an option for improving the overall speed.
We should be able to do two other things to improve the UX.