Guides Qdrant query throughput (QPS) scaling. Use when someone asks 'how to increase QPS', 'need more throughput', 'queries per second too low', 'batch search',
复制下面这句话,粘贴给 Claude Code、Codex、Cursor 等 AI 编程工具,它会读取安装说明并在你确认后完成安装。
请阅读 https://ai.atlankj.com/install/asset/gh-scaling-qps-e6022a8f0b1a ,按照其中的说明把「qdrant-scaling-qps」安装到你(当前 AI 工具)中。执行前先告诉我将运行的命令和写入的位置,等我确认。
查看 AI 将读取的安装说明正在读取 GitHub 原文…
内容来自 GitHub 原始文件,由原作者维护。在 GitHub 查看
Throughput scaling means handling more parallel queries per second. This is different from latency - throughput and latency are opposite tuning directions and cannot be optimized simultaneously on the same node.
High throughput favors fewer, larger segments so each query touches less overhead.
default_segment_number: 2) Maximizing throughputalways_ram=true to reduce disk IO Quantizationoptimizer_cpu_budget to limit indexing CPUs (e.g. 2 on an 8-CPU node reserves 6 for queries)If a single node is saturated on CPU after applying the tuning above, scale horizontally with read replicas.
replication_factor: 2+ and route reads to replicas Distributed deploymentSee also Horizontal Scaling for general horizontal scaling guidance.
If it is not possible to keep all vectors in RAM, disk I/O can become the bottleneck for throughput. In this case:
io_uring on Linux (kernel 5.11+) io_uring articlecpu_count - 1, which is optimal for RAM-based search but may be too low for disk-based search. See configuration reference