2 Antworten
- Neueste
- Die meisten Stimmen
- Die meisten Kommentare
1
You need to specifically target the reader instance with your application. Any query routing would need to happen in the app as well.
Check out this doc page for more details: Replication with Amazon Aurora
beantwortet vor einem Jahr
1
Take a look at Amazon Aurora connection management.
You control where SELECTS are sent by connecting to an endpoint, Cluster, Reader, Instance, or Custom.
Relevanter Inhalt
- AWS OFFICIALAktualisiert vor 3 Jahren
- AWS OFFICIALAktualisiert vor 2 Jahren
- AWS OFFICIALAktualisiert vor 2 Jahren
Got it.but thinking about a scenario where my cluster only has one Reader. In case this Reader overloads with queries, is the load balanced with the Writer?
You need to create a Custom (ANY) endpoint for that scenario.
Also, take a look auto scaling your read replicas: https://docs.aws.amazon.com/AmazonRDS/latest/AuroraUserGuide/Aurora.Integrating.AutoScaling.html