Hey Herman,
You're hitting the timeout on the get from memcache? One suggestion
would be to figure out what the typical response time is then set a
lower deadline, such as 5 seconds. That will let you catch the
deadline error on the cache request sooner and get the value from the
datastore. I've successfully used this method in high-qps situations
several times.
Also, the user-request deadline is now 60 seconds.
http://code.google.com/appengine/docs/python/runtime.html#Quotas_and_Limits
Congrats on getting into these types of issues. ;)
Robert
On Mon, Feb 20, 2012 at 10:25, Hernan Liendo <[email protected]> wrote:
> Hi there!,
>
> six month ago we've decided to use AppEngine to host our games. After
> a successful launch we are starting to worry about its limits.
> We have a growing game with approximately 30.000 daily unique users
> and this is just the beginning.
>
> We are serving more than 40 instances with a 300ms latency and 1.800
> QPS. The problem is that we're having 3 to 4 timeout errors per minute
> in our log. Most of them are related to the cache get method.
> Our cache statistics are 548.459.776 cache hit, 1.810.909 cache missed
> having 5.305 objects living in it.
>
> If we fail to get the object from the cache, we're still trying to get
> it from the DataStore. However we always reach the 30secs timeout.
>
> Do you guys have any suggestions? Are we missing anything? How can we
> deal with this?
>
> Thanks in advanced,
> Hernan
>
> --
> 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.