#cache #redis #in-memory #service #ttl

cache_service

Cache service based on Redis and in-memory cache

2 stable releases

new 1.1.0 May 24, 2024
1.0.0 May 24, 2024

#354 in Caching

Download history 222/week @ 2024-05-20

222 downloads per month

MIT license

17KB
479 lines

Rust Cache Crate

This crate provides a straightforward and efficient way to cache string values both in-memory and in Redis, with a specified time-to-live (TTL).

Features

  • In-memory caching for fast retrieval.
  • Redis integration for distributed caching.
  • Time-to-Live (TTL) support for cache entries.

Dependencies

  • Ensure you have Redis running and accessible as this crate requires Redis for distributed caching functionality.

Contribution

Contributions are welcome! Please feel free to submit a pull request.

Dependencies

~3.5MB
~93K SLoC