-
Notifications
You must be signed in to change notification settings - Fork 277
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
Kura cache #4954
Comments
@mversic why do we need a cache? Can't we always keep the latest N blocks in memory and any older block always load from the disk when needed? |
that's a cache with the policy to keep N latest |
4 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Do we need an implementation of cache in
Kura
? Can unboundedblock_data
cause anOOM
? This can happen as the network grows, but also when restarting a peer when there was no snapshotIf we do make a block cache we should make sure that it's not susceptible to probing attacks from
block_sync
or simpleFindBlocks
query executionThe text was updated successfully, but these errors were encountered: