aaaristo / dyngodb

An experiment to get a MongoDB like interface in front of DynamoDB
Apache License 2.0
69 stars 5 forks source link

[question] how stable is transaction implementation? #19

Closed mvayngrib closed 7 years ago

mvayngrib commented 7 years ago

i realize this library isn't maintained anymore, but how stable/mature is the transaction support?

aaaristo commented 7 years ago

It is a way outdated. And it is an experiment. It never left alpha stage.

On Fri, 2 Jun 2017 at 15:25, Mark Vayngrib notifications@github.com wrote:

i realize this library isn't maintained anymore, but how stable/mature is the transaction support?

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/aaaristo/dyngodb/issues/19, or mute the thread https://github.com/notifications/unsubscribe-auth/AARPmI2Q-bUzOrLay8DxN_RZ9lE8lSo7ks5sAA1EgaJpZM4NuR3t .

mvayngrib commented 7 years ago

@aaaristo hey, thanks for getting back to me. Do you know of a more mature JS dynamodb transactions implementation?

aaaristo commented 7 years ago

Unfortunately not, but nowadays with babel and async/ await copying the java one should be a breeze.

On Fri, 2 Jun 2017 at 15:56, Mark Vayngrib notifications@github.com wrote:

@aaaristo https://github.com/aaaristo hey, thanks for getting back to me. Do you know of a more mature JS dynamodb transactions implementation?

— You are receiving this because you were mentioned.

Reply to this email directly, view it on GitHub https://github.com/aaaristo/dyngodb/issues/19#issuecomment-305795324, or mute the thread https://github.com/notifications/unsubscribe-auth/AARPmGuGmC_D7qonK92Vk236HEKfMYiWks5sABSOgaJpZM4NuR3t .

mvayngrib commented 7 years ago

@aaaristo i see, thanks. How significant was the performance drop? For example two puts in one transaction vs two puts in parallel?

aaaristo commented 7 years ago

As far as I recall, it was 7 writes more for each write. But it should be better described in the dynamo-transactions java project. Still each block of writes can happen in parallel.

Please refer to: https://github.com/awslabs/dynamodb-transactions/blob/master/DESIGN.md

On Fri, 2 Jun 2017 at 16:49, Mark Vayngrib notifications@github.com wrote:

@aaaristo https://github.com/aaaristo i see, thanks. How significant was the performance drop? For example two puts in one transaction vs two puts in parallel?

— You are receiving this because you were mentioned.

Reply to this email directly, view it on GitHub https://github.com/aaaristo/dyngodb/issues/19#issuecomment-305810202, or mute the thread https://github.com/notifications/unsubscribe-auth/AARPmLQqU3i-UK32LAINRIXEq_dAau7Cks5sACDygaJpZM4NuR3t .

mvayngrib commented 7 years ago

@aaaristo awesome, thanks for the help!