Skip to content
Hard Design: Chat System (WhatsApp/Slack)

What mechanism prevents a message from being delivered twice if the sender retries due to network timeout?

— Tests your understanding of this concept.

Answer Options

A Rate limiting
B Idempotency keys (unique message_id per message)
C Database transactions
D Client-side deduplication only

Want to see the correct answer?

Get the answer with a detailed explanation, plus practice 22+ more Design: Chat System (WhatsApp/Slack) questions with adaptive quizzes and timed interviews.

See the Answer on Guru Sishya →

This question is from the Design: Chat System (WhatsApp/Slack) topic (System Design Cases).

More Design: Chat System (WhatsApp/Slack) Questions