/qdrant-development:qdrant-performance-optimizationfrom qdrant-development
Diagnoses and optimizes Qdrant performance across search speed, indexing throughput, memory usage, query shape, HNSW/payload indexes, quantization, storage, and hardware trade-offs.
Ships in qdrant-development. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Choose the right Qdrant performance lever for latency, throughput, indexing, memory, query design, and hardware constraints, then produce a focused optimization plan with measurable validation steps.
| Dimension | Optimize for | Primary levers | Watch for |
|---|---|---|---|
| Search latency | Time to get one response for a single query. | HNSW parameters, ef, quantization, payload indexes, filtered query design, avoiding oversized result payloads. | Tail latency, cold segments, heavy filters without indexes. |
| Search throughput | Number of queries processed in a time frame. | Parallel clients, batching, shard/replica layout, CPU cores, async request handling, payload projection. | Saturated CPU, disk I/O, network serialization. |
| Indexing performance | Time to build or update vector and payload indexes. | Bulk upload, write batching, segment configuration, deferred indexing where acceptable, disk speed. | Rebuilding indexes during peak traffic. |
| Memory usage | RAM retained by vectors, HNSW graph, payload indexes, and caches. | On-disk vectors/payloads, quantization, payload field selection, collection sizing, segment compaction. | Latency increases when data moves from RAM to disk. |
| Hardware fit | Match workload to CPU, RAM, disk, and network. | NVMe for disk-backed workloads, enough RAM for hot vectors/indexes, CPU for distance computation, replicas for read scaling. | Assuming one setting fixes under-provisioned hardware. |
| Symptom | Likely cause | First checks | Candidate fixes |
|---|---|---|---|
| Slow filtered search | Payload filter scans too much data. | Check whether filtered fields have payload indexes and whether filters are selective. | Add payload indexes for frequently filtered fields; simplify filters; pre-partition collections when filters are dominant. |
| High recall but slow search | Search breadth is too high. | Inspect query ef, collection HNSW settings, vector size, and top-k. | Lower ef cautiously, reduce top-k, consider quantization, benchmark recall impact. |
| Fast unfiltered, slow with large payloads | Response serialization dominates. | Inspect returned payload/vector fields and response size. | Exclude vectors, project only needed payload fields, reduce limit. |
| Indexing blocks serving | Heavy writes compete with reads. | Check ingestion rate, optimizer activity, segment count, and CPU/disk saturation. | Batch upserts, schedule bulk loads off-peak, tune optimizers, separate write-heavy and read-heavy workloads. |
| RAM pressure | Vectors, HNSW, or payload indexes exceed memory. | Compare collection size, vector dimensions, index settings, and resident memory. | Enable on-disk storage for cold data, quantize vectors, drop unused payload indexes, scale RAM. |
| Low throughput under concurrency | Client or server parallelism is insufficient. | Measure client concurrency, server CPU, request queueing, and network. | Increase client concurrency, add replicas, shard appropriately, use async clients. |
There are two criteria for search speed: latency and throughput. Latency is the time it takes to get a response for a single query; throughput is the number of queries processed in a given time frame. Decide which metric matters before changing configuration.
Use the bundled search-speed-optimization material in this skill package when the task is specifically about query latency, throughput, HNSW tuning, filtered search, or benchmarking search behavior.
Legacy bundled location: search-speed-optimization/SKILL.md.
Qdrant needs to build a vector index to perform efficient similarity search. The time it takes to build the index varies by dataset size, hardware, vector dimensions, payload indexes, and collection configuration.
Use the bundled indexing-performance-optimization material in this skill package when the task is about bulk load speed, upsert throughput, optimizer activity, segment behavior, or index build time.
Legacy bundled location: indexing-performance-optimization/SKILL.md.
Vector search can be memory intensive, especially with large datasets. Qdrant can control which parts of storage stay in memory and which are stored on disk, so memory tuning is a latency/cost trade-off rather than a pure reduction exercise.
Use the bundled memory-usage-optimization material in this skill package when the task is about RAM pressure, on-disk vectors, payload storage, quantization, collection sizing, or cost reduction.
Legacy bundled location: memory-usage-optimization/SKILL.md.
## Qdrant performance optimization plan
**Status:** plan | implemented | blocked
**Primary goal:** latency | throughput | indexing | memory | hardware fit
| Symptom | Evidence needed or observed | Recommended change | Expected trade-off | Validation metric |
| --- | --- | --- | --- | --- |
| `<slow filtered search>` | `<query/filter/index evidence>` | `<payload index or query change>` | `<RAM/write/recall impact>` | `<p95 latency/throughput/RAM>` |
### Next measurements
- `<benchmark, collection config, query sample, or system metric>`
### Validation
- Before: `<metric>`
- After: `<metric or pending>`
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
8 skills in this plugin
/qdrant-clients-sdkSelect and use official Qdrant client SDKs, REST API, gRPC API, and curated snippet search. Use this skill when the user asks for Qdrant API reference, client installation commands, SDK language choice, upload point examples, FastEmbed setup, or REST versus gRPC guidance./qdrant-deployment-optionsSelect the right Qdrant deployment model across local mode, Docker self-hosting, Qdrant Cloud, Hybrid Cloud, distributed deployment, and Qdrant EDGE. Use when someone asks how to deploy Qdrant, Docker vs Cloud, embedded Qdrant, local mode, self-hosted vs cloud, lowest latency, data residency, production readiness, or which deployment option fits a new vector search project./qdrant-model-migrationPlan zero-downtime embedding model migrations in Qdrant with aliases, re-embedding, side-by-side collections, hybrid dense/sparse search, and bulk upload tuning. Use when switching embedding models, changing vector dimensions or providers, upgrading to hybrid search, re-embedding data, or A/B testing models./qdrant-monitoringGuide Qdrant monitoring, observability, health checks, Prometheus, Grafana, alerting, log centralization, and metric-based production debugging. Use when users ask how to monitor Qdrant, what metrics to track, whether Qdrant is healthy, why optimizers are stuck, why memory is growing, why requests are slow, or how to set up Prometheus or Grafana./qdrant-scalingGuide Qdrant scaling decisions for data volume, query throughput, query latency, query volume, tenant growth, sharding, and capacity planning. Use when someone asks how many nodes are needed, whether to scale vertically or horizontally, why a cluster is slow, how to shard, or how to add capacity./qdrant-search-qualityDiagnose and improve Qdrant search relevance by separating embedding, payload, index, and query-strategy causes. Use when users report bad search results, wrong results, low precision, low recall, irrelevant matches, missing expected results, quantization regressions, model changes, data growth, or ask whether to use hybrid search, reranking, relevance feedback, or a different embedding model.npx claudepluginhub gbb-acelerators/awesome-harness-primitives --plugin qdrant-developmentOther plugins' skills for the same job