Skip to content

v1.0.0

Compare
Choose a tag to compare
@ashuthe1 ashuthe1 released this 07 Jul 14:33
· 15 commits to main since this release

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.