Module inmemory

Module inmemory 

Source
Expand description

In-memory cache backend (default, thread-safe, async).

Uses DashMap for lock-free concurrent access with per-key sharding. Automatically handles TTL expiration on access.

Structsยง

CacheStats
Cache statistics.
InMemoryBackend
Thread-safe async in-memory cache backend.