Перейти к содержанию
Skillpedia
Базы данных40k · #7369

qdrant-vertical-scaling

Что он делает

Увеличение мощности (памяти, процессора, диска) существующего сервера Qdrant. Это проще, чем добавлять новые серверы.

Когда использовать

  • ✓Когда на текущем сервере заканчивается память или процессорное время.
  • ✓Если вы хотите избежать сложностей с управлением несколькими серверами.
  • ✓Чтобы повысить производительность без добавления новых машин.

Ссылка на скилл

https://github.com/github/awesome-copilot/blob/main/skills/qdrant-scaling/scaling-data-volume/vertical-scaling/SKILL.md

Скопируйте и вставьте её в ваш ИИ (Claude, ChatGPT или Cursor) с просьбой следовать инструкциям.

Как использовать

Самый простой способ: скопируйте сообщение и вставьте его в свой ИИ. Он прочитает скилл и выполнит инструкции.

Готовое сообщение для вставки

Используй этот скилл, чтобы помочь мне: https://github.com/github/awesome-copilot/blob/main/skills/qdrant-scaling/scaling-data-volume/vertical-scaling/SKILL.md Прочитай файл SKILL.md по этой ссылке и следуй его инструкциям в моей задаче.
Хотите, чтобы ваш ИИ сам находил такие скиллы?Установите бесплатный MCP Skillpedia: одна строка, и перед каждой задачей он ищет среди 15 000+ скиллов.Установить за 1 минуту →

Пример запроса к вашему ИИ

“Как увеличить память моего сервера Qdrant?”

5 новых скиллов в неделю. 1 минута чтения.

Как это работает

Вы увеличиваете ресурсы сервера, на котором работает Qdrant. Если вы используете Qdrant Cloud, это можно сделать через онлайн-панель управления. Если вы установили Qdrant самостоятельно, нужно увеличить ресурсы виртуальной машины или контейнера.

Технический текст (оригинальный SKILL.md)

Оригинальный текст автора на английском, прямо с GitHub.

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)
Частые вопросы

Что такое «вертикальное масштабирование»?

Это означает усиление одного сервера за счет добавления оперативной памяти, процессора или места на диске, а не добавление новых серверов.

Когда стоит думать о добавлении серверов (горизонтальном масштабировании)?

Когда один сервер, даже самый мощный из возможных, уже не вмещает все ваши данные или когда нагрузка настолько велика, что несколько серверов, работающих вместе, будут быстрее.

Безопасно ли уменьшать ресурсы сервера после их увеличения?

Нужно действовать очень осторожно. Уменьшение памяти без проверки может сильно замедлить систему. Всегда тестируйте производительность после уменьшения ресурсов.

Подробности

Оригинальное описание автора

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.

repo: github/awesome-copilot

Популярность

Звёзды на GitHub
40k
Место в рейтинге
#7369
Лицензия
MIT
Обновлён
15.10.2026

Полезен ли этот скилл?

0

Войдите , чтобы голосовать.

Комментарии

  • …

Другие скиллы из этого репозитория

Похожие скиллы