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
Hey, so, I run a flask app on App Engine and my database has been growing. I try to cache my database results, and I've been using simplecache forever because I can't seem to get flask caching and App Engine's memcache at all. I can see from the changelogs that it is supported, but I'm not sure in how. I think the size of my simplecache may be becoming an issue for my instance as has been having some memory overflows lately.
Anyway, can I use flask caching with the builtin memcache offered via
from google.appengine.api import memcache
I can see from the docs that MemcachedCache has an option for CACHE_MEMCACHED_SERVERS, but I'm guessing that would only be applicable to memcache on Cloud Memorystore. Is it possible to use the built in memcache? Is that even significantly different from simplecache?
Anyway, I've been very confused about this for some time now, and I thought I would reach out.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
Hey, so, I run a flask app on App Engine and my database has been growing. I try to cache my database results, and I've been using simplecache forever because I can't seem to get flask caching and App Engine's memcache at all. I can see from the changelogs that it is supported, but I'm not sure in how. I think the size of my simplecache may be becoming an issue for my instance as has been having some memory overflows lately.
Anyway, can I use flask caching with the builtin memcache offered via
I can see from the docs that MemcachedCache has an option for CACHE_MEMCACHED_SERVERS, but I'm guessing that would only be applicable to memcache on Cloud Memorystore. Is it possible to use the built in memcache? Is that even significantly different from simplecache?
Anyway, I've been very confused about this for some time now, and I thought I would reach out.
Thanks,
Matt
Beta Was this translation helpful? Give feedback.
All reactions