Expand description
Entity cache for snapshot-on-subscribe functionality.
This module provides an EntityCache that maintains full projected entities
in memory with LRU eviction. When a new client subscribes, they receive
cached snapshots immediately rather than waiting for the next live mutation.
Structs§
- Cache
Stats - Entity
Cache - Entity cache that maintains full projected entities with LRU eviction.
- Entity
Cache Config - Configuration for the entity cache
- Snapshot
Batch Config
Functions§
- cmp_seq
- Compare two
_seqvalues numerically._seqformat is “{slot}:{offset}” where slot is not zero-padded. This handles digit-count boundaries correctly (e.g., 99999999 < 100000000).