Start with each read requirement
A fictional application confirms fund subscriptions and produces reports. Confirmation must observe the commit; reports accept up to 30 seconds of lag. These accesses should not automatically receive identical routing.
An asynchronous PostgreSQL read replica can scale reports, but an immediate read may still return the previous value. Define primary confirmation transaction semantics and a report policy when lag exceeds the limit. Replica availability does not establish sufficient freshness for every consumer.
Workshop with supplied observations: confirmation C must see just-committed operation op-42; report R allows thirty seconds. In capture S1, the replica lags by twelve seconds, but op-42 is not yet visible. In S2 it lags by forty-five seconds.
Decide C routing and R acceptance before the resolution. In S1, route C to the primary using a read whose snapshot can observe the commit; R can use the replica within the stated contract. In S2, suspend R or mark it unavailable under the agreed policy; do not present it as current.
Falling R back to the primary requires previously accepted capacity. Values are exercise inputs, not measurements from an AWS instance.
Identify the Multi-AZ topology
Multi-AZ does not describe a single topology. In an RDS Multi-AZ DB instance deployment with one standby, that standby does not serve application reads. A Multi-AZ DB cluster has two standbys that can serve reads.
Before recommending a reporting target, identify deployment type, engine, and regional availability. Adding a DNS alias does not change a standby’s role. During architecture review, draw which components accept writes, reads, and failover instead of using only a box labelled Multi-AZ.
Interpret the Aurora reader endpoint
The Aurora reader endpoint distributes connections, not each SELECT within a session. A client with one persistent connection can concentrate a thousand queries on one replica while another remains lightly used. Examine pooling and session duration before declaring a balancing failure.
Connection distribution also does not guarantee equal CPU because queries have different costs. Without Aurora Replicas, the reader endpoint connects to the primary and can allow writes; its name does not replace SQL permissions and access design.
Use RDS Proxy for the right problem
A burst of functions with short connections can benefit from connection reuse through RDS Proxy. This does not turn the proxy into a result cache or fix a query scanning millions of rows. With few connections and query-dominated CPU, examine the plan and indexes.
Session state can cause pinning and limit reuse; behavior depends on engine and operation. Measure connections, pinned sessions, latency, and database load before attributing extra capacity to the proxy.
Calculate an explicit concurrency bound
In a fictional model, the database allows 240 sessions, 40 are reserved, and each worker occupies two without multiplexing. The remaining 200 sessions allow at most 100 workers by this resource limit. This is not a throughput promise: CPU, locks, memory, and latency can impose a lower bound.
If session state prevents reuse, do not assume the proxy reduces the calculation. Record assumptions in the capacity plan and measure representative load before production approval.
Restore data and recover service
RDS point-in-time restore creates a new instance; it does not automatically rewrite the old instance or change application connections. After a deletion at 10:05, restoring to 10:04 may recover lost data but also excludes legitimate later operations.
Preserve evidence, constrain concurrent writes according to the plan, and reconcile those operations. Validate data, permissions, and functional outcomes before controlling connection cutover. Available status is a technical condition rather than complete evidence of business recovery.
Internal reconciliation exercise: balance at the 10:04 recovery point is 100. The separately retained audit record contains op-43 at 10:04:30, a valid credit of 20; bad-1 at 10:05, an incorrect update setting balance to zero; op-44 at 10:06, a valid credit of 5.
The record is complete in this model and no external effects exist. On the restored target, op-43 and op-44 have not been applied. Predict balance and plan before the resolution.
Accepted balance is 100+20+5=125; apply only legitimate operations, preserving IDs to prevent reapplication, and exclude bad-1. Validate counts and balance before switching connections. If whether an ID was applied is unproven, reconcile its state before repeating it.
Opening with balance 100 loses legitimate changes; replaying the whole history reintroduces corruption. This documentary exercise restores no database.
240 sessions minus a 40-session reserve, divided by two sessions per worker, gives 100 workers in the model.
Common pitfalls
Confusing standby with a read replica, connection balancing with query balancing, or a restored instance with a recovered application.
Related topics: Availability and recovery · Database performance
Choose each mechanism for the requirement it addresses and validate the application after change.
References
- RDS Multi-AZ deployment types · AWS documentation consulted 2026-10-02
- AWS SAA-C03 exam guide · SAA-C03
- Aurora reader endpoints · AWS documentation consulted 2026-10-02
- RDS DB instance read replicas · AWS documentation consulted 2026-10-02
- Amazon RDS Proxy · AWS documentation consulted 2026-10-02
- Avoiding pinning an RDS Proxy · AWS documentation consulted 2026-10-02
- Restore an RDS DB instance to a specified time · AWS documentation consulted 2026-10-02
- DynamoDB read and write operations · AWS documentation consulted 2026-10-02
- DynamoDB read consistency · AWS documentation consulted 2026-10-02
- Working with items and attributes · AWS documentation consulted 2026-10-02
- DynamoDB time to live · AWS documentation consulted 2026-10-02
- DAX consistency model · AWS documentation consulted 2026-10-02
- DynamoDB partition-key design · AWS documentation consulted 2026-10-02
- CloudFront cache policies · AWS documentation consulted 2026-10-02
- CloudFront origin request policies · AWS documentation consulted 2026-10-02
- Restrict access to an S3 origin · AWS documentation consulted 2026-10-02
- Private content with signed URLs and cookies · AWS documentation consulted 2026-10-02
- Invalidate files to remove content · AWS documentation consulted 2026-10-02
- Use signed URLs · SAA-C03 / primary documentation consulted 2026-10-12