Interview practice question
Adding emoji reactions to messages
System Design · Design: Social and Messaging · Intermediate
How would you add emoji reactions to chat messages?
What a strong answer covers
Your AI report card counts how many of these ideas you cover.
- Reaction record: message_id, user_id, emoji.
- Aggregate counts per message.
- Broadcast reaction events to participants.
- Idempotent toggle.
- Sync on reconnect.
Practise this topic
Start without signing up. Sign in free to get an AI report card on your answer.