0
votes

We have a requirement of multi region active-active replication of our web-services. Primarily I am trying to replicate all the data required for billing (request, response) and analysis.

So far I have seen the following aws tools.

  1. Push all data to individual SQS in different regions, then to DynamoDBs. DynamoDB will sync data automatically, then consume from DynamoDB.

  2. Use separate SNS for each region, then push data to SQS ( SNS pushes data to SQS residing in different regions), and finally consume data from SQS

  3. Update SQS in different regions, read this data using lambda function. Lambda functions send data to SNS in different regions, get data from SNS

is there any other tools I can use to achieve active-active architecture? I had a look at kinesis, but not sure if its suitable for my requirement.

Anyone has any views on the proposed architectures?

1
There are several pieces of information that would be relevant for anyone trying to answer your question. What sort of queries do you need to perform? What is the lifecycle of your data? What sort of latency is acceptable when trying to retrieve your data?Matthew Pope

1 Answers

0
votes

You don't need to reinvent anything here - DynamoDB already supports cross-region replication with multi-master writes - it's called "Global Tables".