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.
Start a fresh conversation. Replace the highlighted placeholders.
Use qdrant-tenant-scaling to propose a scalable tenant architecture for [tenant workload], including payload-based isolation and a compliance exception only if [isolation requirements] require it.
Required inputs
[tenant workload]
[isolation requirements]
User-approved starter prompt based on a pinned source version; check current skill requirements before running. Task evidence ↗
SKILL.md
name: qdrant-tenant-scalingdescription: "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."
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.
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)