If you have been running an application on GAE in production, and you
inspect your logs, you should have noticed spurious 'Datastore
Timeout' exceptions resulting in HTTP 500 errors / tickets.  These
Timeouts are inherent to distributed systems like BigTable and can
often be resolved by simply retrying the datastore operation.
Unfortunately, automatically retrying Timeouts and
TransactionFailedErrors was not an easy option until now.

I have written an App Engine recipe that auto-retries these exceptions
globally, and I highly recommend that this code be added to
gaehandler.py so web2py can benefit from automatic datastore retries
too.

The code is here: http://ru.ly/s6

Robin


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to