All Questions
Vector Search hard

An HNSW index serves a marketplace where about 30% of listings are updated or removed each week. Each update is applied as a delete plus an insert, and deletes mark tombstones. Over a month, recall@10 drifts from 97% to 89% and p99 latency rises at the same ef_search. What is happening, and what should you do?

  1. A Tombstoned nodes still get traversed and weaken the graph. Schedule rebuilds or segment compaction.
  2. B The graph needs a wider search as it ages; permanently doubling ef_search is the correct steady-state fix for churn.
  3. C Deletes physically remove nodes and edges, thinning the graph; raise M at query time to make up for lost links.
  4. D Content drift has shifted the embedding space; re-embedding live listings with the same model will restore recall.

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

Get the app

Related questions