bsc icon indicating copy to clipboard operation
bsc copied to clipboard

feat: support cache among blocks

Open flywukong opened this issue 1 year ago • 0 comments

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 avatar Jul 12 '24 06:07 flywukong