All Questions
Vector Search medium

An IVF index with 16,384 lists serves search with nprobe=8. Recall@10 measured against ground truth is 82%, below the 95% target. Meanwhile p99 latency is 4 ms against a 30 ms budget. What is the most direct lever?

  1. A Increase the list count to 65,536 and rebuild, since finer clusters place each query closer to its true nearest neighbors.
  2. B Add product quantization to shrink vectors, freeing memory bandwidth so the index can scan its current lists faster.
  3. C Replace the index with flat brute-force search, since an IVF index cannot reach 95% recall without a full retrain.
  4. D Raise nprobe step by step while measuring recall and p99, spending some of the latency headroom to buy recall.

One system design question a day, with spaced repetition so the ones you miss come back.

Get the app

Related questions