Optimize archiver initialization during node restart #1852
Labels
improvement
it is already working, but can be better
node
Node (service library/node app)
performance
Related to performance measurement or improvement
Milestone
Reading blocks in Substrate is slow, like very slow. When we have thousands of blocks to read it could take seconds.
We read blocks from the tip backwards and then forward again when restarting node to restore internal archiver state.
We should be able to accelerate it in two ways:
find_last_archived_block
function)The text was updated successfully, but these errors were encountered: