All Questions
Vector Search easy

You need to search 2 billion vectors on a limited hardware budget, and a p99 latency of around 50 ms is acceptable. Which index design fits best?

  1. A A fully in-memory HNSW index, since it gives the lowest latency regardless of hardware cost.
  2. B A flat brute-force index, since exact search scales fine to billions of vectors on one node.
  3. C A post-filtered index, since filtering after search keeps the memory footprint of the graph small.
  4. D A disk-based index with compressed vectors in RAM, trading some latency for a much lower cost.

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

Get the app

Related questions