dynalite icon indicating copy to clipboard operation
dynalite copied to clipboard

Support DynamoDb transactions

Open andrewkrug opened this issue 6 years ago • 9 comments

Amazon has just announced this major feature: https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/transactions.html

It would be great to ensure that transactions and ACID compliance is supported in Dynalite.

andrewkrug avatar Dec 12 '18 13:12 andrewkrug

Any traction / support for this?

andrewkrug avatar Feb 25 '19 17:02 andrewkrug

as of 2019-02-04 dynamodb local supports transactions: https://aws.amazon.com/about-aws/whats-new/2019/02/amazon-dynamodb-local-adds-support-for-transactional-apis-on-demand-capacity-mode-and-20-gsis/

bwitt avatar May 07 '19 15:05 bwitt

Could we possibly build this as a wrapper on batchGetItems and batchWriteItems? For dev I feel that we don't really need super robust Transactions; mainly we'd just want the method implemented and returning some expected Transactions error messages.

emise avatar Jul 18 '19 03:07 emise

Hi, great project! Any news on this at all... just like @emise says, we don't need anything super robust, but enough to test against. Thanks for the great work!

timneedham avatar Oct 10 '19 20:10 timneedham

Came here and was happy to see this was an issue. Any word on if this might occur? Would love to use Dynalite over localstack.

clayhan avatar Feb 03 '20 18:02 clayhan

Has anyone found a workaround for this?

Xiphe avatar Aug 28 '23 15:08 Xiphe

Ended up running https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/DynamoDBLocal.DownloadingAndRunning.html locally on port 5555 and start arc with ARC_DB_EXTERNAL=true.

Xiphe avatar Aug 29 '23 12:08 Xiphe

@Xiphe If you want that as an npm dependency with a JS wrapper to start & stop, I can recommend https://github.com/chrisguttandin/dynamo-db-local.

mantoni avatar Aug 29 '23 12:08 mantoni

@mantoni Cool! I saw that one and was confused by the relatively low npm downloads of that package. Will give it a try 👍

Xiphe avatar Aug 29 '23 12:08 Xiphe