Skip to content

Releases: ashuthe1/memCache

v2.0.0

08 Jul 14:33
Compare
Choose a tag to compare

In-Memory Caching Library v2.0.0

We are excited to announce the release of v2.0.0 of our In-Memory Caching Library for Golang. This version introduces several new features and enhancements, alongside the robust capabilities from previous releases.

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.

New in v2.0.0

  • Versatile Value Storage: Can store any type of value, including integers, strings, arrays, maps, and structs.
  • Batch Operations: Supports setting and getting multiple key-value pairs at once.
  • Persistence: Save cache contents to a file and load from a file.

Installation

To install or update to the latest version, simply use go get:

go get -u github.com/ashuthe1/kuki-memcache

Getting Started

For detailed usage instructions and examples, refer to the README.md file in the repository.

Contributing

Contributions are welcome! If you encounter any issues or have suggestions for improvements, please submit them to our GitHub repository.

Thank you for using our In-Memory Caching Library. Happy caching!

v1.0.0

07 Jul 14:33
Compare
Choose a tag to compare

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.