The zero-config default: a Map with per-key TTL, tag-grouped invalidation, atomic-enough
counters and stampede protection. Fast and dependency-free.
It is not a shared cache on a function-as-a-service deployment, and that is worth saying
plainly. Each instance keeps its own values, so a hit rate depends on which warm container
answered, a cold start starts empty, and an invalidation reaches one instance out of however many
are running. Use the Redis store to share across instances.
In-process memory cache store.
The zero-config default: a
Mapwith per-key TTL, tag-grouped invalidation, atomic-enough counters and stampede protection. Fast and dependency-free.It is not a shared cache on a function-as-a-service deployment, and that is worth saying plainly. Each instance keeps its own values, so a hit rate depends on which warm container answered, a cold start starts empty, and an invalidation reaches one instance out of however many are running. Use the Redis store to share across instances.