> Are there any articles or sample code, showing how to robustly handle
> datastore exceptions, for production standard code?

David,

I recently modified my memcached, sharded counter system to handle
various datastore exceptions:
http://billkatz.com/2008/10/Fault-tolerant-counters-for-App-Engine
You can look at or copy the open source code referenced in that
article.

It also depends on your app requirements.  The above counter shouldn't
be used for banking, for example, because if there are simultaneous
memcache and datastore errors, you lose pending increments.  But if
you want something that minimizes the impact of exceptions for things
like votes, it's a reasonable approach.

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