qdrant-scaling-qps
БесплатноБез исполняемых скриптовНе проверенGuides Qdrant query throughput (QPS) scaling. Use when someone asks 'how to increase QPS', 'need more throughput', 'queries per second too low', 'batch…
от qdrant★ 270 звёзд на GitHubОб этом скилле
Scaling for Query Throughput (QPS)
Throughput scaling means handling more parallel queries per second. This is different from latency. Segment count pulls throughput and latency in opposite directions, so pick a priority per collection.
High throughput favors fewer, larger segments so each query touches less overhead.
Performance Tuning for Higher RPS
- Use fewer, larger segments (
default_segment_number: 2) Maximizing throughput - Enable quantization pinned in RAM to reduce disk IO:
memory: pinnedon Qdrant 1.19 or newer,always_ram: trueon 1.18 or older Quantization - Use batch search API to amortize overhead Batch search
- Prefer gRPC over REST for high-QPS workloads -- lower per-request overhead and connection multiplexing
Minimize impact of Update Workloads
- Keep searches off unindexed data during heavy writes: the
indexed_onlysearch parameter, or the experimentalprevent_unoptimizedoptimizer setting (v1.17.1+) Query indexed data only - Set
optimizer_cpu_budgetto limit indexing CPUs (e.g.2on an 8-CPU node reserves 6 for queries) - Delayed read fan-outs (v1.17+) cut tail latency by sending extra reads to other replicas, which adds read load; leave them off when throughput is the priority Delayed fan-outs
Horizontal Scaling for Throughput
If a single node is saturated on CPU after applying the tuning above, scale horizontally with read replicas.
- Shard replicas serve queries from replicated shards, distributing read load across nodes
- Each replica adds independent query capacity without re-sharding
- Use
replication_factor: 2+and send requests through a load balancer across all nodes; if every request hits one node, its local replicas serve the query and the other replicas sit idle Deploy behind a load balancer
See also Horizontal Scaling for general horizontal scaling guidance.
Disk I/O Bottlenecks
If it is not possible to keep all vectors in RAM, disk I/O can become the bottleneck for throughput. In this case:
- Upgrade to provisioned IOPS or local NVMe first. See impact of disk performance to vector search in Disk performance article
- On Qdrant Cloud (AWS), raise IOPS and throughput by switching the cluster to a faster disk speed tier (Balanced or Performance). It doesn't restart the nodes Changing disk speed
- Enable async I/O:
storage.performance.io_uring: autoon Qdrant 1.19 or newer,async_scorer: trueon 1.18 or older. Requires Linux with a kernel that supportsio_uring. Managed Qdrant Cloud enables it automatically from 1.20 Async I/O - On v1.19+, store vectors as
datatype: turbo4(4-bit, about 8x smaller) to cut disk reads. Lossy: the originals are no longer full precision, so check recall. It needs a new collection or a new named vector, so existing data must be re-ingested turbo4 - In case of quantized vectors, prefer global rescoring over per-segment rescoring to reduce disk reads. Example in the tutorial
- Raise
max_search_threadsto parallelize disk reads. The default (0, automatic) suits RAM-based search but may be too low for disk-based search. See configuration reference - Use the slow request log (v1.16+, always on, per node) to find which queries are slowest, then check
process_major_page_faults_totalin/metricsto confirm I/O is the bottleneck Slow request log Node metrics - If still saturated, scale out horizontally (each node adds independent IOPS)
What NOT to Do
- Do not expect one segment configuration to maximize both throughput and latency: pick a priority per collection
- Do not use many small segments for throughput workloads (increases per-query overhead)
- Do not scale horizontally when IOPS-bound wi
Установить qdrant-scaling-qps в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл qdrant-scaling-qps?
Guides Qdrant query throughput (QPS) scaling. Use when someone asks 'how to increase QPS', 'need more throughput', 'queries per second too low', 'batch search', 'read replicas', or 'how to handle more concurrent queries'.
Как установить скилл qdrant-scaling-qps?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл qdrant-scaling-qps запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
agent-skill-stack
Find, evaluate, and assemble the smallest compatible set of AI Agent Skills for an end-to-end natural-language goal. Use when a user wants Skills for a…
от GitHubbuild-evidence-map
Build an auditable evidence map for a contested technical choice, research synthesis, proposal review, or consequential decision. Use when Copilot must…
от GitHubpinecone-rag
Build production RAG pipelines and persistent agent memory using Pinecone as the vector database backend. ALWAYS USE THIS SKILL when the user mentions…
от GitHubqdrant-monitoring-debugging
Diagnoses Qdrant production issues using metrics and observability tools. Use when someone reports 'optimizer stuck', 'indexing too slow', 'memory too high'…
от GitHub