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

Optimizing Warp Syncing Support and User Experience #32

Open
bkchr opened this issue Jun 3, 2023 · 1 comment
Open

Optimizing Warp Syncing Support and User Experience #32

bkchr opened this issue Jun 3, 2023 · 1 comment

Comments

@bkchr
Copy link
Member

bkchr commented Jun 3, 2023

Vision

Our node supports multiple modes of syncing, with warp sync being one of them. While it has been implemented for solo chains running Grandpa as well as for parachains, the current implementation of warp sync has some limitations.

As it stands, warp sync only supports syncing from genesis. This implies that any pre-synced database can't be leveraged to warp sync to the chain's tip. Moreover, when using an empty database, the system always defaults to warp sync from genesis.

To augment the efficiency of warp sync, it would be beneficial to have a recent "sync state" stored in the chain spec. This feature would expedite the warp syncing process without influencing the actual state syncing.

Our ultimate aim is to make warp sync the primary sync mode for nodes, leaving normal sync to be activated only when a node is to be synced as an archive node.

Plan

To achieve these enhancements, we need to address several key issues and make some critical improvements:

  1. To enable syncing from non-genesis and to support warp syncing from a predefined state, we need to address the following issues:

  2. We need to investigate known issues such as:

  3. To improve the user experience, we should consider storing the state sync state as proposed in:

  4. It's critical that we extend our testing to ensure the robustness and reliability of the warp sync mode.

  5. Finally, to make warp sync the default sync mode, we need to address:

By focusing on these areas, we can significantly enhance our warp syncing support and user experience.

@bkchr bkchr added this to SDK Node and Networking Jun 3, 2023
@github-project-automation github-project-automation bot moved this to backlog in SDK Node Jun 3, 2023
@bkchr bkchr moved this from Draft to Open in Parity Roadmap Jun 3, 2023
@paritytech-gh-issue-sync paritytech-gh-issue-sync bot moved this from Open to Draft in Parity Roadmap Jun 3, 2023
@altonen altonen moved this to Backlog 🗒 in Networking Jun 5, 2023
@bkchr
Copy link
Member Author

bkchr commented Dec 18, 2023

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Backlog 🗒
Status: Draft
Status: backlog
Development

No branches or pull requests

1 participant