โ† Walmart questions
System DesignReported in a candidate post, Jul 2025

Design Facebook chat messenger

Filed under Walmart

Free read 2 of 3

Functional: 1:1 and group chat, history, receipts, presence, media. Non-functional: low latency for online users, no lost messages, ordering within a conversation, high availability. Clarify scale and group size limits; calls and end-to-end encryption can be called out of scope.

The question

Design a Facebook Messenger-style chat service supporting 1:1 and group conversations, real-time delivery, message history, delivery and read receipts, and online presence.

Constraints

  • Assume hundreds of millions of daily users and tens of billions of messages per day (illustrative)
  • Delivery under roughly 200 ms for online recipients
  • Messages must not be lost and are ordered within a conversation
  • Offline users receive messages after reconnecting

Approach

  1. Functional: 1:1 and group chat, history, receipts, presence, media. Non-functional: low latency for online users, no lost messages, ordering within a conversation, high availability. Clarify scale and group size limits; calls and end-to-end encryption can be called out of scope.

Tips

  • What they are testing: System design rounds like this typically probe your choice of real-time transport, ordering and delivery guarantees, and how you handle fan-out at scale.
  • Common mistake: Using HTTP polling or one relational database for everything, and ignoring offline delivery, ordering and group fan-out.

Related Walmart questions

Collected from public candidate posts and coding forums. Updated Nov 2026.