Global tables, replication and streams, oh my!

0

We are planning to use DynamoDB global tables to enable automatic replication to our failover region. Our primary region is us-east-1 where several of our processes need to run because that is the only instance of the CloudFront control plane. In the event of a us-east-1 outage, we will redirect to our failover region, which will be making changes to the DynamoDB instance there. When us-east-1 comes back online, I'm expecting replication to kick in and make the necessary changes there, right?

Now here's the tricky part. We initiate background tasks (which must run in us-east-1, or at least when us-east-1 is alive) based on changes to the data via DynamoDB streams. When replication happens in us-east-1, will those streams be triggered just as if a service had updated the database?

GoTodd
질문됨 2년 전273회 조회
1개 답변
1

If there was issue in us-east-1 and replication was paused, when the region comes back online, DynamoDB will replicate what every changes happened in your secondary region to us-east-1 table and it will trigger the streams just as if you wrote to that region at the point of replication.

profile pictureAWS
전문가
답변함 2년 전

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

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

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