Cold queries
Brussle keeps the namespaces that you query in a cache. A namespace that gets no queries for some time falls out of the cache. The next query must load the namespace first. We call this a cold query. A cold query takes some hundreds of milliseconds. See the latency targets.Warm a namespace
Post to the namespace’swarm route:
ns.warm(). The response is 202 Accepted with no body. Brussle loads the namespace in the background.
A read-only key can warm a namespace. Warming changes nothing. The route accepts an Idempotency-Key header, so a retried call warms the namespace once.
In the dashboard, open the namespace and press Warm at the top of the page. Developers, admins and owners can press it.
What you can rely on
- Warming is free. It adds nothing to your bill.
- Warming is best effort. Brussle loads the namespace when it can. The call returns before the namespace is loaded, and the response does not say when the namespace is loaded. Do not wait for it in your code.
- Warming changes no answer and no document.
- A warmed namespace stays in the cache until idle time removes it. Warm a namespace shortly before you query it, not long before.
- A namespace that must never go cold needs pinning, not warming. Pinning has a price.