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?

질문됨 한 달 전785회 조회
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
전문가
답변함 한 달 전
  • 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.

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

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

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