hyperlane-plugin-cache
High-concurrency response and data caching plugin for Hyperlane.
- 64-way
XxHash3_64sharded in-memory cache (ShardedMemoryCache) enforcing both entry-count and total-byte memory budgets with lazy and explicit TTL eviction. - Built-in single-flight stampede protection (
get_or_load) coalescing concurrent misses on the same key viatokio::sync::Notify. - Pluggable async
CacheStoretrait for Redis, Memcached, or tiered storage backends. - HTTP response caching hooks (
CacheRequestHook/CacheResponseHook) honoringCache-Control,Vary,Age, andX-Cache: HIT / MISS / BYPASS.