-
Notifications
You must be signed in to change notification settings - Fork 651
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
SQL cache is unusably slow #5834
Comments
Hi! Thanks for reporting. Can you tell us a bit more about the response manipulation you're doing, and how it is done? Are you using Also in general if you could share your (or part of your) schema, query and json payload, that would help a lot to have a look and try to understand what is happening (share privately to [email protected] if that's preferable). |
|
Thanks a lot for having shared all the details. I could reproduce writing to the cache taking an unusually long time, due to a transaction per insert being used, instead of just one transaction for all of them, when the memory cache is used with chaining. This is fixed here and will be in the next v4 release (planned in the next few days). |
Released in 3.8.4 |
Do you have any feedback for the maintainers? Please tell us by taking a one-minute survey. Your responses will help us understand Apollo Kotlin usage and allow us to serve you better. |
Version
4.0.0-beta.4
Summary
CacheOnly
policy andwatch
NetworkOnly
and then manually manipulating the response before writing it to the cachewatch
to fire. If I remove theSqlNormalizedCacheFactory
that drops down to 3 seconds.Steps to reproduce the behavior
Logs
No response
The text was updated successfully, but these errors were encountered: