amazon web services - Implementation of Atomic Transactions in dynamodb -


i have table in dynamodb, need update multiple related items @ once(i can't put data in 1 item because of 400kb size limit). how can make sure either multiple rows updated or none.

end goal read consistent data after update.

you can use api 1 java, http://aws.amazon.com/blogs/aws/dynamodb-transaction-library/. transaction library api manage atomic transactions.

if you're using node.js, there other solutions using atomic counter or conditional writes. see answer here, how support transactions in dynamodb javascript aws-sdk?.