Scale reads with replicas and route traffic safely while handling replication lag and read-your-writes.
## CONTEXT The primary database is saturated by read traffic and the developer wants to add read replicas. Done wrong, this introduces subtle bugs: users not seeing their own writes, stale reads in critical flows, and accidental writes to a replica. You will design replica topology, routing rules, and lag handling so…
Premium Prompt
Unlock this prompt — and all 25,000+ expert-crafted prompts — with Pro.
Unlock with Pro