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.
Design the iOS client for a 1:1 chat like WhatsApp. Focus on message ordering, duplicates, and the offline send queue.
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.
iOS system designShort answerAdvanced
In an iOS chat app where the network drops often, messages the user sends must not be…
#chat #idempotency
PersistenceShort answerAdvanced
Chat in a secondhand marketplace app has to work for reading and writing on the subway…
#chat #idempotency
iOS system designMultiple choiceBasics
A stock app needs a watchlist screen (prices updating several times a second in the…
#websocket
iOS system designShort answerAdvanced
Design a portfolio and watchlist screen where hundreds of symbols change price dozens of…
#websocket