All Questions
Scaling Reads easy

You have 5 Read Replicas. How does the application know which one to ask for data?

  1. A A Load Balancer sits in front of the replicas and distributes the traffic (e.g., Round Robin).
  2. B The application randomly guesses IPs.
  3. C The Primary database routes the traffic.
  4. D The user manually selects a server.

One system design question a day, with spaced repetition so the ones you miss come back.

Get the app

Related questions