Recommended way to failover with DynamoDB Global tables?

0

We are using Global tables in multiple regions with a single region for write operations. For automatic failover to a different region, can we use something on the application layer to change the writer region? Something like DNS to pick a healhy region, can result in writes to multiple regions while DNS propagates which is not safe as we use Transactions (not supported across multiple regions).

2개 답변
0

When using Global Tables, DynamoDB is expected to handle this for you. The documentation does indicate that when you're using "strongly consistent reads" you may get stale data until the degradation is resolved.

However... whether a region is degraded or not, "Transactions are not supported across regions in global tables. Changes will eventually be replicated to other regions once they have been committed in the source region." See Using transactional APIs with global tables.

profile picture
답변함 2년 전
  • My Question is more around how to fix a particular region as primary. I can still do transactions when I fix one region and use other regions as passive backups. The question is what's the safest and quickest way to switch to another region for writing when the primary region is down.

0

Please refer to the following Stack Overflow as it may be helpful. [1]

[1] amazon web services - DynamoDB Global Table - Stack Overflow
https://stackoverflow.com/questions/59211708/dynamodb-global-table

profile picture
mn87
답변함 2년 전

로그인하지 않았습니다. 로그인해야 답변을 게시할 수 있습니다.

좋은 답변은 질문에 명확하게 답하고 건설적인 피드백을 제공하며 질문자의 전문적인 성장을 장려합니다.

질문 답변하기에 대한 가이드라인

관련 콘텐츠