gen_spoxy
**DEPRECATED** caching made fun! (by SpotIM)
con_cache
ets based key/value cache with row level isolated writes and ttl support (by sasa1977)
gen_spoxy | con_cache | |
---|---|---|
- | 2 | |
21 | 899 | |
- | - | |
0.0 | 7.4 | |
over 5 years ago | 8 days 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.
gen_spoxy
Posts with mentions or reviews of gen_spoxy.
We have used some of these posts to build our list of alternatives
and similar projects.
We haven't tracked posts mentioning gen_spoxy yet.
Tracking mentions began in Dec 2020.
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.
What are some alternatives?
When comparing gen_spoxy and con_cache you can also consider the following projects:
Mem - KV cache with TTL, Replacement and Persistence support
cachex - A powerful caching library for Elixir with support for transactions, fallbacks and expirations
stash - A small and user-friendly ETS wrapper for caching in Elixir
Nebulex - In-memory and distributed caching toolkit for Elixir.
Haphazard - A configurable plug for caching
elixir_locker
locker - Atomic distributed "check and set" for short-lived keys
lru_cache - ETS-based fix-sized LRU cache for elixir