Generated banner for Qdrant Vertical Scaling
Generated logo for Qdrant Vertical Scaling

Qdrant Vertical Scaling

GitHubOfficialFirst committed by anush008Distributed by GitHub

  • Skill
  • Guidelines
  • Cloud and DevOps
  • MIT
  • No issues found

From the author

Guides Qdrant vertical scaling decisions. Use when someone asks 'how to scale up a node', 'need more RAM', 'upgrade node size', 'vertical scaling', 'resize cluster', 'scale up vs scale out', or when memory/CPU is insufficient on current nodes. Also use when someone wants to avoid the complexity of horizontal scaling.
— the description by anush008

AutoGineer summary

Written by AutoGineer from the skill’s own files, not by the author

This skill provides a structured approach to vertical scaling for Qdrant, helping users determine when to increase CPU, RAM, or disk resources on existing nodes. It emphasizes that vertical scaling is the preferred initial strategy to avoid the operational complexity of distributed systems. The guide covers resource estimation formulas, thresholds for performance degradation, and specific procedures for both Qdrant Cloud and self-hosted environments.

What it does

  • Explains the criteria for choosing vertical scaling over horizontal scaling.
  • Provides formulas for estimating RAM requirements based on vector count and quantization.
  • Outlines the process for resizing clusters in Qdrant Cloud.
  • Identifies critical performance thresholds, such as the 80% RAM usage limit.
  • Lists common pitfalls to avoid during node resizing operations.
  • Defines the operational signals indicating that vertical scaling limits have been reached.

When to use it

  • When current node resources like RAM, CPU, or disk are insufficient for the workload.
  • When you want to avoid the complexity of managing a distributed horizontal cluster.
  • When RAM usage approaches 80% and performance begins to degrade.
  • When you need to determine if a single node can still handle your data volume.
  • When preparing to resize a cluster and needing to ensure high availability during the process.

Advantages

  • Reduces operational overhead by avoiding distributed system complexity.
  • Provides clear, actionable formulas for capacity planning.
  • Helps prevent performance cliffs caused by improper resource management.
  • Ensures safer scaling operations by recommending replication before resizing.

Usage examples

“How do I know if I should scale my Qdrant node up or out?”
The agent explains that vertical scaling is the recommended first step to avoid distributed complexity, provided the workload fits on a single node and doesn't require high availability.
“How much RAM do I need for 50 million vectors?”
The agent provides the estimation formula, accounting for vector dimensions, quantization methods, HNSW index overhead, and the recommended 20% headroom.

Install

  1. Download the skill as a ZIP:

    https://autogineer.com/agent-skills/github/qdrant-vertical-scaling/download
  2. Unzip it into the cross-client skills folder of your project:

    mkdir -p .agents/skills && unzip qdrant-vertical-scaling.zip -d .agents/skills

Documentation by anush008

What to Do When Qdrant Needs to Scale Vertically

Vertical scaling means increasing CPU, RAM, or disk on existing nodes rather than adding more nodes. This is the recommended first step before considering horizontal scaling. Vertical scaling is simpler, avoids distributed system complexity, and is reversible.

  • Vertical scaling for Qdrant Cloud is done through the Qdrant Cloud Console

  • For self-hosted deployments, resize the underlying VM or container resources

When to Scale Vertically

Use when: current node resources (RAM, CPU, disk) are insufficient, but the workload doesn't yet require distribution.

  • RAM usage approaching 80% of available memory (OS page cache eviction starts, severe performance degradation)

  • CPU saturation during query serving or indexing

  • Disk space running low for on-disk vectors and payloads

  • A single node can handle up to ~100M vectors depending on dimensions and quantization

  • For non-production workloads, which are tolerant to single-point-of-failure and don't require high availability

How to Scale Vertically in Qdrant Cloud

Vertical scaling is managed through the Qdrant Cloud Console.

  • Log into Qdrant Cloud Console or use CLI tool

  • Select the cluster to resize

  • Choose a larger node configuration (more RAM, CPU, or both)

  • The upgrade process involves a rolling restart with no downtime if replication is configured

  • Ensure replication_factor: 2 or higher before resizing to maintain availability during the rolling restart

Important: Scaling up is straightforward. Scaling down requires care -- if the working set no longer fits in RAM after downsizing, performance will degrade severely due to cache eviction. Always load test before scaling down.

RAM Sizing Guidelines

RAM is the most critical resource for Qdrant performance. Use these guidelines to right-size.

  • Exact estimation of RAM usage is difficult; use this simple approximate formula: num_vectors * dimensions * 4 bytes * 1.5 for full-precision vectors in RAM

  • With scalar quantization: divide by 4 (INT8 reduces each float32 to 1 byte) Quantization

  • With binary quantization: divide by 32 Binary quantization

  • Add overhead for HNSW index (~20-30% of vector data), payload indexes, and WAL

  • Reserve 20% headroom for optimizer operations and OS cache

  • Monitor actual usage via Grafana/Prometheus before and after resizing Monitoring

When Vertical Scaling Is No Longer Enough

Recognize these signals that it's time to go horizontal:

  • Data volume exceeds what a single node can hold even with quantization and mmap

  • IOPS are saturated (more nodes = more independent disk I/O)

  • Need fault tolerance (requires replication across nodes)

  • Need tenant isolation via dedicated shards

  • Single-node CPU is maxed and query latency is unacceptable

  • Next vertical scaling step is the largest available node size. You might need to be able to temporarily scale up to the larger node size to do batch operations or recovery. If you are already at the largest node size, you won't be able to do that.

When you hit these limits, see Horizontal Scaling for guidance on sharding and node planning.

What NOT to Do

  • Do not scale down RAM without load testing first (cache eviction = severe latency degradation that can last days)

  • Do not ignore the 80% RAM threshold (performance cliff, not gradual degradation)

  • Do not skip replication before resizing in Cloud (rolling restart without replicas = downtime)

  • Do not jump to horizontal scaling before exhausting vertical options (adds permanent operational complexity)

  • Do not assume more CPU always helps (IOPS-bound workloads won't improve with more cores)

Files

Requirements and compatibility

Written for: GitHub Copilot

Works with: Claude Code, Claude apps, OpenAI Codex, GitHub Copilot, Cursor, Gemini CLI, Kiro, OpenCode, Goose, Amp, Roo Code, JetBrains Junie, Factory Droid, Devin (ex-Windsurf), Mistral Vibe, OpenHands, Letta

“Works with” means the tool reads the open Agent Skills format; a skill written for one tool may use features others lack.

Needs: Needs Node.js

Security

No issues found by our static scan· No issues found

A static scan is not a guarantee. Skills are third-party content: review a skill before you let an agent use it.

Attribution and licence

First committed by
GitHub avatar of anush008anush008
Publisher
GitHub (Official)
Distributed by
GitHub
Source
github/awesome-copilot · skills/qdrant-scaling/scaling-data-volume/vertical-scaling · commit 797337f
Licence
MIT License (redistribution allowed)
  • LICENSE (added by AutoGineer from LICENSE)
  • ATTRIBUTION.md (written by AutoGineer)
Synced
Contributors
anush008

AutoGineer is not affiliated with or endorsed by anush008 or GitHub.

Download ZIP

The ZIP holds the skill’s files, its licence files and an ATTRIBUTION.md. Download qdrant-vertical-scaling.zip