-
Notifications
You must be signed in to change notification settings - Fork 51
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
idea: require backing module for content all the time #6630
Comments
Yeah, I think it suffices to say that we have options if we don't want to make content persistent, and also that it's not a situation that's come up IRL recently, so fine to nix it in the name of simplifying code. It looks like the backing modules all register the |
The performance issue I'm medium concerned with is we will generate unnecessary RPCs. i.e. the I'm trying to think if there's some "trick" we could do here, but a super clean one isn't coming to mind. One possibly not great idea is to just special case the word "none" as a backing. If "none" is the backing module, |
Performance benefits were not compelling as I recall. I'd say just eliminate that option and take the win. |
There is a lot of special case code for dealing with the "none" backing module (i.e. is a backing module loaded or not). It may make things simpler if we simply require a backing module all of the time.
Note that we still want to support "no real backing module" for performance (especially for sub-instances), so hypothetically there could be a special "memory only" backing module. or perhaps sqlite run in memory only mode. or dumbly just a backing module called "none" that does absolutely nothing.
The text was updated successfully, but these errors were encountered: