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?

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
エキスパート
回答済み 1ヶ月前
  • 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.

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

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

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

関連するコンテンツ