patrickmn / go-cache

An in-memory key:value store/cache (similar to Memcached) library for Go, suitable for single-machine applications.
https://patrickmn.com/projects/go-cache/
MIT License
8.16k stars 874 forks source link

Question: reasonable parameters for expiration/purge of elements #123

Open juan88 opened 4 years ago

juan88 commented 4 years ago

Is there a relation between the expiration of cached elements and its purge rate in order to be efficient and to avoid memory leaks and performance issues?

Thanks!