You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Experiencing problems? Have you tried our Stack Exchange first?
This is not a support question.
Motivation
Reading through source code now that we started (ab)using StateStrategy for our sync implementation I noticed that it has an implicit assumption that the whole state as of any particular block can be assembled in RAM (not even accounting for other things that might be in RAM at the same time), which is naive and potentially problematic once state grows beyond size that fits in RAM.
Request
I think there should be some kind of fallback that stores downloaded state in auxiliary store on disk or similar instead of RAM. Maybe it should even be the default way to store state so two options don't need to be supported. This will have an impact on block import/application enums/APIs as well.
Solution
No response
Are you willing to help with this request?
Maybe (please elaborate above)
The text was updated successfully, but these errors were encountered:
Is there an existing issue?
Experiencing problems? Have you tried our Stack Exchange first?
Motivation
Reading through source code now that we started (ab)using
StateStrategy
for our sync implementation I noticed that it has an implicit assumption that the whole state as of any particular block can be assembled in RAM (not even accounting for other things that might be in RAM at the same time), which is naive and potentially problematic once state grows beyond size that fits in RAM.Request
I think there should be some kind of fallback that stores downloaded state in auxiliary store on disk or similar instead of RAM. Maybe it should even be the default way to store state so two options don't need to be supported. This will have an impact on block import/application enums/APIs as well.
Solution
No response
Are you willing to help with this request?
Maybe (please elaborate above)
The text was updated successfully, but these errors were encountered: