erigontech / erigontech/erigon
Add State Read Ahead Stage
- Dominant language
- Go
- Stars
- 3.6k
- Forks
- 1.5k
- Avg merge
- 1d 16h
- Merged PRs (30d)
- 455
Description
The BAL contains the hash keays read for the block this cah be read ahead of execution to warm the state cache.
It likely has the following requirements:
1. It should use the same shared domain as execution so the reads are locally cached (This assumes that the shared domain object has been upgraded to hold a get cache as well as a put cache).
2. It can run in parallel - i.e. the stage can complete once it has started reading so updates are paralelized
3. It should stop execiting if its not compete once execution has completed - we need to check behaviour there in practice.
We also need to test that this read ahead makes a difference to throughput otherwise it may not be worth running
Contributor guide
Assessment
This issue has not been assessed yet.