SpinTheMic
Pro

Interview practice question

Too much presence traffic

System Design · Design: Social and Messaging · Beginner

Your chat app sends every online/offline change to all of a user's contacts, and presence traffic is overwhelming the servers. How do you reduce it?

What a strong answer covers

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

  • Only send to contacts with active interest (open chat).
  • Lazy fetch status when needed.
  • Debounce flapping status.
  • Coarser granularity ("recently").
  • Batch updates.
Practise this topic

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

See all topics