Cachee is the post-quantum cache infrastructure that powers H33's production pipeline. CacheeLFU admission control, L0 hot tier at 30 nanoseconds, 512 KiB constant memory footprint. The reason the Substrate can sign 2.2 million attestations per second is that the ZKP lookup path runs through Cachee.
Cachee is not Redis with a different name. It is an in-process, two-tier cache engine with a CacheeLFU admission sketch that decides which keys deserve promotion to the L0 hot tier. The L0 tier is a 64-shard lock-free read path that serves lookups in 30 nanoseconds. The L1 tier is a DashMap concurrent hash map that handles misses. The admission sketch is a Count-Min Sketch at 512 KiB constant memory — the same 512 KiB whether you're tracking 100,000 keys or 10 million.
No TCP. No serialization overhead. No connection pool contention. At 96 concurrent workers doing tight FHE loops, TCP-based cache access caused an 11x throughput regression. Cachee runs in-process — the lookup is a pointer dereference through a shard, not a network round-trip.
| Metric | Cachee (in-process) | Redis / TCP RESP |
|---|---|---|
| Lookup latency | 0.060 µs | ~50 µs |
| Pipeline throughput | 2,216,488 auth/sec | 136,670 auth/sec |
| Pipeline overhead | 1.87% | 11x regression |
| Connection contention | None (in-process) | 96 connections competing |
| Admission sketch memory | 512 KiB (constant) | N/A |
| Eviction policy | CacheeLFU | LRU / LFU / volatile |
The core two-tier cache with CacheeLFU admission, L0 hot tier, and DashMap L1. In-process. Zero network overhead. What powers H33's 2.2M auth/sec pipeline.
Admission sketch that decides which keys get promoted. Count-Min Sketch at 512 KiB constant memory. 1,239x less memory than DashMap at 10M keys.
22,857x speedup on Solana wallet PnL reconstruction. 6,814ms cold to 0.298ms warm. Open source at github.com/H33ai-postquantum/solana-pnl-cachee.
Drop-in Redis replacement with CacheeLFU admission. RESP protocol compatible. For workloads that need network access — not recommended for hot paths at 96+ workers.
Cachee is an H33 company. The same engineering team that builds the Substrate builds the cache that makes it fast.