Reputation: 124
I have an Active-Passive multi region architecture on AWS. We have cross-region replication for our RDS and DynamoDB; however, I'm not sure what to do with our messages in SQS when we failover. Based on the documentation there isn't a built-in feature for cross region replication.
Based on my research, the 2 solutions are;
The fan out pattern will not work for us because we need to come up with a way to determine if the message has already been processed by the primary region. We only have one active region at a time.
I was hoping for a more elegant solution than having the secondary region applications accessing the primary region messages. It's more expensive and introduce a little more complexity.
Is there a better way to accomplish having the secondary region continue to process messages where the primary region left off?
Upvotes: 2
Views: 2304