Interview practice question
Fighting spam in a messaging app
System Design · Design: Social and Messaging · Experienced
Spammers are mass-messaging users on your chat platform. How would you design anti-spam measures?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Rate limits on new conversations.
- Reputation scores for accounts/phone numbers.
- Behaviour signals: many unknown recipients.
- Report/block feedback loop.
- Restrict new accounts.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.