Skip to content

[Feature Request]: State trie caching #2455

@kamilsa

Description

@kamilsa

Component

Other

Feature Description

According to our benchmarks storage access operations consume up to 42% of total execution time of the block. Therefore, we may gain drastic improvement in speed if we boost read operations.
However, to perform write and proof operations on trie, we still need to read its nodes which have O(log(n)) complexity. We will address this issue by introducing KV cache with values from the most recent state of the trie

References and additional Information

No response

Metadata

Metadata

Assignees

Labels

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions