Skip to content

Conversation

@asdacap
Copy link
Contributor

@asdacap asdacap commented Dec 1, 2025

  • Not actually simple.
  • Based on Perf/flat cache #9402 , brings compacted statediff, except the diff also include trie now.
  • Works by having separate columns for flat and trie along with a trie node cache.
  • Persistence is abstracted via IPersistence for very different db scheme.
  • Slow trie commit time is mitigated via a complicated trie warmer.
  • Maybe slower, maybe faster, hard to tell, take up more CPU, io and memory.
  • No snap sync. Import only via "--FlatDb.ImportFromPruningTrieState true"

Changes

  • List the changes

Types of changes

What types of changes does your code introduce?

  • Bugfix (a non-breaking change that fixes an issue)
  • New feature (a non-breaking change that adds functionality)
  • Breaking change (a change that causes existing functionality not to work as expected)
  • Optimization
  • Refactoring
  • Documentation update
  • Build-related changes
  • Other: Description

Testing

Requires testing

  • Yes
  • No

If yes, did you write tests?

  • Yes
  • No

Notes on testing

Optional. Remove if not applicable.

Documentation

Requires documentation update

  • Yes
  • No

If yes, link the PR to the docs update or the issue with the details labeled docs. Remove if not applicable.

Requires explanation in Release Notes

  • Yes
  • No

If yes, fill in the details here. Remove if not applicable.

Remarks

Optional. Remove if not applicable.

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.

2 participants