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'.
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.
skillbazaar install qdrant-minimize-latency --agent claudeSign in (free) to install skills with the CLI.
Author
@qdrant
on GitHub
Published by