All Questions
Vector Search easy

Your team proposes an HNSW index for 500 million 1,536-dimension fp32 vectors, but the cluster has a tight RAM budget. What is the main concern?

  1. A HNSW cannot index more than about 10 million vectors due to a hard limit in the graph format.
  2. B HNSW requires the vectors to be normalized, which is impossible to do at this scale of data.
  3. C HNSW returns only exact results, so query latency grows linearly with the number of vectors.
  4. D HNSW keeps vectors plus graph links in memory, which here means multiple terabytes of RAM.

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

Get the app

Related questions