Skip to content

State dump to speed up bootstrap#1558

Draft
netoneko wants to merge 9 commits intomasterfrom
feature/experimental-merkel-serializer
Draft

State dump to speed up bootstrap#1558
netoneko wants to merge 9 commits intomasterfrom
feature/experimental-merkel-serializer

Conversation

@netoneko
Copy link
Copy Markdown
Contributor

This is an experimental PR for research purposes. If we decide to move forward with anything, it will be properly productized and prioritized.

Unsolved challenges:

  • periodic dumps of state (should we copy the map or implement a lock, etc)
  • rolling revisions failing tests that rely on counters and mocks instead of real merkle
  • general concerns about serializer wrapper/plugging into node logic

Currently loading from the state dump for the block file size of 14Gb makes the bootstrap 60%+ shorter. It can be transparently integrated into current boot sequence with medium effort focused mostly on updating current tests and adding another E2E.

@ronnno ronnno marked this pull request as draft July 12, 2020 18:00
@ronnno ronnno changed the title [PoC] State dump to speed up bootstrap State dump to speed up bootstrap Jul 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant