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

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가 스킬을 읽고 지침을 따릅니다.

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

Use this skill to help me: https://github.com/github/awesome-copilot/blob/main/skills/qdrant-scaling/scaling-data-volume/tenant-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에게 요청하는 예시

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

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=true on the tenant index (kills sequential read performance)
  • Do not build global HNSW for multi-tenant collections (wasteful, use payload_m instead)
자주 묻는 질문

고객마다 별도의 컬렉션을 만들어야 하나요?

일반적으로 아닙니다. 컬렉션을 너무 많이 만들면 자원을 많이 소모하고, 수백 개를 넘으면 잘 확장되지 않습니다. 필터를 쓰는 공유 컬렉션이 더 좋습니다.

'테넌트'는 무엇인가요?

시스템을 사용하는 고객, 사용자, 그룹입니다. 각 테넌트는 분리해 두어야 하는 자신의 데이터를 가집니다.

엄격한 테넌트 격리는 언제 필요한가요?

테넌트별 암호화나 일반 필터를 넘어서는 매우 강한 데이터 분리를 요구하는 법적 또는 규정 준수 요건이 있을 때만 필요합니다.

상세 정보

작성자의 원본 설명

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.

이 스킬이 유용한가요?

0

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

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬