awslabs / dynamodb-cross-region-library

A library to facilitate cross-region replication with Amazon DynamoDB Streams.
Apache License 2.0
275 stars 98 forks source link

Sample for multi master model #38

Open akshetty9 opened 7 years ago

akshetty9 commented 7 years ago

This video shows examples of multi master model very quickly and does not give much details. I am also not able to find much details anywhere. 1.Where can i find the test application that was shown in the video?

  1. How to get access to dynamo db tool box console? This library does not have code for the UI.

Please help.

miclefebvre commented 7 years ago

I'm looking for the same thing. This seems to be the old solution. Now there's a new library, but I can't find where I can add code for conflicts resolution. Is there a way to do it ?

akshetty9 commented 7 years ago

did u manage to get the multimaster mode working with default conflict resolution?

miclefebvre commented 7 years ago

I don't think it's an option of this library if I look at the code. I think the video present an older project no longer maintained.

I'm not sure this one is either.

amcp commented 7 years ago

Here is a high level description of a multi-master implementation that uses the concept of region-to-key mastership to decide which stream update to propagate to other regions. A code sample is a good idea and is probably something that could be added as part of an integration test

jedi4ever commented 7 years ago

This site seems to describe where to download the UI - https://dynamodb-cross-region.s3-external-1.amazonaws.com/DynamoDBReplicationCoordinatorApplicationBundle.zip

jedi4ever commented 7 years ago

fwiw - AWS re:Invent 2016: Cross-Region Replication with Amazon DynamoDB Streams (DAT201) has some info on how aws lambda was used with cross-region replication of dynamodb tables - (with some adaptations of the tables)

abadyan-vonage commented 7 years ago

+1

akshetty9 commented 7 years ago

After our discussion with support team it was told to us that the UI shown in the video is not supported anymore. We have to use the cross region replication library only.

anirban-roy commented 6 years ago

@amcp , @akshetty9 , @miclefebvre, @jedi4ever , @abadyan-vonage You might want to take a look at my PR which does master-master replication. It keeps two tables receiving writes in sync. Feature Issue Pull request