Skip to main content
Find where work is waiting before you add capacity. Start with a representative import and increase load only while completed work rises and live search stays within your latency target.

Protect live traffic

Run live and bulk workers as separate processes against the same dependencies. Use worker.queues to select live or bulk and worker.slots to set how much work each process takes. Give live work its own slots. Bulk imports, rebuilds and backfills still share the database, embedding provider and vector index with live traffic. For example, merge each fragment into the JSON configuration for its worker process:
Live worker
Bulk worker
A slot runs one worker activity. An ingestion activity can handle up to 16 documents at once, so two bulk slots can offer up to 32 concurrent documents per worker when both slots run ingestion. rebuild.concurrency sets the number of document revisions in flight per rebuild step. These settings determine the work offered to shared dependencies. Check the worker settings and rebuild settings before tuning them.

Find the bottleneck

Read GET /v0/admin/queues with a dedicated queue key containing only queues:read and corpora: ["*"]. Use separate keys for application and operator requests. If admin_listen is set, send this request there and configure the queue key under admin_keys. Watch waiting, in_progress and oldest_waiting_age_seconds for each lane. Bulk waiting includes estimates for background work whose scopes can overlap. A 503 means the signal is unavailable. Use the maximum across replicas when aggregating installation-wide queue metrics. See worker autoscaling for deployment settings.

Run a large import

1

Measure a sample

Use representative document sizes and formats. Measure searchable documents per minute, provider latency and errors, and database and index growth. Run searches during the sample to establish the live latency impact.
2

Send historical work to bulk

Set work_queue: "bulk" at the top level when you create a connector instance. Keep separate live workers. Finish intended embedding and passage configuration changes early so you can limit rebuilds.
3

Increase load in steps

Budget provider concurrency across plugin processes. For example, eight processes capped at four concurrent requests can offer 32 total, before counting any additional live or query processes. Watch database connections, storage growth and index I/O. Leave disk and memory headroom for the old and new index during a rebuild.
4

Confirm the queue drains

Check Operations, quarantine and real searches in addition to queue totals. If shared dependencies cannot keep up, pause collection to retain its checkpoint. Already accepted work continues.

Run the vector index on a dedicated host

A separate Weaviate host gives the index its own RAM and disk I/O. Budget for the on-disk index’s cache, vector graph, active writes and simultaneous rebuilds. Measure cold searches after a restart or idle period. Use the repository’s vector host tooling to render the deployment or provision the Azure example. The infrastructure guide describes the shared profile and drift checks. To move an installation, schedule search downtime. Pause writes and source collection, stop writers to the old index, and retain its disk. Keep PostgreSQL and the stored documents and vector artifacts. Configure weaviate_url and weaviate_api_key for migration, the API and all workers, or their WEAVIATE_URL and WEAVIATE_API_KEY bindings on the deployment image. Verify HTTPS and API-key access, then run quivr migrate against the new index. Start the API and rebuild workers, then rebuild each Corpus from stored content. Check coverage and keyword, meaning and hybrid searches before resuming writes. The installation reset helper refuses an external or unverified index.

Next