Design retrieval over a web-scale index in under a second

HardML design50 minSWEMLEREPro outline

The question

Design the retrieval layer for an answer engine. Given a user question, return the best passages from an index of billions of web documents fast enough that the full answer starts streaming in about a second.

What the interviewer is looking for

  • Covers what the official guide grades: framing, requirements, core architecture, scale and bottlenecks, trade-offs and adaptability, without adding complexity for its own sake
  • Sets a latency budget per stage
  • Uses a fast first stage and a more expensive rerank on a small set
  • Estimates index size and sharding
  • Handles freshness and index updates

Your answer

Saved in this browser only. Nobody else sees it.

Why this question

Written by BlogLLM in the style of a publicly reported Perplexity question type: Retrieval over a web-scale index at sub-second latency.

Reported in: calibrd.com, interviewresources.perplexity.ai

Practice question written by BlogLLM based on publicly reported interview formats. Not an official Perplexity question.