开发者

Google App Engine Cache Size

开发者 https://www.devze.com 2023-02-16 23:10 出处:网络
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\': 442

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...

0

精彩评论

暂无评论...
验证码 换一张
取 消