Overview of Quick Cache
masterQuick Cache is a lightweight, high-performance concurrent cache optimized for low overhead. It is designed for use cases where cache access times and overhead are significant costs.
Key features include:
- S3-FIFO Policy: Scan-resistant and high hit rate caching policy.
- Concurrency: Scales well with threads; supports atomic operations via
get_or_insert,get_value_or_guard, and their async counterparts (get_or_insert_async,get_value_or_guard_async). - Customizable Weight: Users can define weight per item.
- Non-blocking: Methods return immediately on lock contention.
- Entry API: Closure-based
entryAPI for atomic inspect-and-act patterns (keep, remove, replace). - Low Overhead: Small dependency tree and no background threads.
Note: If you require features like Time-to-Live (TTL) or event listeners, consider using the Moka crate instead.