---
title: "Improve your cluster"
description: "A short checklist for making a Weaviate cluster harder to break: headroom, replication, monitoring, backups, staying current, and access control."
url: https://docs.weaviate.io/improve-your-cluster
---

# Improve your cluster

> [!TIP]
>
> **Just started Weaviate?**
>
> This page is linked from the banner Weaviate logs once a cluster is up. If you just ran it for the first time, the checklist is for later: start with the [quickstart](https://docs.weaviate.io/weaviate/quickstart) and [connect a client](https://docs.weaviate.io/weaviate/connections), and come back once you have data you would mind losing.

Most errors in the [error messages](https://docs.weaviate.io/errors) reference come from clusters that were short on headroom, unmonitored, or behind on versions. This page lists what to change so the next one does not happen. Do it once at setup and again when the workload changes shape: a new collection, many more tenants, a much larger import.

[](https://docs.weaviate.io/improve-your-cluster#easy-deployments-and-enterprise-options): Easy deployments & Enterprise options Everything on this page is work you can hand off. Weaviate Cloud runs the cluster for you. If it has to stay in your own environment, there are supported options for that too. See easier ways to run Weaviate

[Give it headroom](https://docs.weaviate.io/improve-your-cluster#give-the-cluster-headroom): Memory, disk, memory mappings, and vector memory are all knowable in advance.

[Survive losing a node](https://docs.weaviate.io/improve-your-cluster#survive-the-loss-of-a-node): More than one copy of anything you cannot rebuild quickly.

[Find out first](https://docs.weaviate.io/improve-your-cluster#find-out-before-your-users-do): Every limit announces itself in the logs and metrics before it is an outage.

[Be able to go back](https://docs.weaviate.io/improve-your-cluster#be-able-to-go-back): Replication copies mistakes perfectly. Backups are how you undo them.

[Stay current](https://docs.weaviate.io/improve-your-cluster#stay-current): Old versions carry every bug fixed since, and the upgrade comes anyway.

[Lock the door](https://docs.weaviate.io/improve-your-cluster#lock-the-door): An open cluster answers anyone who can reach it. That is a setting.

## Give the cluster headroom

Weaviate fails safely when it runs out of a resource: shards go read-only or refuse to load rather than corrupting data. That is the behavior you want, but it is still an outage, and every one of these limits is knowable in advance.

- Size memory for the working set, not the average[Resource planning →](https://docs.weaviate.io/weaviate/concepts/resources)

  Set GOMEMLIMIT, or LIMIT\_RESOURCES and let Weaviate derive it. Without one, the runtime assumes it may use the whole machine and gets killed by the container limit instead of collecting garbage harder.

- Treat 90% disk as the ceiling, not the target[Disk thresholds →](https://docs.weaviate.io/deploy/configuration/persistence#disk-pressure-warnings-and-limits)

  Weaviate warns above 80% and marks shards read-only above 90%, both tunable. Compaction and backups need free space too.

- Raise the memory-mapping limit[The fix →](https://docs.weaviate.io/errors/cluster-resources#not-enough-memory-mappings)

  Every shard costs kernel memory mappings, and the limit is a host setting, not a container one. Thousands of active tenants on one node pass a distribution default.

- Compress vectors[Compression →](https://docs.weaviate.io/weaviate/configuration/compression)

  Vector indexes are the largest consumer and quantization is the biggest single lever: a small amount of recall for a large reduction in memory, and it can be enabled on a collection you already have.

- Keep inactive tenants out of memory[Tenant states →](https://docs.weaviate.io/weaviate/manage-collections/tenant-states)

  Tenants you are not serving should not be resident. Deactivating or offloading them returns memory, mappings, and file handles.

## Survive the loss of a node

A single-node cluster has no bad days, only outages. If Weaviate holds data you cannot rebuild quickly from somewhere else, it needs more than one copy.

- Set a replication factor above one[Replication →](https://docs.weaviate.io/deploy/configuration/replication)

  On collections that matter, and when you create them: raising it later copies data across the network at a moment you probably did not choose.

  - Use an odd number of nodes — so the cluster can still form a majority when one is lost.

- Choose consistency levels deliberately[Consistency →](https://docs.weaviate.io/weaviate/concepts/replication-architecture/consistency)

  Weaviate lets you pick per request, so the write path and the read path can make different trade-offs.

- Turn on async replication[Async replication →](https://docs.weaviate.io/deploy/configuration/async-rep)

  Replicas that fall behind, or miss writes while restarting, repair themselves in the background instead of serving stale results until someone notices.

## Find out before your users do

Every resource limit above announces itself in the logs and in the metrics well before it becomes an outage. That warning is only worth having if something is reading it.

- Scrape the metrics endpoint[Monitoring →](https://docs.weaviate.io/deploy/configuration/monitoring)

  Weaviate exposes Prometheus metrics, and there is a ready-made Grafana setup to start from.

  - Alert on the leading indicators — heap usage against the limit, disk usage against the read-only threshold, and shards reporting read-only. Request failures come last; by then users have noticed.

- Collect the logs somewhere searchable[Logging →](https://docs.weaviate.io/deploy/configuration/logging)

  Weaviate logs JSON by default, so the fields are queryable without parsing message text. Alert on the action field rather than on wording, which changes between releases.

- Watch the cluster node data for shards that are not ready[Cluster status →](https://docs.weaviate.io/deploy/configuration/status#cluster-node-data)

  It is the fastest way to tell a slow cluster from a partly broken one.

## Be able to go back

Replication protects you from losing a node. It does not protect you from a bad import, a mistaken deletion, or a schema change you want to undo, because all three replicate perfectly.

- Configure a backup backend and a schedule[Backups →](https://docs.weaviate.io/deploy/configuration/backups)

  To storage that is not the cluster's own disk.

  - Restore one — an untested backup is a hypothesis. Restore into a scratch cluster and query it, at least once, before you need it to work.
  - Check what a backup covers — against what you would need to rebuild, including collection configuration and inactive tenants.

- Keep persistence on a volume that outlives the container[Persistence →](https://docs.weaviate.io/deploy/configuration/persistence)

  A container restart should not be a data-loss event.

## Stay current

Running a version that is a year old means carrying every bug that has since been fixed, and paying for the upgrade later anyway, in one larger jump.

- Read the release notes before upgrading[Release notes →](https://docs.weaviate.io/weaviate/release-notes)

  And the migration guide when there is one.

- Check the known issues page when something is strange[Known issues →](https://docs.weaviate.io/weaviate/release-notes/known-issues)

  A surprising number of one-off mysteries are documented there with a version number attached.

- Keep clients within the server's supported range[Support policy →](https://docs.weaviate.io/weaviate/release-notes#version-support-policy)

  Client and server versions move independently, and a large gap between them is a common source of confusing errors.

## Lock the door

Out of the box, Weaviate accepts anonymous requests: `AUTHENTICATION_ANONYMOUS_ACCESS_ENABLED` defaults to `true`, and a request without credentials runs as the user `anonymous`. That default is for development and evaluation, and it does not turn itself off when the cluster starts holding real data.

- Turn authentication on[Authentication →](https://docs.weaviate.io/deploy/configuration/authentication)

  API keys or OIDC, and both can be enabled at once. API keys are a few environment variables: enable them, list the keys, and name the user each key belongs to.

- Turn anonymous access off[Anonymous access →](https://docs.weaviate.io/deploy/configuration/authentication#anonymous-access)

  Set AUTHENTICATION\_ANONYMOUS\_ACCESS\_ENABLED to false once authentication is on. A request without credentials then gets 401 Unauthorized instead of running as anonymous.

- Use RBAC when more than one person or service shares the cluster[Authorization →](https://docs.weaviate.io/deploy/configuration/authorization)

  Roles scope each user to what it actually needs, instead of the admin list's choice between everything and read-only.

- Limit who can reach the port[Security checklist →](https://docs.weaviate.io/deploy/production/kubernetes/production-readiness#security)

  Authentication decides who the cluster answers; the network decides who can ask. Keep a cluster that still allows anonymous access on localhost or a private network, and treat network policies as a second layer, not a substitute.

## Easy deployments & Enterprise options

Everything above applies to a cluster you run yourself. If running it is not the part you want to own, there are other ways to get the same database.

### Managed Cloud

[Weaviate Cloud](https://docs.weaviate.io/cloud): Runs the cluster for you. Start with a Free cluster and point your existing client at it with the same connection code.

[Weaviate on DigitalOcean](https://www.digitalocean.com/blog/public-preview-managed-weaviate?utm_source=weaviate\&utm_medium=referral): Partner A managed Weaviate that DigitalOcean runs on its own infrastructure. Connect with the same Weaviate clients you already use.

### Enterprise options

[Weaviate Enterprise Edition](https://docs.weaviate.io/deploy/enterprise): Self-hosted Weaviate with advanced features under a commercial license. Same image as the Community Edition, turned on with a license key.

[Weaviate Assurance](https://weaviate.io/product/assurance): Support and response-time commitments for clusters you keep in your own environment, from the engineers who build Weaviate.

## Beyond the database

[Weaviate Embeddings](https://docs.weaviate.io/cloud/embeddings): Generates vectors for your collections inside Weaviate Cloud, so there is no embedding model to run, host, or pay for separately.

[Query Agent](https://docs.weaviate.io/query-agent): Answers questions over your collections in natural language, choosing the searches, filters, and aggregations itself.

[Engram](https://docs.weaviate.io/engram): Long-term memory for AI agents, built on Weaviate: agents remember across sessions without you designing the storage.

## Further resources

[Production readiness checklist](https://docs.weaviate.io/deploy/production/kubernetes/production-readiness)[Getting to production on Kubernetes](https://docs.weaviate.io/deploy/production/kubernetes/get-to-production)[Managing resources starter guide](https://docs.weaviate.io/weaviate/starter-guides/managing-resources)[Error messages](https://docs.weaviate.io/errors)
