qdrant-tenant-scaling
하는 일
이 가이드는 사용자나 클라이언트('테넌트'라고 부릅니다)가 많을 때 Qdrant의 데이터를 정리하도록 돕습니다. 각 사용자의 데이터를 효율적으로 분리해 모든 것이 빠르게 작동하도록 하는 방법을 설명합니다.
사용하는 경우
- ✓고객이 많아 데이터를 정리해야 할 때.
- ✓한 고객의 데이터가 느리거나 다른 고객에게 문제를 일으킬 때.
- ✓한 고객의 데이터가 다른 고객의 데이터와 섞이지 않도록 해야 할 때.
스킬 링크
https://github.com/github/awesome-copilot/blob/main/skills/qdrant-scaling/scaling-data-volume/tenant-scaling/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“Qdrant에서 수천 명의 고객 데이터를 어떻게 정리해야 모든 것이 원활하게 돌아가나요?”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
Qdrant는 공유 컬렉션 안에서 'payload'(추가 데이터 정보)의 필터를 사용해 고객을 구분할 것을 제안합니다. 고객이 많으면 작업을 작은 부분(샤드)으로 나누거나, 아주 큰 고객이나 추가 보안이 필요한 고객을 위한 전용 부분을 두도록 권장합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
What to Do When Scaling Multi-Tenant Qdrant
Do not create one collection per tenant. Does not scale past a few hundred and wastes resources. One company hit the 1000 collection limit after a year of collection-per-repo and had to migrate to payload partitioning. Use a shared collection with a tenant key.
- Understand multitenancy patterns Multitenancy
Here is a short summary of the patterns:
Number of Tenants is around 10k
Use the default multitenancy strategy via payload filtering.
Read about Partition by payload and Calibrate performance for best practices on indexing and query performance.
Number of Tenants is around 100k and more
At this scale, the cluster may consist of several peers. To localize tenant data and improve performance, use custom sharding to assign tenants to specific shards based on tenant ID hash. This will localize tenant requests to specific nodes instead of broadcasting them to all nodes, improving performance and reducing load on each node.
If tenants are unevenly sized
If some tenants are much larger than others, use tiered multitenancy to promote large tenants to dedicated shards while keeping small tenants on shared shards. This optimizes resource allocation and performance for tenants of varying sizes.
Need Strict Tenant Isolation
Use when: legal/compliance requirements demand per-tenant encryption or strict isolation beyond what payload filtering provides.
- Multiple collections may be necessary for per-tenant encryption keys
- Limit collection count and use payload filtering within each collection
- This is the exception, not the default. Only use when compliance requires it.
What NOT to Do
- Do not create one collection per tenant without compliance justification (does not scale past hundreds)
- Do not skip
is_tenant=trueon the tenant index (kills sequential read performance) - Do not build global HNSW for multi-tenant collections (wasteful, use
payload_minstead)
자주 묻는 질문
고객마다 별도의 컬렉션을 만들어야 하나요?
일반적으로 아닙니다. 컬렉션을 너무 많이 만들면 자원을 많이 소모하고, 수백 개를 넘으면 잘 확장되지 않습니다. 필터를 쓰는 공유 컬렉션이 더 좋습니다.
'테넌트'는 무엇인가요?
시스템을 사용하는 고객, 사용자, 그룹입니다. 각 테넌트는 분리해 두어야 하는 자신의 데이터를 가집니다.
엄격한 테넌트 격리는 언제 필요한가요?
테넌트별 암호화나 일반 필터를 넘어서는 매우 강한 데이터 분리를 요구하는 법적 또는 규정 준수 요건이 있을 때만 필요합니다.
상세 정보
작성자의 원본 설명
Guides 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 shared infrastructure.
repo: github/awesome-copilot
인기도
- GitHub 스타
- 40k
- 순위
- #7368
- 라이선스
- MIT
- 업데이트
- 2026. 10. 15.
댓글
- …
이 저장소의 다른 스킬
acquire-codebase-knowledge
40k에이전트가 기존 코드 프로젝트를 이해하고 문서화하도록 돕습니다. 새 구성원을 맞이하거나 아키텍처를 개괄적으로 파악할 때 유용합니다.
acreadiness-assess
40k에이전트가 프로젝트의 AI 준비 상태를 평가하고 보고서를 만들도록 합니다. 프로젝트가 AI 도구를 쓸 준비가 얼마나 되어 있는지 이해하는 데 유용합니다.
acreadiness-generate-instructions
40k에이전트가 평가 결과를 바탕으로 AI 도구를 위한 지침을 만들도록 돕습니다. AI가 코드와 상호작용하는 방식을 개선하고 확인된 공백을 메울 때 유용합니다.
acreadiness-policy
40k에이전트가 AI 프로젝트 평가를 위한 정책을 정의하거나 적용하도록 돕습니다. 프로젝트 평가 방식을 표준화하고 규정 준수를 보장할 때 유용합니다.
비슷한 스킬
discrawl
394k에이전트가 저장된 로컬 Discord 메시지 보관본을 검색하고 요약하며, 최신 상태를 확인하고 다이렉트 메시지를 읽도록 돕습니다.
clickhouse-io
280k에이전트가 ClickHouse 데이터베이스의 쿼리와 스키마를 최적화하도록 돕습니다. 고성능 분석 작업의 모범 사례를 적용합니다. 분석 쿼리가 느릴 때 씁니다.
scientific-db-pubmed-database
280k생의학 분야의 과학 논문을 에이전트가 검색하도록 돕습니다. 특정 의학 정보가 필요한 연구에 유용합니다.