Provider-Agnostic CAS Cache with Pluggable Codecs and Generation Store

2025-08-25
Provider-Agnostic CAS Cache with Pluggable Codecs and Generation Store

cascache is a provider-agnostic Compare-And-Set (CAS) cache featuring pluggable codecs and a generation store. It offers safe single-key reads (no stale values), optional bulk caching with read-side validation, and an opt-in distributed mode for multi-replica deployments. Cascache ensures CAS safety using generation snapshots, supports various underlying stores (Ristretto, BigCache, Redis) and codecs (JSON, Msgpack, CBOR, Proto), and provides both local and distributed generation storage modes for high performance and availability.

Development