If you are referring to 
http://appengine-cookbook.appspot.com/recipe/autoretry-datastore-timeouts/,
yes it really works. A second try at reading from the datastore *is*
nearly always successful. (I think once it took a 3rd try.) I would
recommend this code for almost any app.



On Jan 23, 6:25 am, Danny Tuppeny <[email protected]> wrote:
> Hi all,
>
> I've got a query that fetches an entity by key_name, and now and then
> (maybe once or twice a day) it times out. Reading the docs, it seems
> like this is fairly common.
>
> Most of times I see it it's from a search bot or something, so I
> haven't really bothered doing anything, but since it is affecting
> visitors to, I wonder if I should.
>
> I saw some code that retries failed data access, but I don't know how
> long whatever causes these timeouts takes. Is it likely to just time
> out again if it's re-issued immediately? Should I just let the 500 be
> served, and hope the user/bot retries, or is it recommended to wait a
> few seconds and try again?
>
> I'd be interesting in hearing peoples experiences with retrying. Do
> retries just fail too, or does it generally clear up the problem?

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