con_cache VS locker

Compare con_cache vs locker and see what are their differences.

con_cache

ets based key/value cache with row level isolated writes and ttl support (by sasa1977)

locker

Atomic distributed "check and set" for short-lived keys (by wooga)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
con_cache locker
2 -
894 152
- -0.7%
4.1 0.0
10 days ago almost 5 years ago
Elixir Erlang
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.

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.

locker

Posts with mentions or reviews of locker. We have used some of these posts to build our list of alternatives and similar projects.

We haven't tracked posts mentioning locker yet.
Tracking mentions began in Dec 2020.

What are some alternatives?

When comparing con_cache and locker you can also consider the following projects:

cachex - A powerful caching library for Elixir with support for transactions, fallbacks and expirations

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

elixir_locker

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

Haphazard - A configurable plug for caching

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

gen_spoxy - **DEPRECATED** caching made fun!