Locker VS cachex

Compare Locker vs cachex and see what are their differences.

cachex

A powerful caching library for Elixir with support for transactions, fallbacks and expirations (by whitfin)
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
Locker cachex
4 5
761 1,741
3.2% 0.2%
9.1 6.7
about 1 month ago 4 months ago
JavaScript Elixir
-
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.

Locker

Posts with mentions or reviews of Locker. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2026-04-21.

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 2024-06-18.
  • Multi-Layered Caching with Decorators in Elixir: Optimizing Performance and Scalability
    4 projects | dev.to | 18 Jun 2024
    Cachex, the most popular Elixir caching library, offers a clustered cache option but lacks support for dynamic node configuration. This limitation becomes evident in environments like Fly.io, where nodes scale dynamically and their addresses aren’t known at startup. Engaging with the Fly.io community led me to an open issue on Cachex’s GitHub regarding dynamic node configuration. This search introduced me to Nebulex, a feature-rich library supporting multiple cache stores, including Cachex and Redis.
  • Optimizing Elixir Phoenix action with huge json response by responding by cached, gzipped values.
    2 projects | dev.to | 19 Jul 2023
    By integrating cachex into our system, we're now able to optimize the loading process, providing users with a smoother experience while still benefiting from offline accessibility. Stay tuned as I delve deeper into the caching practices that helped us enhance the performance of our Phoenix Controller actions with JSON responses.
  • 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.
  • try-catch vs "let it crash"
    2 projects | /r/elixir | 10 Nov 2021
    I have a web application which uses cowboy and cachex every so often cachex errors, which means my server returns a 500.
  • Show HN: Hackernews-style stock news (from 40 sources)
    1 project | news.ycombinator.com | 19 Jun 2021
    Thanks @kuzee! Much appreciated :)

    I appreciate that info on LiveView, I plan on digging into it!

    The public-facing pages of this site aren't currently using LiveView, but I see it on the horizon.

    For speed considerations, I'm actually caching news stories in memory using the excellent Cachex (https://github.com/whitfin/cachex) library.

What are some alternatives?

When comparing Locker and cachex you can also consider the following projects:

gen_spoxy - **DEPRECATED** caching made fun!

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

Mem - KV cache with TTL, Replacement and Persistence support

con_cache - ets based key/value cache with row level isolated writes and ttl support

Haphazard - A configurable plug for caching

elixir_locker

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured