Daily iOS
iOS system design

1:1 chat app design

Design the iOS client for a 1:1 chat like WhatsApp. Focus on message ordering, duplicates, and the offline send queue.

How would an interviewer hear this answer? You'll see whether they'd move on, dig in, or say no, and which sentences would trip you up. Your score doesn't change.
See the short answer

The local DB is the single source of truth and messages are sent idempotently with a client-generated UUID. Order is settled by a server sequence number, offline sends go through an outbox queue with background retry, and media is uploaded separately with only the URL carried in the message.

Share a question