Index of every page on this site: llms.txt
All skills
github avatar

/qdrant-scaling

@f10fdb8 official
by githubgithub/awesome-copilot42k stars
5,426
Run it yourself

Guides Qdrant scaling decisions. Use when someone asks 'how many nodes do I need', 'data doesn't fit on one node', 'need more throughput', 'cluster is slow', 'too many tenants', 'vertical or horizontal', 'how to shard', or 'need to add capacity'.

Use this Skill: https://skilld.dev/gh/github/awesome-copilot/qdrant-scaling

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

scaling-qpsSKILL.md

≈902 tokens on demand. Your agent reads this file only when SKILL.md points to it.

Scaling for Query Throughput (QPS)

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.

Performance Tuning for Higher RPS

Minimize impact of Update Workloads

  • Configure update throughput control (v1.17+) to prevent unoptimized searches degrading reads Low latency search
  • Set optimizer_cpu_budget to limit indexing CPUs (e.g. 2 on an 8-CPU node reserves 6 for queries)
  • Configure delayed read fan-out (v1.17+) for tail latency 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 route reads to replicas Distributed deployment

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
  • Use io_uring on Linux (kernel 5.11+) io_uring article
  • In case of quantized vectors, prefer global rescoring over per-segment rescoring to reduce disk reads. Example in the tutorial
  • Configure higher number of search threads to parallelize disk reads. Default is cpu_count - 1, which is optimal for RAM-based search but may be too low for disk-based search. See configuration reference
  • If still saturated, scale out horizontally (each node adds independent IOPS)

What NOT to Do

  • Do not expect to optimize throughput and latency simultaneously on the same node
  • 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)

Source: SKILL.md on GitHub

No rule matched.

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

No alerts2mo3 checks · Risk SAFE
  • Gen Agent Trust Hub2mo

    The skill provides comprehensive guidance on scaling Qdrant databases for various performance and data volume needs. All links and references target official Qdrant documentation or trusted repositories. No malicious code, data exfiltration, or prompt injection patterns were found.

  • Socket2mo

    No alerts

  • Snyk2mo

    Risk: LOW · No issues

Signed by skilld at f10fdb8. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 4 days ago.

Activeupdated 7 months ago
What it can do
Reads files
All 3 allowed tools
ReadGrepGlob
  • qdrant
  • vector-db
  • scaling
  • clustering
  • throughput
  • latency
  • sharding
  • capacity-planning

README badge

README badge for github/awesome-copilot/qdrant-scaling

Diagnoses Qdrant scaling bottlenecks and recommends strategies for data volume, query throughput, latency, or result volume. Routes to specific sub-skills for data sharding, horizontal/vertical scaling tradeoffs, and performance tuning.

Generated from the current SKILL.md.

What scaling dimensions does this skill cover?
The skill addresses four distinct scaling goals: data volume (dataset exceeds single-node capacity), query throughput (handling more parallel queries), query latency (reducing single-query response time), and query volume (managing result set size). Each has different tuning strategies.
When should I use this skill?
Use it when facing questions like 'how many nodes do I need', 'data doesn't fit on one node', 'need more throughput', or 'cluster is slow'. It guides the decision between vertical and horizontal scaling based on your specific bottleneck.
Does this skill handle sharding decisions?
Yes. The skill provides guidance on sharding strategy as part of its capacity planning, though detailed sharding implementation is covered in the linked sub-skills for each scaling dimension.
Are throughput and latency scaling strategies the same?
No. The skill explicitly notes that scaling for throughput and latency are opposite tuning directions and may require different strategies.

Generated from the current SKILL.md. These answers refresh after source changes.