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?

feita há um mês785 visualizações
1 Resposta
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
ESPECIALISTA
respondido há um mês
  • 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.

Você não está conectado. Fazer login para postar uma resposta.

Uma boa resposta responde claramente à pergunta, dá feedback construtivo e incentiva o crescimento profissional de quem perguntou.

Diretrizes para responder a perguntas