Recall, Latency and QPS: The Vector Search Performance Triangle
Understand the three competing axes of vector search performance — recall, latency and QPS — and how tuning one pulls on the other two.
Published on • November 22, 2026
AI Assistant

Introduction
Every vector search system is governed by a triangle: recall, latency, and QPS (queries per second). You can hold two corners comfortably; the third always pulls back. Understanding this geometry is the difference between honest performance claims and surprising production incidents.
The Three Corners
Recall (quality)
The fraction of true nearest neighbours your index returns — usually recall@10 or recall@100, measured against exact brute-force ground truth. Low recall means missing documents, broken RAG answers, and lost revenue.
Latency (responsiveness)
How long one query takes — almost always tracked as p50 and p95/p99, not the mean. A p95 of 800 ms with a p50 of 20 ms means one user in twenty waits nearly a second.
QPS (throughput)
How many queries the system sustains under load. QPS is not free: raising concurrency increases queuing, which inflates latency, which can force you to lower per-query work.
How They Interact
- Raise recall (bigger
efSearch, morenprobe, largerM) → each query examines more data → latency up, QPS down. - Lower latency (shallower search) → recall down.
- Raise QPS → more concurrent scans compete for memory bandwidth and cores → per-query latency up; eventually you add replicas, which costs money and can mask a per-node bottleneck.
- Add compression (PQ/int8) → smaller data → faster scans → QPS up; but quantisation error → recall down unless you rescore.
There is no “make everything better” slider — only different points on the frontier.
Measuring Honestly
- Fix the ground truth first. Compute exact top-k with brute force on your real corpus; all recall numbers are relative to it.
- Benchmark under realistic load. Single-threaded latency ≠ latency at your production QPS. Measure the pair (QPS at target p95, recall at that setting).
- Use your real query distribution. Uniform random vectors lie; real queries cluster.
- Report all three: “recall@10 = 0.97, p95 = 35 ms at 500 QPS” is a claim; “fast and accurate” is not.
- Watch index build/memory too — they gate how much of the triangle you can afford.
A Practical Balancing Order
- Set a recall floor (e.g., ≥0.95 against ground truth) — quality is the contract.
- Tune the cheapest knob to meet it (per-query
efSearch/nprobe). - Check p95 latency at target QPS; if over budget, add compression or a rerank-then-shallow-search design.
- Only then scale out — fix the per-node frontier before buying replicas.
Conclusion
Recall, latency and QPS are coupled by physics: better answers need more computation, more computation costs time, and time under load becomes throughput. Name your non-negotiable corner, measure the other two against ground truth, and tune deliberately — that is the whole discipline of vector search performance.