Load balancing a self-hosted Qdrant cluster

A practical plan for putting REST and gRPC traffic from a self-hosted Qdrant cluster behind a load balancer, routing on health endpoints, keeping internal cluster traffic private and scraping metrics per node.

On this page

Why a self-hosted Qdrant cluster needs a deliberate load balancing design

Put a load balancer in front of the Qdrant nodes and route traffic using the health endpoints. That is the usual pattern for a self-hosted cluster, and Qdrant does not ship a balancer of its own, so the team running the cluster owns the choice of balancer, the routing rules and the ports it exposes. The decision needs to be made before clients are pointed at the cluster, because changing the endpoint later means touching every application that connects.

The need appears as soon as the cluster has more than one node, several client applications share it, or nodes must be taken down for rolling maintenance. Without a balancer, each client has to hold a list of node addresses, retry on its own, and learn about every node change. The health endpoints /healthz, /livez and /readyz, available since v1.5.0, return HTTP 200 when Qdrant is started and ready and answer with or without an API key, so the balancer can check each node directly and stop sending traffic to one that is not ready. Confirm the exact response behavior of each endpoint against your Qdrant version before you encode it in a health check.

Qdrant is licensed under Apache-2.0 and the open-source engine is free to self-host, so the costs here are the balancer, the compute that runs it, and the engineering time to configure and test it. This page assumes the cluster is already designed, meaning node count, shard and replica layout, and storage are settled. If that work is not finished, start with the Qdrant GitHub repository and releases to confirm the version you plan to run, then return here to design the traffic path.

Which client traffic goes through the balancer and which does not

A self-hosted Qdrant cluster carries three kinds of traffic: client requests, traffic between nodes, and metrics scraping. Each class needs a different exposure rule, and mixing them up is one of the most common ways a balanced cluster ends up leaking internal ports or routing requests to nodes that are not ready.

Client REST requests

Application requests to the REST API are the traffic the balancer exists to spread across nodes. Route them to the public REST port on every node, and confirm the exact port number for your version in the installation docs. Set the balancer to send requests only to nodes whose readiness probe passes, and confirm that your client SDK can handle a node disappearing mid-session by retrying against another address.

Installation docs

Client gRPC requests

gRPC clients connect on a separate public port and usually hold long-lived HTTP/2 connections. A balancer in front of gRPC must support HTTP/2 end to end, otherwise connections stick to one node and load stays uneven. Confirm the gRPC port number and protocol handling for your version, and test both REST and gRPC paths with the same failover scenario before go-live.

Inter-node traffic on port 6335

Nodes use port 6335 to exchange consensus and shard data. This port must stay on a private network reachable only by other Qdrant nodes, and it must never be published through the client balancer or a public ingress. Confirm the port number for your release in the distributed deployment docs, and check your firewall and security groups to verify that no client-facing rule covers it.

Distributed deployment docs

Health endpoints for routing

The balancer should use the health endpoints to decide which nodes receive traffic. Qdrant exposes /healthz, /livez and /readyz, which return HTTP 200 once the node has started and is ready, and they respond with or without an API key. Use /readyz for routing decisions and confirm which probe your balancer can call without exposing the rest of the API.

Endpoints available since
v1.5.0

Per-node metrics scraping

Metrics are read per node, not through the client balancer. A balanced address hides which node answered, so a scrape through it gives you samples from a random node rather than a full picture. Configure Prometheus or your collector to scrape each node directly on its metrics port over the internal network, and confirm the metrics path and port in the monitoring docs.

Monitoring docs

Admin and API key access

Every self-deployed Qdrant instance starts with no authentication and listens on all interfaces. Before any balancer is placed in front of the cluster, configure API keys and TLS, and decide which paths the balancer forwards. Confirm with your security team that administrative operations are reachable only from approved hosts, not through the general client address.

Balancer options for Qdrant REST and gRPC traffic

A dedicated network or cloud load balancer sits in front of the Qdrant nodes as a separate managed or appliance component. It is usually the simplest place to terminate TLS for both REST and gRPC, and it keeps routing rules outside the Qdrant hosts. Whether it passes HTTP/2 through to gRPC backends, and whether it can run health checks against Qdrant's REST port while forwarding gRPC, varies by product and configuration.

  • HTTP/2 for gRPC: Confirm that the listener and backend pool both accept HTTP/2 end to end. Some products terminate HTTP/2 at the edge and speak HTTP/1.1 to backends, which breaks gRPC.
  • TLS termination: Decide whether TLS ends at the balancer or is passed through to nodes. Terminating at the balancer simplifies certificates but leaves the internal hop unencrypted unless re-encryption is configured.
  • Health checks: Point checks at the REST port and the /readyz path, since the health endpoints are reachable without an API key.
  • Cost components: Managed balancers are billed by the provider, while appliances carry licensing and hardware support that the organization pays for.
  • Ownership: The network team usually operates this layer, so agree on change control for Qdrant listeners and backends in advance.

Before you commit, confirm the vendor's HTTP/2 and gRPC backend support and its health check options in writing.

Setting up the balancer and health routing step by step

This sequence takes a self-hosted Qdrant cluster from unprotected default nodes to a single client endpoint that only routes traffic to nodes that report ready. Each step ends with a check you can run before moving on.

  1. Inventory node addresses and ports

    Start by listing every Qdrant node, its private address, the REST port (6333 by default) and the gRPC port (6334 by default), and confirm which node sits in which zone or rack. Record the internal cluster communication port (6335) as internal only, since it carries peer traffic between nodes and should never be a balancer target. Confirm the layout with your network team before any balancer config is written. Done when you have a table of node, address, REST port, gRPC port and network segment, and each address answers on its REST port from the balancer subnet.

  2. Enable API keys and TLS before exposure

    Qdrant's security documentation states that self-deployed instances are not secure by default: they listen on all interfaces and have no authentication configured. Before any node is reachable from the balancer, configure an admin API key, a read-only key where clients only search, and TLS for REST and gRPC, following the security guide. Restrict the balancer's listener to the approved client network. Done when an unauthenticated request to a collections endpoint on each node is rejected, and an authenticated request with the admin key succeeds over TLS.

  3. Confirm the health endpoints on each node

    Qdrant exposes /healthz, /livez and /readyz from v1.5.0 onward. Per the monitoring documentation, these return HTTP 200 once Qdrant is started and ready, and they respond with or without an API key. Run a direct request against each node's health paths from the balancer subnet and confirm the response codes. Done when every node returns 200 on /readyz and /livez. If the version on any node predates v1.5.0, stop and upgrade that node first, and confirm your target release against the Qdrant releases page.

  4. Point routing checks at readyz and liveness at livez

    Configure the load balancer's health monitor so that routing decisions use /readyz, which means a node only receives client traffic once it reports ready. Configure a separate liveness check against /livez, which your platform can use to decide whether a process should be restarted. Keep both checks on the REST port and set the health check to the same TLS settings as the data path. Do not route health checks through the gRPC listener. Done when a manually stopped or restarting node drops out of the pool in the balancer's status view and returns once it reports ready again.

  5. Verify each node directly before pooling

    Before adding a node to the pool, send it a direct request to /readyz over TLS from the balancer subnet and confirm HTTP 200. Then run a simple collection listing with the admin key against that node, so you know the node serves the cluster and not just the process. Add nodes to the pool one at a time, so a failing node never enters traffic. Done when every node in the pool has a recorded direct 200 response and a successful authenticated call, and the balancer status shows all pool members healthy.

  6. Route clients through the single endpoint

    Publish one hostname for clients that resolves to the balancer, and configure separate listeners or routes for REST on 6333 and gRPC on 6334 to the node pools. Confirm the gRPC path supports the HTTP/2 behavior your load balancer requires, and check the balancer's documentation for gRPC health and timeouts. Keep port 6335 unreachable from clients. Done when a client SDK connects to the single hostname with an API key, runs a search, and the request appears in the access logs of more than one node over repeated calls.

  7. Test failover and confirm the metrics path

    Stop one node in a staging cluster and confirm the balancer removes it from the pool while client searches keep returning results, with the degradation limited by your replication and consistency settings. Restart the node and confirm it rejoins after /readyz returns 200. Then confirm your metrics scrapers reach each node individually behind the balancer, not through the client endpoint, so per-node data stays attributable. Done when the failover test passes, the restarted node receives traffic again, and each node's metrics endpoint returns data to your scraper.

How health endpoints decide which node receives traffic

A load balancer in front of a self-hosted Qdrant cluster is only as good as the health check it uses to decide where traffic goes. Qdrant exposes three endpoints for this purpose: /livez, /readyz and /healthz. The Qdrant monitoring documentation states that all three return HTTP 200 once Qdrant has started and is ready, and that they can be reached with or without an API key. In plain terms, /livez answers whether the process is running, /readyz answers whether the node is ready to serve, and /healthz is the general health signal. Because the endpoints respond without credentials, a balancer can probe them without storing an API key in its configuration.

The risk is a node that is alive but still catching up. A process can start, answer its health endpoint with HTTP 200, and still hold incomplete data while it rejoins the cluster or while shards are being transferred to it. If the balancer treats that response as a green light, client searches and writes can land on a node whose view of the collection is behind its peers, which can show up as missing results or inconsistent reads. Whether /readyz returns a non-200 status during shard transfer or recovery is the detail to confirm in the monitoring documentation before you write balancer rules around it. Do not assume the answer from the general description.

Test the balancer's behavior during a restart rather than relying on the configuration alone. Stop one node in a non-production cluster, then watch how long the balancer keeps sending traffic to it, whether any requests fail during the window, and how it reintroduces the node after it returns. Repeat the test while a shard transfer is in progress, since that is the state where a probe result is least likely to match actual data readiness. Record the probe interval, failure threshold and recovery threshold your balancer uses, so the results can be reproduced when you change them. The Qdrant monitoring and telemetry documentation is the place to confirm the exact semantics of each endpoint for your version.

How client requests, health checks and metrics flow through the cluster

Client traffic enters at the load balancer on the public or client network and is forwarded to the Qdrant nodes inside the private cluster network. The balancer also polls each node's /readyz endpoint to decide where to route, and the metrics scraper reaches every node on its own internal path. Check that port 6335, used for node-to-node traffic, is reachable only between cluster members and never from the balancer or clients.

Client traffic, health probes, peer traffic and metrics scraping across the trust boundary.

Keeping port 6335 internal and securing the balancer path

A load balancer in front of a self-hosted Qdrant cluster widens the exposed surface if it is set up carelessly. The cards below set the rules for which ports sit behind the balancer, how client credentials and TLS pass through it, and how metrics and audit trails stay under control.

Keep port 6335 on the private network

Port 6335 carries the internal gRPC traffic that nodes use to talk to each other for consensus and shard transfers. It must stay on the private network between nodes and must never appear as a listener in the balancer's pool or public rules. Check the balancer configuration and the firewall rules to confirm that only the client-facing REST and gRPC ports are published.

Distributed deployment docs

Apply API keys to the client path

Self-deployed Qdrant ships with no authentication, so the balancer does not add security by itself. Configure an admin API key for administrative work and a read-only key for query-only clients, and make sure every node enforces them. Confirm that a request sent without a key is rejected when it arrives through the balancer, not only when it hits a node directly.

Qdrant security docs

Terminate TLS for REST and gRPC

Qdrant supports TLS for both REST and gRPC, and clients should reach the balancer over encrypted connections. Decide whether the balancer terminates TLS and re-encrypts to the nodes, or passes encrypted traffic straight through, and document that choice. Verify certificate chains for both protocols, since gRPC clients are often stricter about trust settings than REST clients.

TLS support added
v1.2.0

Pass authentication headers through

The balancer must forward the API key header to the node unchanged. Some balancer configurations strip unknown headers, rewrite the request, or drop gRPC metadata, and any of these can make a valid client look unauthenticated or bypass a check. Test a query with a valid key, an invalid key and a read-only key through the balancer before go-live.

Set a deliberate rule for metrics

Metrics and health endpoints expose node state that attackers and curious clients should not see. Health probes can be reached with or without an API key, so decide which paths the balancer publishes and which stay on internal monitoring addresses. Scrape each node directly from the monitoring network where possible, and restrict any balancer-exposed metrics path to known scrapers.

Monitoring docs

Trace operations with audit logs

Once requests pass through a shared balancer, the node sees only the balancer's address unless forwarding headers are handled correctly. Qdrant's JSON audit logging of authenticated API operations, available since v1.17.0, lets you trace which key performed which operation on which node. Enable it on every node, forward logs to your central store, and test that a single client request can be followed across the balancer and the node.

Audit logging in the docs

Scraping metrics per node when a balancer sits in front

Scrape every Qdrant node directly, not only the balancer, because a load balancer hides per-node problems. If Prometheus or another collector reads metrics only through the balancer, each scrape lands on whichever node the balancer picks, so a node that is slow, out of memory, or has fallen behind on replication can disappear from the graphs while the cluster still looks healthy. Give each node its own scrape target on an internal address, reachable from the monitoring network only, and keep the balancer out of the metrics path. Confirm the metrics endpoint, its authentication behavior and the exact metric names in the Qdrant monitoring and telemetry documentation before you write scrape configs, since those details can change between releases.

Alert on conditions that differ by node. Useful candidates include a node that stops answering its health endpoints, a node whose request latency or error rate rises while its peers stay normal, memory or disk usage that trends toward limits on one node only, and shard or replica states that report a problem on a single peer. Each of these needs a per-node alert, because a cluster-wide average can stay green while one node degrades. Agree with your operations team which alerts page someone and which open a ticket, and test each one by stopping or slowing a single node in a staging cluster. The exact metric names and thresholds are yours to set after you confirm them in the documentation and measure your own baseline.

Every dashboard panel that shows Qdrant data needs a node label, so an operator can tell a single unhealthy peer from a cluster-wide trend. Add the instance or node identifier your scrape configuration produces as a dimension, and keep balancer-level panels in a separate row so they do not blend with node data. Check that the label values match the node names used in cluster operations, so the person who sees a bad node on the dashboard can act on it with the same identifier in the Qdrant API. Review the label set after each Qdrant upgrade, since metric names and label conventions may change.

Limits to confirm before you rely on a balancer

A load balancer in front of a self-hosted Qdrant cluster changes how gRPC, health checks and restarts behave. The cards below are questions to answer in your own environment before routing production traffic through it, because the balancer product and your network decide the outcome.

Does the balancer carry gRPC end to end?

Qdrant clients often use gRPC over HTTP/2 on the gRPC port. Confirm that your balancer proxies HTTP/2 from client to Qdrant node without downgrading, terminating and re-originating it in a way that breaks streaming calls. Test with the same client SDK and batch sizes you run in production, and check that both the REST and gRPC listeners answer through the same virtual address when you expect them to.

Qdrant installation docs

Are sticky sessions required?

Decide whether a client must keep reaching the same node across requests. Qdrant does not need session affinity for ordinary search and upsert calls, but a balancer that spreads a single client's related requests across nodes can produce different results while replicas catch up. Confirm the balancer's session behavior, then test read consistency settings with it before deciding that stickiness is unnecessary.

How long do connections drain on restart?

During a rolling restart the balancer must stop sending new requests to a node while in-flight searches and uploads finish. Measure how long your balancer keeps existing gRPC streams and keep-alive connections open after a node is pulled from rotation, and compare that with how long a Qdrant node takes to stop and start on your storage. A drain window shorter than an in-flight large upload can cause client errors that look like data loss.

Do health checks fight shard transfers?

A node that is ready to answer health probes may still be receiving or sending shard data, and a node in that state can be slower than its peers. Confirm whether your health check only verifies the process, or whether it also reflects load. Then test a shard move with the balancer in place to see whether the balancer removes a node from rotation mid-transfer and whether that changes the cluster's replica states.

Is block storage on every node?

A balancer does not change where Qdrant keeps its data. Each node needs block-level storage with a POSIX-compatible file system, and Qdrant cannot run on network file systems such as NFS or on object storage such as S3. Confirm this on every node the balancer will route to, including replacement nodes and any node added during scaling, and check the storage the containers mount so that a node restart does not bring up an empty volume.

Qdrant installation docs

Is the monitoring path per node?

Metrics scraped through the balancer show only the node that answered, so averages hide a single slow or unhealthy node. Confirm that Prometheus or your other collectors reach each node's metrics endpoint directly, and that port 6335 stays internal to the cluster and is never exposed through the balancer. Verify that the balancer's health endpoint is the one you intend to use before wiring it into alerts.

Qdrant monitoring docs

Questions teams ask about balancing a self-hosted Qdrant cluster

How much effort does a load balancer setup for a self-hosted Qdrant cluster take?

The balancer itself is usually the smaller part. The effort comes from working out which nodes receive traffic, how each port is exposed, and how health checks decide whether a node is ready. The main drivers are the number of nodes, whether clients use REST, gRPC or both, how many networks sit between clients and the cluster, and whether TLS terminates at the balancer or at each node. Teams with a clear node inventory and an existing load balancer standard usually move faster. Ask any partner to break the quote into network design, configuration, health checks, metrics scraping, and testing of node failure, since each item grows with the environment.

Can an internal platform team set up balancing for Qdrant on its own?

Often yes, if the team already runs load balancers and Kubernetes or VM infrastructure and has experience with gRPC. The points that usually need care are keeping the internal cluster port (6335) unreachable from clients, routing gRPC correctly, and using the health endpoints for readiness rather than only checking that a port is open. A team new to Qdrant should also test what happens when one node restarts during a live write, because a balancer that sends traffic to a node still catching up can cause confusing results. An outside partner is most useful for a fixed-scope review, a build against a written test plan, or a second set of eyes before go-live.

What does the balancing work need from our network and security teams?

Plan for four inputs before work starts:

  • A node inventory with addresses, ports, and the zone or rack each node sits in
  • Firewall and routing rules that allow client traffic to the balancer while keeping node-to-node traffic on an internal network
  • Certificates for TLS, issued by your internal certificate authority or a public issuer, with a renewal process
  • Access to the metrics stack so each node can be scraped directly and the balancer does not hide per-node signals

By default, self-deployed Qdrant listens on all interfaces and has no authentication, so network rules and API keys should be in place before any balancer exposes it. Confirm these with your security team early, because they often set the schedule.

Does a managed Qdrant Cloud tier remove the need to balance traffic?

Qdrant Cloud manages the cluster, so your team does not configure the node-level balancing, health routing, or node placement inside it. You still need to decide how your applications connect, handle retries, and use the endpoints the service gives you. The tiers differ in what they include: the free single-node tier has no multi-node layout, while Standard and Premium carry different uptime commitments and Premium adds SSO and private VPC links. Check current terms on the pricing page before deciding, because managed offerings change how data location, network access, and support are handled. Self-hosting is the right choice when those controls must stay in your infrastructure.

How do the Helm chart and the enterprise operator change the balancing work?

Both change where the work sits. The community Helm chart gives you a Kubernetes deployment, but the balancer, ingress, service definitions, and health probes still need to be designed by your team or a partner. The enterprise Kubernetes operator, offered as part of Qdrant Private Cloud, handles more of the cluster lifecycle. Qdrant's documentation states that the Helm chart lacks enterprise features such as zero-downtime upgrades and automatic shard rebalancing, so upgrades and node changes need a plan that does not depend on the chart alone. Confirm with Qdrant which operator features apply to your version and deployment model before deciding which balancing pieces you build yourself.

Which metrics should we scrape per node when the balancer hides the cluster?

Scrape each node directly rather than only through the balancer, so a single unhealthy node does not disappear behind a healthy virtual address. Qdrant exposes its telemetry and monitoring data, and the monitoring documentation describes how to read it. The health endpoints /healthz, /livez and /readyz, available since v1.5.0, return HTTP 200 when Qdrant is started and ready and can be reached with or without an API key, which makes them suitable for balancer checks. Keep the per-node scrape targets in your metrics system and alert on readiness changes, since a balancer health check alone does not show which node failed or why.

What breaks most often after a Qdrant balancer goes live?

The most common issues are a health check that only tests the TCP port, so traffic reaches a node that has started but is not ready; client gRPC sessions that fail because the balancer does not handle HTTP/2 the way the client expects; and port 6335 being reachable from outside the cluster network. Another frequent problem is a node restart during writes, after which operators see inconsistent reads until the cluster finishes recovery. Test each of these in a non-production environment with the failure scenarios you plan to accept, and keep a runbook that names who checks the balancer, who checks the nodes, and who decides to pull a node out of rotation.

How DeployOpen scopes and delivers cluster load balancing

DeployOpen starts every load balancing engagement with a written traffic plan that maps which clients reach the cluster, over which protocol (REST or gRPC), through which entry point, and which nodes may receive each request. The plan also records what stays internal: port 6335 for cluster traffic between nodes, and the metrics endpoints that the balancer must never expose. Before any configuration, the team confirms the balancer, DNS names, certificate placement and network paths inside the infrastructure you control, so the design follows your existing platform rather than a generic template.

DeployOpen then configures the balancer and its health checks on your infrastructure, using the /readyz endpoint for routing decisions and /livez for restart logic, and confirms the behavior of each path with and without an API key. The work includes per-node metrics scraping that sits behind the balancer, so your monitoring can still see each node individually. The engagement ends with failover tests in which nodes are taken down one at a time under client load, and the results are recorded against the agreed acceptance criteria. Written documentation covers the configuration, the test evidence, and the runbook your operators will use.

Engagements are fixed-scope: the scope, deliverables and timelines are agreed in writing before work starts, and a quote follows from that written scope. Your cost depends on the number of entry points, the balancer you already run, the number of clients and protocols, and how many failover scenarios you want tested. Ongoing support, configuration changes after cluster growth and repeated failover testing are available as retainers. Ask for the traffic plan, the failure scenarios and the documentation list to be named explicitly in any quote so the two sides agree on what finished means.

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.