When I run my application on GAE, I retrieved the cache info.
{'hits': 672148648L, 'items': 2L, 'bytes': 18446744073709513520L, 'oldest_item_age': 0L, 'misses': 6716984L, 'byte_hits': 44238386603L}
I use my memcache extensively. Is it true that cache size allocat开发者_如何学Goed for my application is so large ? This is the code which i use to retrieve the stats
cache_stats = memcache.get_stats()
s = str(cache_stats)
self.response.out.write(s + "\n\n")
16 million terabytes seems outlandish.
Even for The Google.
Nick Johnson of Google said that "the [memcache] space available to a given app will vary based on a number of factors, including its traffic". The amount you're quoting doesn't sound right, but if it is - tell us your secrets...
精彩评论