qdrant-scaling-query-volume
Skill254 starsChanged 8 months agoApache-2.0View on GitHub
Guides Qdrant query volume scaling. Use when someone asks 'query returns too many results', 'scroll performance', 'large limit values', 'paginating search results', 'fetching many vectors', or 'high cardinality results'.
1 other project uses a version of this.
Adopted by
Most recently taken up by
- github/awesome-copilotword for word, first seen Sep 23, 2026
Other versions1 project uses a version of this.
Word for word · 1
- github/awesome-copilot★ 40k100% same
Edited · 0
None found.
Wrote their own version · 0
None found.
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository24 other files it gives its agents.
- AGENTS.mdAGENTS.md
- qdrant-clients-sdkSkill
- qdrant-deployment-optionsSkill
- qdrant-edgeSkill
- qdrant-hybrid-cloud-setupSkill
- qdrant-migration-toolSkill
- qdrant-model-migrationSkill
- qdrant-monitoring-debuggingSkill
- qdrant-monitoring-setupSkill
- qdrant-monitoringSkill
- qdrant-multitenancySkill
- qdrant-indexing-performance-optimizationSkill
- qdrant-memory-usage-optimizationSkill
- qdrant-search-speed-optimizationSkill
- qdrant-performance-optimizationSkill
- qdrant-minimize-latencySkill
- qdrant-scaling-data-volumeSkill
- qdrant-scaling-qpsSkill
- qdrant-scalingSkill
- qdrant-search-quality-diagnosisSkill
- qdrant-search-strategiesSkill
- qdrant-search-qualitySkill
- qdrant-sizingSkill
- qdrant-version-upgradeSkill
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 12
Instead of asking every shard for the full limit, ask each shard for a smaller limit computed via Poisson distribution statistics, then …
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Scaling for Query Volume
Problem: When a query has a large limit (e.g. 1000) and there are multiple shards (e.g. 10), naively each shard must return the full 1000 results — totaling 10,000 scored points transferred and merged. This is wasteful since data is randomly distributed across auto-shards.
Core idea
Instead of asking every shard for the full limit, ask each shard for a smaller limit computed via Poisson distribution statistics, then merge. This is safe because auto-sharding guarantees random, independent data distribution.
When it activates
- More than 1 shard
- Auto-sharding is in use (all queried shards share the same shard key)
- The request's limit + offset >= SHARD_QUERY_SUBSAMPLING_LIMIT (128)
- The query is not exact
Key tradeoff
The strategy trades a small probability of slightly incomplete results for a large reduction in inter-shard data transfer, especially for high-limit queries across many shards. The 1.2x safety factor and the 99.9% Poisson threshold keep the error rate very low — comparable to inaccuracies already introduced by approximate vector indices like HNSW.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

