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?

asked 15 days ago148 views
1 Answer
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
EXPERT
answered 14 days ago
  • 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.

You are not logged in. Log in to post an answer.

A good answer clearly answers the question and provides constructive feedback and encourages professional growth in the question asker.

Guidelines for Answering Questions