otter

otter: High performance in-memory cache.

Features 

This library has lots of features such as:

  • Simple API: Just set the parameters you want in the builder and enjoy
  • Autoconfiguration: Otter is automatically configured based on the parallelism of your application
  • Generics: You can safely use any comparable types as keys and any types as values
  • TTL: Expired values will be automatically deleted from the cache
  • Cost-based eviction: Otter supports eviction based on the cost of each item
  • Excellent performance: Otter is currently the fastest cache library with a huge lead over the competition
  • Great hit ratio: New S3-FIFO algorithm is used, which shows excellent results

🚀 Performance

Publikováno v Go