-
Notifications
You must be signed in to change notification settings - Fork 183
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
Implement cache #4427
Comments
@jvillafanez started this already in #4337 |
This ticket concerns Reva. #4337 is about oCIS |
What if the datagateway sends a notification to the gateway so it's the gateway the one invalidating the cache? This way, the gateway keeps the ownership of the cache and no other services need to access nor modify that cache. The alternative could be to implement a The first approach seems to be better. Even if the gateway uses an isolated in-memory cache the cache would still work because it will be the gateway the one invalidating the cache |
Currently Reva has no event bus. only ocis has. Which is why I went with the StatCache (and other) shared implementations: cs3org/reva#3250 |
#4627 got merged |
We need a cache that replaces our current in-memory approach that is causing issues (see: #4251) and has been disabled for now (see: cs3org/reva#3167).
We should introduce a go-micro store interface to be able to swap out the cache implementation as necessary (e.g. nats, go-micro...)
The text was updated successfully, but these errors were encountered: