Design the backend of a messaging system

HardSystem design45 minSWEREPro outline

The question

Design the backend for a one-to-one and small-group messaging service. Start from the number of users, the message volume and the latency people expect, and drive the design to the main trade-offs.

What the interviewer is looking for

  • Starts with requirements and estimates before boxes
  • Clear message flow from send to delivery, including offline users
  • Ordering, delivery receipts and de-duplication handled
  • Storage and partitioning chosen with reasons
  • Discusses failure handling and multi-region concerns

Your answer

Saved in this browser only. Nobody else sees it.

Why this question

Written by BlogLLM in the style of a publicly reported Meta (general E-level SWE and ML loops, plus MSL / FAIR research roles) question type: design the backend of a messaging system, starting from users, message volume and latency.

Reported in: github.com

Practice question written by BlogLLM based on publicly reported interview formats. Not an official Meta (general E-level SWE and ML loops, plus MSL / FAIR research roles) question.