-
Notifications
You must be signed in to change notification settings - Fork 176
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
3273: Checkpointing V6 - support concurrent checkpoint encoding/decoding r=zhangchiqing a=zhangchiqing Closes #3075 This PR implements the checkpointing V6. Checkpointing Version 6 splits the single checkpoint file into 18 files in total. The main benefits are: - The benefit of splitting the checkpoint file is to support concurrent writes to multiple sub files which speeds up checkpoint generation, and concurrent reads which speeds up reading checkpoint. - V6 is benefited from V5, where it builds the sub trees first to be encoded, which built the ground for allowing concurrent processing. See complete design in this doc: https://www.notion.so/dapperlabs/Checkpoint-V6-8c7b97937da54c5b9e6c18b5b4598f2e Comparison between V5 and V6 using latest mainnet19 data snapshot: - checkpoint writing is reduced from `16mins` to `3mins`, 5.3 times faster - checkpoint reading is reduced from `12mins` to `2mins`, 6 times faster This is a feature branch. There are more TODO items to be done in separate PRs. Once this PR is approved, I will close this PR until all TODO items are done, then I will re-open this PR, and merge to master. Co-authored-by: Leo Zhang (zhangchiqing) <[email protected]>
- Loading branch information
Showing
18 changed files
with
2,546 additions
and
507 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.