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

Further optimize the write costs #7539

Open
alexggh opened this issue Feb 11, 2025 · 0 comments
Open

Further optimize the write costs #7539

alexggh opened this issue Feb 11, 2025 · 0 comments

Comments

@alexggh
Copy link
Contributor

alexggh commented Feb 11, 2025

Even with the entire state fitting into the TrieCache writes will still have a cost of about ~10us per write, so we need to look into further optimizing this costs.

Some ideas of optimizations are:

  • Run with a profiler and try to improve the trie calc algorithm.
  • Disable writes to DB every block see Basti's suggestion here.
  • Optimize writes to the DB by fine-tunne rocksdb.
  • Use paritydb if that's better and ready for production.
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

No branches or pull requests

1 participant