Rack::Cache VS Dalli

Compare Rack::Cache vs Dalli and see what are their differences.

Rack::Cache

Real HTTP Caching for Ruby Web Apps (by rtomayko)

Dalli

High performance memcached client for Ruby (by petergoldstein)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
Rack::Cache Dalli
- 3
822 3,090
- -
0.0 7.1
about 2 years ago 19 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.

Rack::Cache

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

We haven't tracked posts mentioning Rack::Cache yet.
Tracking mentions began in Dec 2020.

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 Rack::Cache and Dalli you can also consider the following projects:

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

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

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

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

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

Kashmir - Kashmir is a Ruby DSL that makes serializing and caching objects a snap.

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

FastEntry - Cache management for Rails

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