Availability & Replication

Read replica routing

90% of traffic is read-only product catalog queries; 10% is checkout writes. You add Postgres read replicas. How do you route reads and writes? When can a user see stale data, and what do you do for “read your own write” on the cart page?

Intermediate drill question.

Write it as you would say it in the interview: assumptions, the design, tradeoffs, and what you would do next. The draft saves in this browser.

Review the lesson