v1.0.0
In-Memory Caching Library v1.0.0
We are excited to announce the release of v1.0.0 of our In-Memory Caching Library for Golang. This library provides a robust and flexible caching solution with support for multiple eviction policies and custom eviction policies. It is designed with thread safety in mind, ensuring reliable performance in concurrent environments.
Features
Eviction Policies
- FIFO (First-In-First-Out)
- LRU (Least Recently Used)
- LIFO (Last-In-First-Out)
Custom Eviction Policy
- Define and integrate your own eviction policy by implementing the
EvictionPolicy
interface.
Thread Safety
- Utilizes
sync.RWMutex
for concurrent read/write access safety, making it suitable for high-read, low-write workloads.
Statistics
- Tracks and reports cache hits, misses, and expired items for better cache management and performance analysis.
Benchmarking
- Basic benchmarking capabilities to measure and analyze cache operations.