使用 AWS re:Post 即表示您同意 AWS re:Post 使用條款

Improve Aurora Postgresql Serverless v2 cross-regional AuroraReplicaLag

0

I have a writer instance of a global Aurora Cluster in us-east-1 (N. Virginia) and want to replicate it to a read replica in eu-west-2 (London).

When I measure AuroraReplicaLag, it is in the range of up to 3 seconds:

Enter image description here

This is very problematic for our web app users in Europe. If they change something it happens in us-east-1 and if they do a refresh (with GET request from eu-west-2) they do not get the recent updates.

Hence, how do we get down the AuroraReplicaLag consistently to around 100 ms or how could we make the user experience without any lag-based issue?

已提問 7 個月前檢視次數 917 次
1 個回答
0

Hello.

First of all, I think you need to check the contents of "How can I improve replication performance?" written in the following document.
https://repost.aws/knowledge-center/aurora-mysql-read-replicas

By the way, are you using Aurora Global Database for replication?
I think you can set up Aurora Global Database with Aurora Serverless v2, so I think it's worth trying.
https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/aurora-serverless-v2.how-it-works.html#aurora-serverless.ha

profile picture
專家
已回答 7 個月前
  • I already came across the first article and it says "Cross-Region replicas using Aurora databases have a typical lag of under a second.", which is too much for us. We already use ann Aurora Global Database.

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南