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年前

ログインしていません。 ログイン 回答を投稿する。

優れた回答とは、質問に明確に答え、建設的なフィードバックを提供し、質問者の専門分野におけるスキルの向上を促すものです。

質問に答えるためのガイドライン

関連するコンテンツ