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

Optimize snapsync implementation #5535

Open
matkt opened this issue Jun 5, 2023 · 0 comments
Open

Optimize snapsync implementation #5535

matkt opened this issue Jun 5, 2023 · 0 comments

Comments

@matkt
Copy link
Contributor

matkt commented Jun 5, 2023

Description

There are different ways to optimize the snapysnc worldstate part through different configurations. When we will have optimize the blockchain part it would be interesting to check the worldstate part

For the worldstate part we can play with:

  • the size of stacktries for storage and accounts,
  • increase the number of accounts and slots retrieved by requests
  • increase the number of threads that the pipeline can manage.
  • parallelize persist state if IO is not a problem
  • optimizations at the code level (do not generate the tree fragment several times to validate the proof and persist)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants