SpinTheMic
Pro

Interview practice question

Slow profile page with many joins

System Design · Scalability · Intermediate

A profile page joins six tables and takes 800 ms. It is viewed 100 times more often than profiles are edited. How do you speed it up?

What a strong answer covers

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

  • Read-heavy: optimise for reads.
  • Build a denormalised profile view.
  • Update it on writes or via events.
  • Cache the result.
  • Keep source tables normalised.
Practise this topic

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

See all topics