Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

State dump to speed up bootstrap #1558

Draft
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

netoneko
Copy link
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