I should have also mentioned that the combined cache hit of all tiers of our
system is 93%. 

50% Edgecache

12% Local Instance Memory

8% MemCache

23% DataStore

 

With edge Cache off

The numbers look pretty close to the same

14% Local Instance Memory

10% MemCache

69% DataStore

 

Turning off Local instance memory has a NEGATIVE effect on Memcache because
of data turn over being high because of the limited size of the Memcache.

 

 

 

From: [email protected]
[mailto:[email protected]] On Behalf Of Brandon Wirtz
Sent: Sunday, November 27, 2011 12:19 AM
To: [email protected]
Subject: [google-appengine] MemCache Vs. EdgeCache

 

While I'm not saying you should ditch memcache for speeding up your output.
If you are looking at the effort to implement Memcache through out your
code, or getting your headers right to enable edgecache, consider this.

 

In all 3 of the following apps EdgeCache "Hits" were at 40-65%

 

MemCache:

'hits': 2,425, (4%)

'misses': 55,618, 

'items': 2,696, 

'bytes': 34,992,253, 

 

'hits': 44,668, (27%)
'misses': 163,823, 
'items': 1,170, 
'bytes': 1,515,333,
 
JeffProbst.com (High Volume, only like 25 pages of content, I think Edge
misses are due to geographic diversity)
'hits': 50,943, (74%)
'misses': 68,942, 
'items': 100, 
'bytes': 618,267, 
 

 

The larger your data set the lower your memcache success will be.  From what
I can tell Memcache never goes over 3000 items or 35 Megs  I haven't been
Logging it constantly, so I'm not sure if it is an item or a Meg limit.

 

If you are writing a VERY small app. Using only 1 always on instance writing
for Instance memory ensures a much larger cache hit ratio because you get
more space and unless your instance resets the data seems to persist.

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

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

Reply via email to