What you can run in parallel
| Component | Multi-instance? | Notes |
|---|---|---|
| Rootprint | No | Run one active Rootprint instance. Do not add load-balanced Rootprint replicas and do not build a shared filesystem for Rootprint. |
| Quickwit | Yes | Quickwit is designed as a horizontally scalable cluster. Add nodes to grow ingest and search capacity. |
| Rootprint database | External Postgres | Rootprint stores users, API keys, saved views, preferences, and activity state in its own Postgres database. Keep it separate from Quickwit’s metastore. The two can share a Postgres server, but each needs its own database. |
QUICKWIT_URL at a
Quickwit REST endpoint, load balancer, or Kubernetes service. Quickwit nodes serve the REST API and
can redirect requests to the right service in the cluster.
The Metastore is the first thing to fix
Quickwit uses the metastore to track index configuration, split metadata, source checkpoints, and index creation state. Indexers write split data to index storage and publish metadata to the metastore. Searchers read the metastore before planning a query. The default file-backed metastore used by the bundled Compose file is not a distributed metastore.Switch to the PostgreSQL metastore
Provision a Postgres instance and point Quickwit at it withmetastore_uri or the
QW_METASTORE_URI environment variable:
Move index storage to object storage
Quickwit decouples compute from storage: indexers and searchers are stateless and share their state through object storage and the metastore, not a local disk. That decoupling lets the cluster scale, but it only works once index data lives somewhere every node can reach. The bundled Compose keeps index data in a local Docker volume, which is single-node only. For any multi-node cluster, move it to shared object storage:- Set
QW_DEFAULT_INDEX_ROOT_URIto an object storage URI such ass3://my-bucket/indexes. - Keep
QW_METASTORE_URIon PostgreSQL, and configure the same storage credentials and flavor on every node.
Scale the Quickwit cluster to your load
Quickwit ships as a single binary that runs any combination of services (indexers, searchers, a control plane, a metastore service, and a janitor), selected per node withquickwit run --service ...
or QW_ENABLED_SERVICES. Because nodes coordinate through PostgreSQL and object storage, you grow
the cluster by adding nodes, not by resizing one machine.
Your workload drives how far you scale: add indexers when ingest throughput
is the bottleneck, and add searchers (stateless, sized by query concurrency) when search or
aggregations are. The control plane, metastore service, and janitor are lightweight. One of each is
usually enough. For Kubernetes, start from the official
Quickwit Helm chart.
Sizing rough numbers
Use these as starting points and measure.| Resource | Starting point |
|---|---|
| Indexing throughput | About 7.5 MB/s per indexer core; 20-40 MB/s for a small 4-vCPU indexer is a reasonable first estimate. |
| Indexer memory | About 4 GB RAM per core. Workloads with many indexes or data sources need more memory. Avoid indexers below 8 GB RAM. |
| Indexer local disk | At least 120 GB for the split cache, ingest queue, and in-progress indexing work. Prefer local SSDs. |
| Searcher memory | Start around 8 GB RAM per core when using high-latency object storage such as S3. Heavy aggregations need more. |
| Searcher disk | Searchers do not need disk unless you enable the searcher split cache. |
| PostgreSQL metastore | For most Quickwit clusters, Quickwit recommends a PostgreSQL instance with 1 core and 4 GB RAM. |
Related
- Docker Compose install: the single-node setup and S3 configuration.
- Environment variables: the Rootprint-side configuration surface.
- Quickwit deployment modes: upstream cluster topology.
- Quickwit cluster sizing: upstream sizing guidance.
- Quickwit metastore configuration: PostgreSQL and file-backed metastore rules.
- Quickwit storage configuration: supported index storage backends.
