How to asynchronously scale aurora serverless v2 replicas

0

I have an aurora postgresql serverless v2 cluster with 2 instances, one writer and another reader and would like them to scale independently. According to documentation, if the reader instance is in a Failover priority other than 0 or 1. They SHOULD scale independently but still no matter what I do, they always scale synchronously. I have a workload that runs twice a day and demands the higher acu count but the reader instance has very low usage, so I would like them to scale independently to save on costs. In my use case it is not a problem if there is a longer downtime for the reader instance to scale and take over in case of failure.

Thanks

질문됨 일 년 전297회 조회
2개 답변
0

The documentation says "When they are idle, they can scale down to the minimum" - have you confirmed in CloudWatch that they really are idle? Handling replication from a busy writer will put some load on a reader but you would hope not too much. Still it's worth looking how busy it is.

전문가
답변함 일 년 전
0

I checked and they are not busy as the writer on the heavy workloads. as an experiment I created a provisioned aurora server (with more resources than the serverless ones had), failed over to it and removed one of the serverless instances. and now the serverless instance hasn't gone past 8 acu a single time. if I get the metrics of serverless capacity of the past 24 hours we can clearly see the difference on acu allocation after the changes. And about replication, I might be wrong but my understanding is that with aurora, replication is done at the storage layer and wouldn't put any pressure on reader instances.

답변함 일 년 전

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

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

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