whitfin / cachex

A powerful caching library for Elixir with support for transactions, fallbacks and expirations
https://hexdocs.pm/cachex/
MIT License
1.6k stars 103 forks source link

Improve documentation on distributed caches #346

Closed whitfin closed 1 month ago

whitfin commented 7 months ago

The documentation should be improved, but also include guidance on good patterns to follow with distributed caches. A lot of context for this is inside https://github.com/whitfin/cachex/issues/246#issuecomment-2045591509.

Cachex is not meant to be a persistent memory state across a cluster which survives restarts; this has to be made clear and better approaches have to be suggested and documented.

whitfin commented 2 months ago

This will be done after https://github.com/whitfin/cachex/pull/353 to ensure that it's up to date with the latest Cachex changes.

whitfin commented 1 month ago

Closing this in favour of being tracked in #361; it will be included as part of that effort.