-
Notifications
You must be signed in to change notification settings - Fork 26
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
[RFC] Caching Layer #17
Comments
I see two options for this, which may or may not overlap. PlugsA plug-based solution where the plug is responsible for putting and deleting objects to a data store. It discovers updates to the store via an intermediate, private collection within I'm not too fond of requiring the data layer to reason about modifying connections. Seems unnecessarily cluttered. Separate Caching LayerA caching layer built upon a new process tree (to be supervised by the main application supervisor). The "master" pid/something would need to be tracked in order to access the rest of the (supposed) caching system. Cache interaction could occur anywhere that it is deemed necessary without intertwining separate layers of the application. As an example, the data layer would not need to know about connections with this, whether a controller action decides to interact with the cache or not. Keeping a separate process tree from the rest of Sugar may offer the cleanest API by trading off some complexity/architecture. |
The text was updated successfully, but these errors were encountered: