architect / dynalite

An implementation of Amazon's DynamoDB built on LevelDB
Apache License 2.0
1.04k stars 107 forks source link

Support DynamoDb transactions #98

Open andrewkrug opened 5 years ago

andrewkrug commented 5 years ago

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 commented 5 years ago

Any traction / support for this?

bwitt commented 5 years ago

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/

emise commented 5 years ago

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.

timneedham commented 5 years ago

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!

clayhan commented 4 years ago

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.

Xiphe commented 1 year ago

Has anyone found a workaround for this?

Xiphe commented 1 year ago

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.

mantoni commented 1 year ago

@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.

Xiphe commented 1 year ago

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

PPan1215 commented 1 week ago

Any updates on this? Seeing a couple of ongoing PRs, being blocked, conflicted etc..

We have been using this lib for our projects and loving, great work Team!!!

We dont need a very robust version, as long as it supports generic / non-edge cases would be a good start!

Thanks