read replica
A copy of a database that follows the primary’s changes and can serve read traffic or be promoted to take over.
In more detail
Read replicas spread read load and can help recovery from some failures. They repeat the primary’s writes, including mistakes and corruption, so they are not a backup.
Related terms
- replication — Keeping copies of data in more than one place, updated automatically, so one failure does not lose or block it.
- failover — Switching work from a failed or unavailable system to a standby copy so the service keeps running.
- Amazon RDS — Amazon Relational Database Service, which runs relational database engines such as PostgreSQL and MySQL as a managed service.
- follower — A replica that copies a partition's records from its leader and can take over if the leader fails.
- replication lag — How far behind the leader a replica is, measured in time or in writes.
- read your writes — A guarantee that after you make a change, your own later reads will include it.
Taught in
- Technology Sprint: The Design Review — AWS Certified Cloud Practitioner (CLF-C02) Exam Prep
- High Availability Across Tiers: What Fails Over By Itself? — AWS Certified DevOps Engineer – Professional (DOP-C02) Exam Prep
- Long-Stem Clinic: When Two Answers Both Work — AWS Certified DevOps Engineer – Professional (DOP-C02) Exam Prep
- The Morning An Availability Zone Went Dark — AWS Certified Solutions Architect – Associate (SAA-C03) Exam Prep
- Load Balancers And Auto Scaling: Capacity That Arrives On Time — AWS Certified Solutions Architect – Associate (SAA-C03) Exam Prep
- Databases That Survive: Standbys, Replicas And Global Tables — AWS Certified Solutions Architect – Associate (SAA-C03) Exam Prep
- Disaster Recovery By The Numbers — AWS Certified Solutions Architect – Associate (SAA-C03) Exam Prep
- Compute Performance: Families, Placement And Lambda Memory — AWS Certified Solutions Architect – Associate (SAA-C03) Exam Prep
- Database Performance: Caches, Proxies And Capacity Units — AWS Certified Solutions Architect – Associate (SAA-C03) Exam Prep
- Long-Stem Clinic: The Phrase That Decides — AWS Certified Solutions Architect – Associate (SAA-C03) Exam Prep
- The Full Mock And Your Review Plan — AWS Certified Solutions Architect – Associate (SAA-C03) Exam Prep
- When to Pick Which Database — Cloud Infrastructure & Hyperscaler Architecture
- What A Design Is For, And How To Run A Design Discussion — Scalable System Design & Distributed Architecture
- Back Of The Envelope Estimation: Traffic And Throughput — Scalable System Design & Distributed Architecture
- Replication, Failover And Leader Election — Scalable System Design & Distributed Architecture
- Worked Design One: Ticket Booking, Correctness First — Scalable System Design & Distributed Architecture
- Worked Design One: Scaling The Ticket Booking System — Scalable System Design & Distributed Architecture
References
- Working with DB instance read replicas
- PostgreSQL documentation: High Availability, Load Balancing, and Replication
- MongoDB manual: Read preference