Is this with Shared Memcache, or you using Dedicated Memcache? https://cloud.google.com/appengine/docs/python/memcache/#Python_Configuring_memcache
Remember if using Shared, you are at the 'mercy' of what the neighbouring applications are doing. If other apps are using memcache heavily, your keys may be evicted sooner. You perhaps lucky in the US datacenter, but have a 'noisy' neighbour on the EU system. On 8 April 2016 at 19:03, Hooman Korasani <[email protected]> wrote: > As strange as this may sound, I have the exact same code published on a > US-EAST server and on a EU server. > Both server have billing enabled. > > Th expiration is set to 7200 seconds. > > memcache.set(memcache_key, result_dic, 7200) > > > And I have cron jobs enabled to rerun the line of code above to refresh > the cache for the unique key. > > - description: Cache 0:20 hour > url : /worker/topnews-cache-update > schedule: every day 0:20 > > - description: Cache 2:20 hour > url : /worker/topnews-cache-update > schedule: every day 2:20 > > > This works perfectly fine for the US-EAST server. > Memcache dashboard shows 2,064 items in cache. > > Memcache dashboard on the EU server however looses the objects very fast. > In a short amount of time the objects disappear back to zero, despite the > fact that the cron jobs keep running successfully. > > It is the same code deployed on the two servers, why is memcache acting > like this? > > Thanks, > Houman > > -- > You received this message because you are subscribed to the Google Groups > "Google App Engine" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > To post to this group, send email to [email protected]. > Visit this group at https://groups.google.com/group/google-appengine. > To view this discussion on the web visit > https://groups.google.com/d/msgid/google-appengine/61f22415-2594-4594-bb71-70e692624223%40googlegroups.com > <https://groups.google.com/d/msgid/google-appengine/61f22415-2594-4594-bb71-70e692624223%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Google App Engine" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/google-appengine. To view this discussion on the web visit https://groups.google.com/d/msgid/google-appengine/CAJCAUu%2B7-Ffd6%3D%2Bbc%3DR%3DxSbnk-2UVKv_yTdBCFq7bAGgKZfpZQ%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
