Install any skill in seconds. Free to start, no credit card required.
Get Started Free →Guides Qdrant query latency optimization. Use when someone asks 'search is slow', 'how to reduce latency', 'p99 is too high', 'tail latency', 'single query too slow', 'how to make search faster', or 'latency spikes'.
.claude/skills/qdrant-qdrant-minimize-latency/SKILL.md| Test case | Without → With | Effect | Δ tokens | Δ turns |
|---|---|---|---|---|
| case-01 | ✗→✓ | ▲ Improved | -15% | 0% |
| case-02 | ✗→✓ | ▲ Improved | -27% | 0% |
| case-03 | ✗→✓ | ▲ Improved | -25% | 0% |
| case-08 | ✗→✓ | ▲ Improved | -47% | 0% |
| case-09 | ✗→✓ | ▲ Improved | -52% | 0% |
Latency of a single query is determined by the slowest component in the query execution path. It is sometimes correlated with throughput, but not always — throughput and latency are opposite tuning directions.
Low latency optimization is aimed at utilising maximum resource saturation for a single query, while throughput optimization is aimed at minimizing per-query resource usage to allow more parallel queries.
default_segment_number: 16) Minimizing latencymemory: pinned on Qdrant 1.19 or newer, always_ram: true on 1.18 or olderhnsw_ef at query time (trade recall for speed) Search paramsRAM is the most critical resource for latency. If working set exceeds available RAM, OS cache eviction causes severe, sustained latency degradation.
memory: cold on Qdrant 1.19 or newer, on_disk: true on 1.18 or older On-disk payload indexoptimizer_cpu_budget to limit background optimization CPUsindexing_threshold during peak hoursMore RAM and faster CPU directly reduce latency. See Vertical Scaling for node sizing guidelines.
| Case | Status | Duration (ms) | Turns | Tokens | Tool calls | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| Without | With | Δ | Without | With | Δ | Without | With | Δ | Without | With | Δ | ||
case-04 | pass→pass | 18,983 | 12,253 | -35% | 1 | 1 | 0% | 3,027 | 2,513 | -17% | 0 | 0 | — |
case-01 | fail→pass | 24,364 | 28,045 | +15% | 1 | 1 | 0% | 4,006 | 3,413 | -15% | 0 | 0 | — |
case-02 | fail→pass | 21,538 | 12,539 | -42% | 1 | 1 | 0% | 3,703 | 2,688 | -27% | 0 | 0 | — |
case-03 | fail→pass | 26,542 | 11,808 | -56% | 1 | 1 | 0% | 3,472 | 2,613 | -25% | 0 | 0 | — |
case-05 | pass→pass | 21,669 | 17,295 | -20% | 1 | 1 | 0% | 3,020 | 3,189 | +6% | 0 | 0 | — |
case-06 | pass→pass | 13,612 | 11,133 | -18% | 1 | 1 | 0% | 2,737 | 2,655 | -3% | 0 | 0 | — |
case-07 | pass→pass | 22,213 | 5,909 | -73% | 1 | 1 | 0% | 2,698 | 1,440 | -47% | 0 | 0 | — |
case-08 | fail→pass | 12,978 | 2,558 | -80% | 1 | 1 | 0% | 1,946 | 1,022 | -47% | 0 | 0 | — |
case-21 | pass→pass | 16,147 | 6,307 | -61% | 1 | 1 | 0% | 2,336 | 1,531 | -34% | 0 | 0 | — |
case-09 | fail→pass | 14,762 | 4,915 | -67% | 1 | 1 | 0% | 2,286 | 1,105 | -52% | 0 | 0 | — |
case-10 | fail→pass | 16,056 | 7,570 | -53% | 1 | 1 | 0% | 2,262 | 1,740 | -23% | 0 | 0 | — |
case-11 | pass→pass | 17,912 | 5,674 | -68% | 1 | 1 | 0% | 2,514 | 1,694 | -33% | 0 | 0 | — |
case-12 | pass→pass | 8,117 | 3,746 | -54% | 1 | 1 | 0% | 1,408 | 1,021 | -27% | 0 | 0 | — |
case-13 | pass→pass | 14,925 | 3,704 | -75% | 1 | 1 | 0% | 2,575 | 1,068 | -59% | 0 | 0 | — |
case-14 | pass→pass | 18,014 | 3,254 | -82% | 1 | 1 | 0% | 2,358 | 1,003 | -57% | 0 | 0 | — |
case-15 | fail→pass | 6,282 | 3,451 | -45% | 1 | 1 | 0% | 1,134 | 1,018 | -10% | 0 | 0 | — |
case-16 | pass→pass | 13,296 | 4,984 | -63% | 1 | 1 | 0% | 1,889 | 1,348 | -29% | 0 | 0 | — |
case-17 | pass→pass | 20,064 | 7,752 | -61% | 1 | 1 | 0% | 2,757 | 1,860 | -33% | 0 | 0 | — |
case-18 | fail→pass | 13,542 | 4,630 | -66% | 1 | 1 | 0% | 2,256 | 1,250 | -45% | 0 | 0 | — |
case-19 | fail→pass | 14,538 | 3,890 | -73% | 1 | 1 | 0% | 1,986 | 1,137 | -43% | 0 | 0 | — |
case-20 | fail→pass | 12,585 | 4,087 | -68% | 1 | 1 | 0% | 1,777 | 1,220 | -31% | 0 | 0 | — |
case-22 | pass→pass | 11,278 | 5,374 | -52% | 1 | 1 | 0% | 1,316 | 1,300 | -1% | 0 | 0 | — |
DecimalAI ran this skill against gemini-3.6-flash twice over the same eval suite — once with the skill loaded and once without — and compared the two runs case by case. 22 cases were attempted. The headline lift of +45 percentage points is the difference between those two pass rates over the 22 comparable cases.
Without the skill loaded, the model failed this case. With it loaded, the same prompt on the same model passed. This is one improved case from the latest verified run; every case, including any that regressed, is in the table above.
Other measured skills in the registry, with their headline benchmark lift.