Same topic, related formats. Practice these next.
Same topic, related formats. Practice these next.
Read the curve at YOUR recall SLO, not at the vendor's chosen highlight point. Be skeptical of any QPS number missing the recall, the dataset, the embedding model and dim, and the metric.
Imagine two car dealers each post a flyer claiming their car is fastest. One says '180 mph!' on a closed track. The other says '60 mph in 4 seconds!' in city traffic. Which is faster? You cannot compare them because they tested in different conditions and reported different things. Vector database benchmarks are the same. The number 'we hit 10,000 queries per second' is only useful if you know how accurate those answers were and on what data the test ran. The right way to compare two vendors is to draw both their curves on the same axes (accuracy on one axis, speed on the other) and read the speed at the accuracy your product needs.
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example. Click to expand.
Everything you need to truly understand this topic: intuition, mechanics, step by step explanation, code, formulas, and worked example.
Everything important, quickly.
4 min: how tuning knobs trace the recall vs QPS curve + reading the curve at your SLO + five metadata items + p99 latency + ANN-Benchmarks as neutral ground + how vendor charts mislead.
| What the vendor shows | What to actually compute | Why |
|---|---|---|
| Peak QPS at unspecified recall | QPS at your product's recall SLO | Peak is usually at recall the vendor cherry-picked |
| Average latency | p99 latency | User facing systems are bottlenecked by the tail, not the mean |
| Benchmark on SIFT1M only | Benchmark on the same embedding model you will deploy | Data geometry changes results materially |
| Recall vs (other ANN) | Recall vs Flat | Only Flat is exact; non-Flat ground truth is circular |
Real products, models, and research that use this idea.
What an interviewer would ask next. Try answering before peeking at the approach.
Red flags and common mistakes that signal junior thinking. Click to expand.
Comparing two vendors' headline QPS numbers without checking that both were measured at the same recall, on the same dataset, with the same embedding model and dimension.
The night-before-the-interview bullets. Scan these on the way to the call.
Primary sources. Skim if you want the original framing.