본문으로 건너뛰기
Skillpedia
데이터베이스40k · #7366

qdrant-horizontal-scaling

하는 일

Qdrant 데이터베이스를 기계를 더 추가해(수평) 확장할지, 현재 기계를 개선해(수직) 확장할지 결정하도록 돕습니다. 좋은 성능과 안정성을 위해 노드와 샤드를 몇 개 쓸지 안내합니다.

사용하는 경우

  • ✓데이터가 한 기계에 담기에 너무 커졌을 때.
  • ✓한 기계가 고장 나도 시스템이 계속 실행되어야 할 때.
  • ✓데이터와 사용자를 더 작은 그룹으로 나눠 관리하고 싶을 때.

스킬 링크

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

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/github/awesome-copilot/blob/main/skills/qdrant-scaling/scaling-data-volume/horizontal-scaling/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“데이터가 한 기계에 더 이상 들어가지 않습니다. 기계를 더 추가해야 할까요, 아니면 현재 기계를 업그레이드해야 할까요? 노드와 샤드는 몇 개를 써야 하나요?”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

도구는 용량이 더 필요한지 분석하고, 기계를 추가할지 기존 기계를 개선할지 최선의 방법을 제안합니다. 데이터가 안전하고 접근 가능하도록 이상적인 샤드와 복제본 수도 추천합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

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, 3 shards with replication_factor: 2 for zero-downtime scaling

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.

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, it should be used as a last resort if regular data distribution is not possible. Resharding is designed to be transparent for user operations, updates and searches should still work during resharding with some small performance impact.

But resharding operation itself is time-consuming and requires to move large amounts of data between nodes.

  • 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 add nodes without rebalancing shards (use shard move API to redistribute)
  • 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)
자주 묻는 질문

수평 확장이란 무엇인가요?

단일 기계를 업그레이드하는 대신, 작업과 데이터를 나누기 위해 기계(노드)를 더 추가하는 것입니다.

왜 최소 노드 3개를 권장하나요?

노드가 3개면 기계 한 대가 고장 나도 시스템이 계속 작동할 수 있습니다. 2개만 있으면 기계 하나를 잃을 때 작업이 중단됩니다.

샤드와 복제본은 무엇인가요?

샤드는 데이터의 일부입니다. 복제본은 이 샤드의 사본입니다. 여러 사본(복제)이 있으면 데이터가 유실되지 않고, 기계가 고장 나도 시스템이 계속 실행됩니다.

상세 정보

작성자의 원본 설명

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', or 'need more capacity'. Also use when data growth outpaces current deployment.

repo: github/awesome-copilot

인기도

GitHub 스타
40k
순위
#7366
라이선스
MIT
업데이트
2026. 10. 15.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬