Serve a chat model to a very large user base

HardML design45 minMLERERSPro outline

The question

Design the system that serves a large language model chat assistant to a very large number of users. Cover capacity estimates, the inference stack, latency targets, cost and safety.

What the interviewer is looking for

  • Estimates tokens per second and accelerator needs
  • Understands prefill versus decode and their bottlenecks
  • Uses batching, KV cache management and quantization appropriately
  • Latency targets for time to first token and per token
  • Safety layers and graceful degradation under load

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: LLM-era designs: serving a chat model to a very large user base, or continual pretraining without forgetting.

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.