On Thu, Jul 23, 2009 at 9:44 PM, n8gray <n8g...@gmail.com> wrote:

>
> Hi Nick,
>
> Wow, that's impressive!  That's a very useful bit of information.  Are
> memcache writes guaranteed ordered wrt datastore writes as well, or is
> it possible for another part of the system to see them in different
> orders?


Memcache is also strongly consistent. Since both APIs are synchronous, by
the time your API call returns, the changes are visible everywhere - so a
datastore write followed by a memcache write will be seen in that order
everywhere. There's no guarantee of atomicity across the two, though, so you
need to assume that either or both operations could fail independently.

-Nick Johnson


>
>
> Cheers,
> -n8
>
> On Jul 22, 9:56 am, "Nick Johnson (Google)" <nick.john...@google.com>
> wrote:
> > Hi n8gray,
> >
> > The Datastore is strongly consistent. As such, all processes will see
> > changes happen in the same order, even across entity groups - and at
> > any one point in time, all processes will have a consistent view of
> > the datastore.
>
> >
>


-- 
Nick Johnson, App Engine Developer Programs Engineer
Google Ireland Ltd. :: Registered in Dublin, Ireland, Registration Number:
368047

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

Reply via email to