Hi everybody,
I'm building a new app and have been working hard to make most of the
requests use cache only - using both HTML cache and Model cache.
All my objects are cached for the max period - 1 month (2591999
seconds - just in case)
However I've noticed that my caches are constantly evicted (this has
been the behavior for ~2months now)
I have tried remote shelling and using memcache.get_stats() to log the
events in 1 minute intervals, and I noticed exactly how almost every
few minutes, a cache object is evicted. For example (once again - each
line represent a 1 minute interval):
{'hits': 166680L, 'items': 130L, 'bytes': 2574429L, 'oldest_item_age':
5020L, 'misses': 40898L, 'byte_hits': 4181093687L}
{'hits': 166680L, 'items': 130L, 'bytes': 2574429L, 'oldest_item_age':
5081L, 'misses': 40898L, 'byte_hits': 4181093687L}
{'hits': 166685L, 'items': 129L, 'bytes': 2560942L, 'oldest_item_age':
5142L, 'misses': 40899L, 'byte_hits': 4181177009L}
{'hits': 166685L, 'items': 128L, 'bytes': 2550852L, 'oldest_item_age':
5204L, 'misses': 40899L, 'byte_hits': 4181177009L}
{'hits': 166688L, 'items': 127L, 'bytes': 2550037L, 'oldest_item_age':
5265L, 'misses': 40900L, 'byte_hits': 4181222514L}
{'hits': 166688L, 'items': 127L, 'bytes': 2550037L, 'oldest_item_age':
5327L, 'misses': 40900L, 'byte_hits': 4181222514L}
{'hits': 166691L, 'items': 127L, 'bytes': 2550043L, 'oldest_item_age':
5388L, 'misses': 40901L, 'byte_hits': 4181268013L}
{'hits': 166691L, 'items': 127L, 'bytes': 2550043L, 'oldest_item_age':
5450L, 'misses': 40901L, 'byte_hits': 4181268013L}
{'hits': 166694L, 'items': 125L, 'bytes': 2502372L, 'oldest_item_age':
5511L, 'misses': 40902L, 'byte_hits': 4181313518L}
{'hits': 166694L, 'items': 125L, 'bytes': 2502372L, 'oldest_item_age':
5573L, 'misses': 40902L, 'byte_hits': 4181313518L}
Throughout few days I've noticed that 'oldest_item_age' would never
pass 3 hours threshold (10K seconds)
Could anybody help here please?
--
You received this message because you are subscribed to the Google Groups
"Google App Engine" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to
[email protected].
For more options, visit this group at
http://groups.google.com/group/google-appengine?hl=en.