con_cache
ets based key/value cache with row level isolated writes and ttl support (by sasa1977)
Nebulex
In-memory and distributed caching toolkit for Elixir. (by cabol)
Our great sponsors
con_cache | Nebulex | |
---|---|---|
2 | 3 | |
894 | 1,183 | |
- | - | |
4.1 | 6.2 | |
11 days ago | about 1 month ago | |
Elixir | Elixir | |
MIT License | MIT License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
con_cache
Posts with mentions or reviews of con_cache.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-05-10.
-
Should I use ETS or a GenServer when I just need a K/V store
There's also ConCache or Cachex which will handle the clunky ETS interface for you.
-
Elixir: Practical Concurrency Cookbook
However, while Elixir does provide the necessary abstractions to make caching easy, my recommendation on this one is usually to lean on the community's shoulders. Saša Jurić, for example, wrote a while back ConCache which does exactly this, but there are many others out there. The good thing about not implementing one it's own is that there are many edge cases when dealing with concurrency and it's easy to get it wrong the first few times. As they say, the two hardest problems in computer science are naming and caching.
Nebulex
Posts with mentions or reviews of Nebulex.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2023-08-25.
-
Avoid Trips To The Database With Nebulex - Phoenix Series
Nebulex, a local and distributed caching toolkit for Elixir.
-
Unpacking Elixir: Concurrency
Nebulex has different adapters although I've only use it on a local node which uses ETS (IIRC) so I can't comment on them too much.
-
How to Cache Locally in Elixir with Nebulex
Check out this in-depth guide on supported caches and their adapters in Nebulex.
What are some alternatives?
When comparing con_cache and Nebulex you can also consider the following projects:
cachex - A powerful caching library for Elixir with support for transactions, fallbacks and expirations
elixir_locker
lru_cache - ETS-based fix-sized LRU cache for elixir
stash - A small and user-friendly ETS wrapper for caching in Elixir
jc - Erlang, in-memory distributable cache
Haphazard - A configurable plug for caching
locker - Atomic distributed "check and set" for short-lived keys
Mem - KV cache with TTL, Replacement and Persistence support