dyngodb icon indicating copy to clipboard operation
dyngodb copied to clipboard

make use of updateItem in updates instead of put

Open aaaristo opened this issue 11 years ago • 3 comments

We should use deepdiff to identify differences between object and _old and then create updateItem (http://docs.aws.amazon.com/amazondynamodb/latest/APIReference/API_UpdateItem.html) calls, to improve update throughput.

aaaristo avatar Oct 15 '13 13:10 aaaristo

this implies making dyn.updateItem transaction-aware... so that $inc operator can be used correctly in a transaction (actually ignores the transaction).

aaaristo avatar Aug 18 '14 10:08 aaaristo

fixed $inc: now is transactional

aaaristo avatar Aug 19 '14 10:08 aaaristo

https://github.com/aaaristo/dyngodb/blob/master/experiments/index.updateItem.js

aaaristo avatar Aug 19 '14 12:08 aaaristo