google app engine - Are single-entity datastore writes atomic? -


in appengine datastore, given entity a = mymodel(a=1, b=2), a.put() atomic? is, if run:

a.a=3 a.b=4 a.put() 

am guaranteed entity updated correctly properties, (assuming a.put() did not raise exception, is)?

dan sanderson's book says it is, couldn't find concrete documentation on subject elsewhere.

yes, single entity's update atomic.

as noted in article, given entity single protocol buffer in bigtable row. protocol buffers written atomically.


Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

java - Using an Integer ArrayList in Android -