All Questions
Vector Search hard

You must serve 100M documents with 1,536-dimension fp32 embeddings from an in-memory HNSW index. Each node has 256 GB of RAM. Which capacity estimate and plan are correct?

  1. A About 60 GB total, so a single node holds the index with ample headroom for replicas and growth.
  2. B About 600 GB; graph links are tiny next to the vectors, so three nodes are enough for one full copy.
  3. C About 150 GB after converting to fp16, so a single node can hold the full HNSW index plus its graph.
  4. D About 0.9 to 1.2 TB with graph overhead, so shard across 5 or more nodes or use PQ or a disk index.

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

Get the app

Related questions