Skip to main content

Build

Qdrant Horizontal Scaling

Qdrant SkillsOfficialCertified

Diagnoses and guides Qdrant horizontal scaling decisions. Use when someone asks 'vertical or horizontal?', 'how many nodes?', 'how many shards?', 'how to add nodes', 'resharding', 'data doesn't fit', 'need more capacity', 'change replication factor', 'reduce replicas', or 'remove extra replicas'. Also use when data growth outpaces current deployment.

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

Capabilities

  • Most basic distributed configuration

    Minimum of 3 nodes is important for consensus and fault tolerance

  • Changing replication factor

  • Choosing number of shards

    Shards are the unit of data distribution

  • Changing number of shards

    Resharding is expensive and time-consuming, so use it as a last resort…

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

What to Do When Qdrant Needs More Capacity

Vertical first: simpler operations, no network overhead, good up to ~100M vectors per node depending on dimensions and quantization. Horizontal when: data exceeds single node capacity, need fault tolerance, need to isolate tenants, or IOPS-bound (more nodes = more independent IOPS).

Most basic distributed configuration

  • 3 nodes with replication_factor: 2 for zero-downtime scaling, and at least 2 shards per node (6 shards) so you can add nodes later without resharding Sharding

Minimum of 3 nodes is important for consensus and fault tolerance. With 3 nodes, you can lose 1 node without downtime. With 2 nodes, losing 1 node causes downtime for collection operations.
Replication factor of 2 means each shard has 1 replica, so you have 2 copies of data. This allows for zero-downtime scaling and maintenance. With replication_factor: 1, zero-downtime is not guaranteed even for point-level operations, and cluster maintenance requires downtime.

Changing replication factor

Use when: raising or lowering replication_factor on an existing collection, or removing extra replicas.

  • On Qdrant Cloud, update replication_factor in the collection config and stop. The Cloud platform automatically adds or drops replicas to match, and lowering it from 3 to 2 converges to 2 replicas per shard within about a minute. Do not also drop or create replicas yourself with the cluster API (drop_replica, replicate_shard, move_shard): your calls race with the operation of the Cloud platform and can remove more replicas than intended Replication
  • Verify with read-only calls: GET /collections/{name} for the configured factor and GET /collections/{name}/cluster for the replicas per shard. If the count hasn't converged yet, wait and re-check rather than intervening.
  • On self-hosted, changing replication_factor on an existing collection does not add or remove replicas, it only sets the target. Adding or dropping replicas is a manual step with the shard APIs Replication
  • On self-hosted, make shard changes one at a time and re-check GET /collections/{name}/cluster between them. Never drop a replica if it would leave a shard with no healthy copy.

Choosing number of shards

Shards are the unit of data distribution.
More shards allows more nodes and better distribution, but adds overhead. Fewer shards reduces overhead but limits horizontal scaling.

For cluster of 3-6 nodes the recommended shard count is 6-12.
This allows for 2-4 shards per node, which balances distribution and overhead.

Changing number of shards

Use when: shard count isn't evenly divisible by node count, causing uneven distribution, or need to rebalance.

Resharding is expensive and time-consuming, so use it as a last resort if regular data distribution is not possible. The collection stays available during resharding, with slightly reduced performance, but a lot of data moves between nodes Resharding.

  • Available in Qdrant Cloud Resharding
  • Resharding is not available for self-hosted deployments.

Better alternatives: over-provision shards initially, or spin up new cluster with correct config and migrate data.

What NOT to Do

  • Do not jump to horizontal before exhausting vertical (adds complexity for no gain)
  • Do not set shard_number that isn't a multiple of node count (uneven distribution)
  • Do not use replication_factor: 1 in production if you need fault tolerance
  • Do not drop or move replicas by hand on Qdrant Cloud after changing replication_factor; the Cloud platform does it, and manual calls race with it
  • Do not add nodes to a self-hosted cluster without rebalancing shards (use the shard move API to redistribute); Qdrant Cloud rebalances shards automatically Cluster scaling
  • Do not scale down RAM without load testing (cache eviction causes days-long latency incidents)
  • Do not hit the collection limit by using one collection per tenant (use payload partitioning)

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-horizontal-scaling

What does the qdrant-horizontal-scaling skill do?

Diagnoses and guides Qdrant horizontal scaling decisions. Use when someone asks 'vertical or horizontal?', 'how many nodes?', 'how many shards?', 'how to add nodes', 'resharding', 'data doesn't fit', 'need more capacity', 'change replication factor', 'reduce replicas', or 'remove extra replicas'. Also use when data growth outpaces current deployment. 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-horizontal-scaling skill?

Run `npx @skills-hub-ai/cli install qdrant-horizontal-scaling` from your terminal. The CLI writes the SKILL.md to the correct location for your AI tool (e.g. ~/.claude/skills/qdrant-horizontal-scaling/ 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-horizontal-scaling work with?

qdrant-horizontal-scaling 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-horizontal-scaling 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-horizontal-scaling after installing it?

In Claude Code, type `/qdrant-horizontal-scaling` (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-horizontal-scaling 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-horizontal-scaling)](https://skills-hub.ai/skills/qdrant-horizontal-scaling)
HTML
<a href="https://skills-hub.ai/skills/qdrant-horizontal-scaling"><img src="https://skills-hub.ai/api/badges/skill/qdrant-horizontal-scaling" alt="Install on Skills Hub"></a>

More options in the badge docs.