Skip to main content

Build

Qdrant Scaling Qps

Qdrant SkillsOfficialCertified

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'.

  • New
  • v1.0.9
  • Reviewed Jul 21
  • No reviews yet

Capabilities

  • Horizontal Scaling for Throughput

    If a single node is saturated on CPU after applying the tuning above…

  • Disk I/O Bottlenecks

    If it is not possible to keep all vectors in RAM, disk I/O can become…

Getting started

Full instructions

Install the skill, then ask your AI tool for the task in plain words. The full SKILL.md below shows what it covers.

Instructions: SKILL.mdv1.0.9

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: pinned on Qdrant 1.19 or newer, always_ram: true on 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_only search parameter, or the experimental prevent_unoptimized optimizer setting (v1.17.1+) Query indexed data only
  • Set optimizer_cpu_budget to limit indexing CPUs (e.g. 2 on 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: auto on Qdrant 1.19 or newer, async_scorer: true on 1.18 or older. Requires Linux with a kernel that supports io_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_threads to 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_total in /metrics to 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 without also upgrading disk tier
  • Do not run at >90% RAM (OS cache eviction = severe performance degradation)

Explore more skills

Browse all
This skill doesn’t include stateful context yet, instructions only. Learn about stateful skills.

Security

Loading security scan...

Reviews (0)

More from Qdrant Skills

View source →
qdrant-sliding-time-windowGuides sliding time window scaling in Qdrant. Use when someone asks 'only recent data matters', 'how to expire old vectors', 'time-based data rotation', 'delete old data efficiently', 'social media feed search', 'news search', 'log search…0 installsqdrant-advisorDiagnose, troubleshoot, and advise on any Qdrant deployment by loading the latest official Qdrant skills live from skills.qdrant.tech. Use this whenever someone raises a Qdrant problem or question — slow or degraded search, high or growing…0 installsqdrant-minimize-latencyGuides 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'.0 installsqdrant-model-migrationGuides embedding model migration in Qdrant without downtime. Use when someone asks 'how to switch embedding models', 'how to migrate vectors', 'how to update to a new model', 'zero-downtime model change', 'how to re-embed my data', or 'can…0 installsqdrant-memory-usage-optimizationDiagnoses and reduces Qdrant memory usage. Use when someone reports 'memory too high', 'RAM keeps growing', 'node crashed', 'out of memory', 'memory leak', or asks 'why is memory usage so high?', 'how to reduce RAM?'. Also use when memory…0 installsqdrant-tenant-scalingGuides Qdrant multi-tenant scaling. Use when someone asks 'how to scale tenants', 'one collection per tenant?', 'tenant isolation', 'dedicated shards', or reports tenant performance issues. Also use when multi-tenant workloads outgrow…0 installs

Frequently asked questions about qdrant-scaling-qps

What does the qdrant-scaling-qps skill do?

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'. It's a reusable SKILL.md instruction set that loads into your AI coding assistant on demand, no prompt engineering, no copy-pasting every session.

How do I install the qdrant-scaling-qps skill?

Run `npx @skills-hub-ai/cli install qdrant-scaling-qps` from your terminal. The CLI writes the SKILL.md to the correct location for your AI tool (e.g. ~/.claude/skills/qdrant-scaling-qps/ for Claude Code or ~/.cursor/skills/ for Cursor with --target cursor) and adds it to your project's .skills.json lockfile.

Which AI tools does qdrant-scaling-qps work with?

qdrant-scaling-qps runs in Claude Code. It follows the open Agent Skills standard (SKILL.md), so the same skill works in every supported tool without modification.

Is the qdrant-scaling-qps skill free?

Yes. Every skill on skills-hub.ai is free and open-source. There are no premium tiers, paywalls, or usage limits. You only pay for whatever AI assistant you're already using.

How do I use qdrant-scaling-qps after installing it?

In Claude Code, type `/qdrant-scaling-qps` (or whatever slash command the skill registers) and the AI follows the skill's instructions immediately. You can also reference it by name in natural language, your AI loads the skill into context when relevant.

Can I share the qdrant-scaling-qps skill with my team?

Yes. Commit your project's .skills.json lockfile and teammates run `npx @skills-hub-ai/cli install` (no args) to install every skill at the exact version you pinned. Organization-scoped installs work via skills-hub.ai organizations.

Badge for your README

Show that this skill is on Skills Hub. The badge links back to this page and shows the live install count.

Install on Skills Hub badge preview
Markdown
[![Install on Skills Hub](https://skills-hub.ai/api/badges/skill/qdrant-scaling-qps)](https://skills-hub.ai/skills/qdrant-scaling-qps)
HTML
<a href="https://skills-hub.ai/skills/qdrant-scaling-qps"><img src="https://skills-hub.ai/api/badges/skill/qdrant-scaling-qps" alt="Install on Skills Hub"></a>

More options in the badge docs.