Saltar al contenido
Skillpedia
Bases de datos40 mil · #7368

qdrant-tenant-scaling

Qué hace

Esta guía te ayuda a organizar los datos en Qdrant cuando tienes muchos usuarios o clientes (llamados «tenants»). Explica cómo separar los datos de cada uno de forma eficiente para que todo funcione rápido.

Cuándo usarla

  • ✓Cuando tienes muchos clientes y quieres organizar sus datos.
  • ✓Si los datos de un cliente van lentos o están causando problemas a los demás.
  • ✓Cuando necesitas asegurarte de que los datos de un cliente no se mezclen con los de otro.

Link de la skill

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

Cópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.

Cómo usar

La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.

Mensaje listo para pegar

Usa esta skill para ayudarme: https://github.com/github/awesome-copilot/blob/main/skills/qdrant-scaling/scaling-data-volume/tenant-scaling/SKILL.md Lee el archivo SKILL.md de ese link y sigue sus instrucciones en mi tarea.
¿Quieres que tu IA encuentre skills como esta por sí sola?Instala el MCP gratis de Skillpedia: una línea, y busca entre 15.000+ skills antes de cada tarea.Instalar en 1 minuto →

Ejemplo de qué pedirle a la IA

“¿Cómo puedo organizar los datos de miles de clientes en Qdrant para que todo funcione bien?”

5 skills nuevas por semana. 1 minuto de lectura.

Cómo funciona

Qdrant recomienda usar filtros sobre el «payload» (información extra) para separar a los clientes dentro de colecciones compartidas. Si tienes muchos clientes, sugiere dividir el trabajo en partes más pequeñas (shards) o incluso tener partes dedicadas para clientes muy grandes o que necesitan más seguridad.

Contenido técnico (SKILL.md original)

Texto original del autor, en inglés, directo de 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)
Preguntas frecuentes

¿Debo crear una colección separada para cada cliente?

En general, no. Crear demasiadas colecciones consume muchos recursos y no escala bien más allá de unos cientos de clientes. Es mejor usar una colección compartida con filtros.

¿Qué son los «tenants»?

Los «tenants» son tus clientes, usuarios o grupos que usan tu sistema. Cada uno tiene sus propios datos, que hay que mantener separados.

¿Cuándo necesito un aislamiento estricto de tenants?

Solo lo necesitas si hay requisitos legales o de cumplimiento normativo que exijan cifrado por tenant o una separación de datos muy fuerte, más allá de lo que dan los filtros normales.

Detalles

Descripción original del autor

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

Popularidad

Estrellas en GitHub
40 mil
Posición en el ranking
#7368
Licencia
MIT
Actualizada
15/10/2026

¿Te sirve esta skill?

0

Entra para votar.

Comentarios

  • …

Más skills de este repositorio

Skills parecidas