Appengine Python memcache capacity shrunk

可紊 提交于 2019-12-13 07:05:27

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!