Skip to content

Conversation

@flywukong
Copy link
Contributor

@flywukong flywukong commented Jul 12, 2024

Description

support a flatten cache which have the some cache function of difflayer and it is maintained among blocks. 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

execution performance raise 4% without shared pool, but its optimization effect has some overlap with the storage pool
image
yellow one is the performace with cache among blocks,

Example

add an example CLI or API response...

Changes

Notable changes:

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

@flywukong flywukong force-pushed the support-cache_among_blocks branch from 1b7bb5d to 711f207 Compare June 26, 2025 07:49
@flywukong flywukong marked this pull request as draft June 26, 2025 07:55
@flywukong flywukong force-pushed the support-cache_among_blocks branch from 711f207 to 9475cfb Compare June 26, 2025 08:14
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