SpinTheMic
Pro

Interview practice question

Hot endpoint overloads the database

Backend Engineering · API Design · Experienced

One endpoint, "get account summary", accounts for 60 percent of database load. How would you reduce it?

What a strong answer covers

Your AI report card counts how many of these ideas you cover.

  • Analyse queries; add indexes.
  • Cache summaries with invalidation.
  • Precompute/denormalise summary table.
  • Read replicas.
  • Reduce client polling frequency.
Practise this topic

Start without signing up. Sign in free to get an AI report card on your answer.

See all topics