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

feat: support cache among blocks #2575

Open
wants to merge 5 commits into
base: develop
Choose a base branch
from

Conversation

flywukong
Copy link
Contributor

@flywukong flywukong commented Jul 12, 2024

Description

support a flatten cache which have the some cache function of difflayer. It stores the account and storage data with the newest version among blocks and help save the cache cost of difflayer. The new cache used fastcache and the hit rate of new cache is little better then difflayer , If new cache miss , the bloomfilter in the difflayer will stop iterative query and enters the layer3 cache directly in most cases.

Rationale

tell us why we need these changes...

Example

add an example CLI or API response...

Changes

Notable changes:

  • add each change in a bullet point here
  • ...

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