CCR

CCR Backends

The CCR (Compress-Cache-Retrieve) store has two full backends, selected by deployment mode, plus the inline stores that bypass the backend round-trip for tiny entries.

See lifecycle for how a blob moves through the tiers.

  • In-Memory Backend - process-local, sharded DashMap store for cache-mode deployments; ephemeral, capacity-bound eviction only
  • SQLite Backend - the production persistent store; single database file in WAL mode, shared across workers, lazy TTL purging
  • Inline Stores - LRU-backed tiny-entry stores inside the proxy and the Hermes session engine; O(1) retrieval with no backend I/O