Qdrant strict mode limits and rate limiting

Strict mode and rate limits keep one client's expensive filters, oversized batches or request floods from degrading a shared Qdrant cluster. This page explains what to limit, what each limit trades off and how to set them.

On this page

Why a shared Qdrant cluster needs strict mode limits

Strict mode limits and rate limiting are the controls that protect a shared Qdrant cluster from requests that are expensive or abusive. When several services or tenants search one self-hosted cluster, a single unindexed filter on a large collection, an oversized query, a bulk write or a burst of requests from one client can consume CPU, memory and disk I/O that every other caller depends on. Without limits, the cluster has no built-in way to tell a costly request from a normal one, so the slowdown lands on everyone.

Qdrant's strict mode is a configuration feature that lets an operator reject or bound requests that the cluster would otherwise accept, such as filters on fields without a payload index, queries or batches above set sizes, operations that exceed configured timeouts, and collections that grow past point or storage thresholds. Rate limiting adds per-replica limits on reads and writes. Because these are configured in the cluster rather than in client code, they hold even when a client is misbehaving. Confirm the exact setting names, their defaults and which limits are available in your Qdrant version before you write any configuration, since the feature set has changed across releases.

Teams usually need these controls once a cluster has more than one caller with different priorities, or once a service that is not yours can send queries directly. Start by listing every client, its typical filter patterns and its batch sizes, then identify which collections have payload indexes for the fields they filter on. Those inventories decide which limits to set and what error your clients must handle. Plan to test the limits against realistic load in a staging cluster, because a limit set too low will break legitimate traffic while one set too high protects nothing.

Which limit to set first and what each one trades off

This table compares six limits that protect a shared Qdrant cluster, from unindexed filtering to per-replica rate limits. Read each row for the risk it addresses, the damage a value set too low does to legitimate workloads, and the measurements to take before choosing a number. Start with the limit that matches your largest known risk, and test the value against a sample of production traffic before enforcing it.

LimitRisk it addressesCost of setting it too lowMeasure before choosing a value
Unindexed filteringFilters on fields without a payload index force scans across many points and slow every tenant.Legitimate filtered queries are refused until the team adds the missing index.Which payload fields appear in filters and whether each one has an index.
Query sizeVery large query vectors or high result limits consume memory and CPU on every request.Clients using larger embedding models or wider result sets get rejected.Vector dimensions in use and the largest result limit clients request.
Batch sizeOversized upserts or batch searches hold memory and block other writers.Bulk loads and migrations split into more requests, slowing ingestion pipelines.Points per upsert in your loaders and the batch sizes your SDK sends by default.
TimeoutsSlow requests hold connections and threads while the cluster waits on them.Heavy searches or large snapshot operations time out, get retried and add load.p99 latency per endpoint under normal and peak load, including filter-heavy queries.
Points and storageOne collection or tenant grows until it exhausts disk or memory on a node.Normal growth blocks new writes and ingestion stops at the cap.Current point counts, growth trend, and disk and RAM headroom on each node.
Per-replica read and write rateA burst from one client saturates a replica and degrades other workloads.Dashboards, agents or indexing jobs get throttled during normal peak traffic.Request rates per client and per replica at peak, and how each SDK retries rejected calls.

Setting strict mode and rate limits on a running cluster

This sequence takes a shared Qdrant cluster from unbounded requests to a measured set of limits. Each step ends with a check so the platform team can confirm the change worked before it reaches production.

  1. Inventory workloads and query patterns

    The platform team lists every application, batch job and agent that calls the cluster, along with the collections each one touches. For each caller, record the request types it sends (search, recommend, scroll, upsert, snapshot), typical filter shapes, batch sizes and peak hours. Separate interactive callers from bulk loaders, since their limits will differ. The check is that every client has a named owner and a row in the inventory, and no collection is left without a known caller.

  2. Confirm payload indexes for filtered collections

    For each collection that callers filter on payload fields, confirm that indexes exist for those fields before strict mode is enabled. Strict mode limits unindexed filtering, so a filter that worked before may fail afterward. Run each inventoried filter against a staging copy of the collection and confirm it returns the expected results. The check is that every filtered field is either indexed or has a documented change request to the caller.

  3. Enable strict mode in staging

    Turn on strict mode in a staging cluster that matches production in version, topology and collection configuration as closely as possible. Confirm the setting name and format in the Qdrant configuration documentation for the exact release in use, since option names can differ between versions. Staging with empty or small collections will not show realistic costs, so load it with representative data first. The check is that the setting is in effect on every staging node after restart and that the inventoried test queries still pass.

  4. Measure traffic and set thresholds

    Replay the inventoried traffic against staging and record latency, error rates and resource use for each request type. Set limits for query size, batch size, timeouts, points per collection and storage from the observed peak values plus headroom agreed with each owner. Write the thresholds in a table keyed by caller and collection. The check is that the owners sign off on the table and that the replay of normal traffic stays under every limit with room to spare.

  5. Apply per-replica rate limits

    Configure read and write rate limits for each replica, keeping in mind that each replica enforces its own limit. The effective cluster-wide ceiling therefore depends on the number of replicas and on how the load balancer distributes requests among them. Confirm this behavior in the documentation for the release in use before setting the values. The check is that a load test sent through the same load balancer as production produces a ceiling that matches the expected per-replica value across all replicas.

  6. Roll out through configuration management

    Commit the settings to the version-controlled repository that already manages deployment, whether that is Helm values, container environment variables or configuration files. Pass the change through the normal review process and deploy one node at a time, so a faulty value cannot reject traffic on every node at once. Keep the previous committed version ready for rollback. The check is that the running configuration on each node matches the committed file and a drift check reports no differences.

  7. Verify limits with test requests

    Send test requests that deliberately exceed each limit: an oversized query, a batch above the batch limit, a filter on an unindexed field, a request that runs past the timeout, a write burst above the write rate and a write that would exceed the point cap. Record the status code and error body for each, and confirm the error responses against the documentation for the release. Then confirm that normal inventoried traffic still succeeds. The check is that every test returns the expected rejection, the rejections appear in logs and the monitoring alert for rejections fires.

Security and operational risks of leaving limits unset

Qdrant ships without authentication and accepts the requests its clients send, so one caller can consume the capacity that every other team depends on. The cards below name the risks that appear when query, batch and write sizes have no ceiling, and the control or monitoring check that catches each one.

Denial of service from unbounded requests

A single client that sends a flood of searches or writes can saturate CPU, memory and I/O on the nodes that serve every collection. Because limits complement authentication and network controls rather than replacing them, keys and network binding stop strangers while rate limits and timeouts stop authorized callers from overwhelming the cluster. Check per-replica read and write rate limits for each client path, and confirm which services hold the read-only key.

Qdrant security docs

Unindexed filters that scan collections

A filter on a payload field without a payload index forces Qdrant to examine a large share of stored points on each query, which turns a cheap lookup into a costly scan. Strict mode can reject unindexed filtering so these queries fail fast instead of quietly degrading latency for other tenants. Review which payload fields clients filter on, index the ones they need, and confirm that strict mode rejects the rest in a staging cluster before enabling it in production.

Large payloads consuming memory

Oversized query vectors, large batch upserts and payloads with very large fields all draw on memory during request handling. A caller that sends one enormous request can push a node toward out-of-memory conditions even when its request rate is modest. Set limits on query size and batch size, then test the largest legitimate request your applications produce so the ceiling sits above real traffic and below the point where a node degrades.

Snapshot and storage growth from bulk writes

Bulk ingestion can fill disks quickly, and collection snapshots copy every vector and payload, so growth shows up twice in backup storage. Points and storage limits cap how far one workload can expand a collection. Track disk usage per node, compare it with the size of recent snapshots, and alert before a node reaches its storage threshold, because a full disk on one replica affects every shard it holds.

Qdrant snapshots docs

Misconfiguration across replicas

Limits applied to one node but not its peers produce inconsistent behavior, where a request succeeds on one replica and times out on another. This is easy to create during rolling restarts or when configuration is managed by hand on each node. Keep one configuration source for all nodes, apply changes through the same pipeline, and verify the effective settings on every node after each change rather than assuming the rollout reached all of them.

Rejections that go unnoticed

Limits only protect a cluster if someone sees when they trigger. Rejected requests, timeouts and rate-limit responses can look like application errors to the calling team, and the operations team may never see the pattern. Route rejection and timeout counts into your metrics and alerting, establish a baseline for normal rejection rates, and review which client caused each spike so that a limit set too low gets raised deliberately rather than worked around.

How limits differ for single-node, shared and multitenant clusters

A single-node instance used for development usually has one or a few users who can reach it, so the main risk is a developer's own script exhausting memory or disk. Limits here protect the workstation or small VM rather than other tenants, and the thresholds are often set once by the engineer who built the environment. Strict mode is still worth enabling, because a query pattern that works on a small test collection can behave very differently on production-sized data. Expect the defaults to be permissive and the feedback loop to be short.

  • Owner: the engineer or team lead who deployed the instance, with no separate approval path.
  • Exceptions: handled informally in the team channel, and usually recorded only in the deployment notes.
  • Testing value: enable the same strict mode settings you plan to use in production so unindexed filters and oversized batches surface early.
  • Data realism: limits tuned on sample data may not reflect production collection sizes, so record which assumptions were made.
  • Drift risk: a dev instance that is copied into production without revisiting thresholds carries its permissive settings with it.

Before promoting any configuration, confirm which limits your Qdrant version supports and test each one against a representative collection size.

Limits to confirm in your environment

Strict mode and rate limits only protect a shared cluster if they exist in your Qdrant version, reach every replica and node, and behave correctly when clients, load balancers and failover get involved. The cards below list what to verify before you treat these settings as a control.

Confirm the Qdrant version

Strict mode limits and per-replica rate limits are version-specific, so check the settings against the exact release you run, not the latest one. The current release on GitHub is v1.19.2, but a cluster on an older minor version may not expose every option. Read the release notes for your version and the configuration reference before you write limit values into your deployment files.

Qdrant releases

Map limits across replicas

Rate limits apply per replica, so a cluster with several nodes and a replication factor can accept more total requests than one replica's limit suggests. Work out the effective ceiling for each collection by counting the replicas that serve reads and writes, and confirm whether your load balancer spreads traffic evenly. Replication also doubles storage at a factor of 2, which changes what a points or storage limit actually protects.

Distributed deployment docs

Check load balancer behavior

A load balancer in front of Qdrant can hide the client address, retry rejected requests on another node, or hold connections open long enough to exhaust timeouts. Test whether a rejected request returns a clear status code that the balancer passes through, and whether limits are keyed on the right source. Write down which layer enforces each limit so one layer cannot silently weaken another.

Test client SDK retry logic

A client that retries every failed call immediately can turn a rate limit into a load spike that makes the outage worse. Confirm how your Python, TypeScript or Java client handles rejections, which errors it retries, how many attempts it makes, and whether it backs off between them. Run a test that exceeds each limit and record what the application does, including how it reports the error to users.

Review behavior during failover

When a node fails, its shards are served by replicas that may already be near their limits, and a recovering node can run optimizer or replication work that competes with user requests. Decide whether thresholds should tighten or stay fixed during failover, and test a node loss with limits active. Confirm how the cluster behaves if quorum is lost, since writes can fail even when reads still succeed.

Confirm limits appear in monitoring

A limit that rejects requests without a metric or alert is hard to tell apart from an application bug. Check that rejected requests, timeouts and storage growth are visible in the metrics your team already collects, and that alerts fire before a shared tenant is blocked. Ask who owns a limit change and how the change is logged, so the setting in place matches what operators believe is in place.

Qdrant installation docs

Questions teams ask before setting Qdrant limits

Does strict mode cost extra in the open-source Qdrant engine?

The open-source engine is licensed under Apache-2.0 and is free to self-host, so the license does not add a charge for the engine. Whether a specific limit is available depends on the release you run, so confirm each setting against the documentation and release notes for your version on the Qdrant GitHub releases page before you plan around it. The costs you will pay are internal or partner engineering time to choose values, a staging cluster to test them, and the time to review limits again when traffic or schemas change. Ask any partner for a quote that lists those activities separately, including which items are one-time and which recur.

How long does tuning Qdrant request limits usually take?

The duration depends on the shape of your workload rather than on a fixed schedule, so ask for a plan that ties each phase to evidence. The main drivers are the number of collections and teams sharing the cluster, how many distinct query patterns exist, whether good query logs already exist, and how many test rounds are needed to find safe thresholds. Change control matters too: if every new limit needs a review board, each round takes longer. Clusters with clear ownership and recorded traffic usually move faster than clusters where the first task is finding out who calls the API.

What data must our team provide before limits can be set?

Three inputs shape almost every limit decision. Query logs show which endpoints run, how large requests are, and where the slow calls come from. Collection schemas show vector sizes, payload fields, which fields have payload indexes, and how many points each collection holds. Traffic data shows peak request rates, batch sizes, and the list of clients and service accounts that send them. It also helps to know the latency targets your applications need, which teams share the cluster, and who is allowed to call administrative endpoints. Missing any of these means the first phase becomes discovery work.

Can our own engineers configure these limits without a partner?

Yes, if your team already operates Qdrant and can test changes safely. The work needs a staging cluster that matches production closely enough to reproduce expensive requests, a load testing tool that can send realistic query shapes, and a change process that records each setting and its reason. Your engineers also need to know how limits interact with client retries, because a limit that rejects a request can trigger a retry storm. A partner is useful when your team lacks that operational history or when the work must be finished in a fixed window.

What does a partner add beyond the configuration changes?

A partner adds planning, testing and documentation around the settings. Under a fixed scope agreed in writing, DeployOpen can review logs and schemas, reproduce expensive requests in a test environment, set limits with the client, retest them, and write a runbook that operators can follow later. DeployOpen also runs security testing, so limit testing can sit alongside access control checks. After handover, ongoing support, upgrade checks and continuous testing are available as retainers. The client keeps ownership of the cluster and decides which limits to accept.

Which requests usually cause trouble on a shared Qdrant cluster?

Most incidents come from a small set of request types. Filters on payload fields without an index force scans over large collections, which slows every other client on the node. Very large query or batch payloads consume memory and network capacity in one request. Long-running requests with no timeout hold resources after the caller has given up. Bulk writes can grow storage quickly, and a single client that sends bursts can starve others. Start by finding these patterns in your query logs, then decide which ones need a hard limit and which need a fix in the application.

Does rate limiting protect against a compromised client?

Rate and size limits reduce the damage a misbehaving or compromised client can do, but they do not decide who may access data. Access control comes from the mechanisms Qdrant documents: admin and read-only API keys, supported since v1.2.0, and JWT-based access with per-collection read or write permissions, supported since v1.9.0. Use those controls to limit what each caller can reach, then use limits to cap how much it can consume. Confirm your exact configuration against the Qdrant security documentation for your version, and test both layers together.

How a request passes through limits on its way to a replica

A request starts at the client application and crosses the trust boundary at the authentication check, which validates the API key or JWT before anything else runs. Valid requests then pass the rate limit check, which governs reads and writes per replica, and the strict mode validation, which rejects requests that break the configured limits on filters, query and batch size, timeouts, points and storage. Only requests that clear all three checks reach a replica. Every rejection branch returns an error to the client, so teams can see which control fired. Check each branch when you tune limits.

Requests clear authentication, rate limits and strict mode before reaching a replica.

Tuning thresholds from measured traffic

Strict mode limits and rate limits are only useful if the numbers behind them come from how your cluster is actually used. Start by collecting a baseline before you set any value: request counts per collection, the share of requests rejected by each limit, and latency percentiles (p50, p95 and p99) for search, scroll and upsert calls. Confirm first which metrics your Qdrant version exposes on its metrics endpoint and whether rejection reasons are broken out by error type, because a limit you cannot see being hit cannot be tuned. Record the baseline over at least one full business cycle, including the batch jobs and reindexing runs your teams schedule, so the thresholds reflect normal peaks rather than a quiet afternoon.

Use the rejection counts as the feedback signal. A limit that rejects a steady trickle of requests from one known service usually means the limit is too tight for a legitimate workload, or that the client is sending queries that should be restructured, such as filters on unindexed payload fields. Rejections that spike in a short window from a single API key, a single client address or a single collection are a different pattern. Compare those spikes against the key or JWT that sent them, the time of day and any deployment events. Treat a spike that correlates with a release or a scheduled import as a planning issue, and treat an unexplained spike from a credential nobody owns as an incident to investigate with your audit logs.

Revisit thresholds on a schedule, not only after an incident. Raise limits in small steps, watch p99 latency and rejection rates for the same workload, and roll back if tail latency worsens. Record each change with the date, the reason and the measured effect, so the next review starts from evidence. Ask your team to confirm the retention period of its metrics store, since a baseline that is only kept for a week cannot show seasonal load. The output of this work is a documented threshold table per collection and per client class, which is the artifact to check against the Qdrant release notes whenever you upgrade.

How DeployOpen scopes and delivers Qdrant hardening

DeployOpen plans, implements and documents Qdrant strict mode limits and rate limiting inside infrastructure you control, so shared clusters stay responsive under expensive or abusive requests. Each engagement starts from a written scope that names the limits, the rate limits and the clients they affect, and ends with runbooks your team can operate.

How we scope

  • Inventory every client, service and team that sends requests to the shared Qdrant cluster and what each one needs.
  • Agree in writing which strict mode limits, timeouts and per-replica rate limits will be configured, and where.
  • Confirm the settings your Qdrant version supports by checking its documentation before any change is planned.

How we build

  • Configure strict mode limits on unindexed filtering, query and batch size, points and storage in a staging cluster first.
  • Set per-replica read and write rate limits, then test how normal traffic and peak traffic behave against them.
  • Run abuse test cases such as oversized batches and unindexed filters, and retest after each fix.

How we hand over

  • Deliver the written configuration, the test results and the rollback steps for every limit that was changed.
  • Document which client errors to expect when a limit is hit, so application teams can handle them correctly.
  • Walk your platform and operations staff through the runbook for adjusting limits as workloads change.

How we support

  • Engagements are fixed-scope, with scope, deliverables and timelines agreed in writing before work starts.
  • Ongoing support, version upgrades and continuous testing of limits are available as a retainer.
  • Ask for the retainer scope in writing, including how limit changes are tested before they reach production.

Sources and further reading

Talk to our team.

Tell us what you're working on, whether it's a deployment, an audit, a security test or a cyber range. You'll speak with an engineer who can help you scope it.

  • 30-minute call: free, with no obligation.
  • NDA on request: we can sign before you share details.
  • Clear next steps: a scope and plan after the call.