问题
After uploading a app new version appengine, memcache reduced in size. When I log the memcache statistics(memcache.get_stats())`, I see that the oldest_item_age is less the a minute old and the cache size is not more then 3 meg. In the older version of the app, the oldest_item 3600 second old and the cache size was ~30 meg.
I work with backends and when I stop them the problem disappear.
also I use django-nonrel
Thanks
Uri
回答1:
I don't know if the backends actually affect memcache capacity, but I do know that it's variable and changes over time. It might also be a shared pool of some sort, and might also vary depending on which of your instances the request happens to hit. It could have also been because you'd just pushed a new version.
I usually don't worry about check the capacity. To reduce server load, it's in the GAE team's own best interests to apply the best optimization, allocation and eviction policies to your memcache.
来源:https://stackoverflow.com/questions/8633792/appengine-python-memcache-capacity-shrunk