---
description: "The cache dashboard of a clustered installation: node health, the cache matrix, the invalidation log and recent invalidations."
---

# Cache observability

The **Cache Observability Dashboard** (Admin section, Super Admins only) shows the health
of every backend node's local caches and the cluster-wide cache invalidation mechanism
that keeps them coherent, in one view. It is read-only and refreshes automatically every
few seconds.

## Node table

One row per backend node, identified by its node ID (typically the container/host name):

- **Status** — reporting, or flagged **stale** once a node's heartbeat is older than the
  configured threshold (15 seconds by default). A stale node has likely stopped reporting
  — check whether it's still running. Rows for departed nodes (for example, instances
  replaced by a deployment or platform update) linger as a short-term audit trail and are
  cleaned up automatically once their last heartbeat is older than the retention window
  (24 hours by default).
- **Application version**, Git revision, **started at**, and **last heartbeat** — helps spot a
  process restart or a node stuck on an old build during a rolling deploy. `started at` resets
  when a new backend process instance begins reporting under the same node ID.
- **Poller state** — `HEALTHY`, `STARTING`, `DEGRADED`, `STOPPED`, `STALLED`, or `DISABLED`,
  plus the last successful poll time and the last recorded error. Poller health is evaluated
  independently from the reporter heartbeat, so a reporting node cannot hide a stalled poller.
  On a stale node the poller pill is grayed out: it shows the state the node last
  self-reported before it stopped heartbeating, not current health.
- **ID lag** — how far behind that node's invalidation replay is against the latest
  invalidation event in the database. A small, transient lag is normal; a lag that keeps
  growing means that node isn't keeping its caches coherent with the rest of the cluster.
  Shown as blank when the poller is intentionally disabled on that node, since lag isn't
  meaningful without replay running.

A node's snapshot can occasionally fail to parse — most often mid-rolling-deploy, when
nodes briefly run different application versions. That degrades only that one node's row;
it never fails the whole dashboard.

## Cache matrix

For every node, the state of each of the system's local caches (sign data, conflicts,
import bad-data, integration tokens): coherence mode, hit rate, size, and
eviction/invalidation counters. Cluster-coherent caches split invalidations into local-mutation
and cluster-replay counts. Capacity shows current weight/entries against the configured maximum;
an unused cache displays no hit rate rather than a misleading 100%. Use it to spot a cache that's
unexpectedly cold or growing without bound.

The matrix can be narrowed to a single node with the node filter next to the heading, and
sorted by clicking the **Node**, **Cache**, or **Coherence** column headers — for example, sort
by cache to compare the same cache's hit rate and size across every node side by side.

## Invalidation log summary

The line above the node table summarizes the shared invalidation log: its highest ID, the
row count, and the **Oldest** and **Newest** row times. The oldest row is normally *older*
than the 24-hour retention window. That is deliberate: cleanup keeps the newest already-expired
row as the replay poller's ID floor, so an old **Oldest** timestamp is expected and does not
mean cleanup has stopped. Cleanup is stalled only if the row count keeps growing from one
cleanup run to the next.

## Recent invalidations

The most recent cluster cache invalidation events, filterable by cache name and scope —
useful for confirming that a specific mutation (for example, renaming a room) actually
produced the invalidation you expected.

## Related

- [Users and roles](users_and_roles.md) — Super Admin and the other roles
