IdentityCache VS Dalli

Compare IdentityCache vs Dalli and see what are their differences.

IdentityCache

IdentityCache is a blob level caching solution to plug into Active Record. Don't #find, #fetch! (by Shopify)

Dalli

High performance memcached client for Ruby (by petergoldstein)
Our great sponsors
  • WorkOS - The modern identity platform for B2B SaaS
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • SaaSHub - Software Alternatives and Reviews
IdentityCache Dalli
1 3
1,902 3,090
0.5% -
7.5 6.8
19 days ago 22 days ago
Ruby Ruby
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.

IdentityCache

Posts with mentions or reviews of IdentityCache. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2021-08-06.

Dalli

Posts with mentions or reviews of Dalli. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-05-09.
  • Solving a critical bug in the default Rails caching library
    2 projects | /r/ruby | 9 May 2023
    Nice to see both mperham and byroot chiming in here: https://github.com/petergoldstein/dalli/issues/956
    3 projects | dev.to | 8 May 2023
    One way this might happen in Dalli is if there's an issue in get_multi code. This could occur if the client requests multiple values, reads some subset of those values off of the socket, and then returns before the server finishes writing all of the values to the socket. Another way this might happen is if something - say, an error or a timeout - interrupts the client code execution between issuing a get message and reading the response.
    1 project | news.ycombinator.com | 8 May 2023
    Ouch https://github.com/petergoldstein/dalli/issues/956#issuecomm...

What are some alternatives?

When comparing IdentityCache and Dalli you can also consider the following projects:

redis-store - Namespaced Rack::Session, Rack::Cache, I18n and cache Redis stores for Ruby web frameworks

Redis stores for Ruby on Rails - Redis stores for Ruby on Rails

Second Level Cache - Write Through and Read Through caching library inspired by CacheMoney and cache_fu, support ActiveRecord 4, 5 and 6.

Action caching for Action Pack - Action caching for Action Pack (removed from core in Rails 4.0)

ActiveModelCachers - Simply cache whatever you want by using cachers which will help you maintain cached objects and expire them when they are changed.

Readthis - :newspaper: Pooled active support compliant caching with redis

Rack::Cache - Real HTTP Caching for Ruby Web Apps

Record Cache - Cache Active Model Records in Rails 3

Garner - A set of Rack middleware and cache helpers that implement various caching strategies.