cachex VS con_cache

Compare cachex vs con_cache and see what are their differences.

cachex

A powerful caching library for Elixir with support for transactions, fallbacks and expirations (by whitfin)

con_cache

ets based key/value cache with row level isolated writes and ttl support (by sasa1977)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
cachex con_cache
4 2
1,455 891
- -
8.1 4.1
1 day 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.

cachex

Posts with mentions or reviews of cachex. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-07-19.

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
    3 projects | /r/elixir | 10 May 2022
    There's also ConCache or Cachex which will handle the clunky ETS interface for you.
  • Elixir: Practical Concurrency Cookbook
    2 projects | dev.to | 1 Apr 2021
    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 cachex and con_cache you can also consider the following projects:

Nebulex - In-memory and distributed caching toolkit for Elixir.

elixir_locker

lru_cache - ETS-based fix-sized LRU cache for elixir

Mem - KV cache with TTL, Replacement and Persistence support

locker - Atomic distributed "check and set" for short-lived keys

stash - A small and user-friendly ETS wrapper for caching in Elixir

Haphazard - A configurable plug for caching