Dalli
asyncio-redis
Dalli | asyncio-redis | |
---|---|---|
3 | 1 | |
3,089 | 554 | |
- | - | |
6.8 | 10.0 | |
about 1 month ago | over 3 years ago | |
Ruby | Python | |
MIT License | GNU General Public License v3.0 or later |
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.
Dalli
-
Solving a critical bug in the default Rails caching library
Nice to see both mperham and byroot chiming in here: https://github.com/petergoldstein/dalli/issues/956
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.
Ouch https://github.com/petergoldstein/dalli/issues/956#issuecomm...
asyncio-redis
-
Solving a critical bug in the default Rails caching library
One other thing -- the author claims that ChatGPT had exactly the same issue. That seems pretty unlikely. They talk about using https://github.com/jonathanslenders/asyncio-redis, but that hasn't been updated in 4 years. So the fix wasn't changing something on the client side to check for a corrupted socket, right?
What are some alternatives?
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
IdentityCache - IdentityCache is a blob level caching solution to plug into Active Record. Don't #find, #fetch!
Action caching for Action Pack - Action caching for Action Pack (removed from core in Rails 4.0)
Readthis - :newspaper: Pooled active support compliant caching with redis
Second Level Cache - Write Through and Read Through caching library inspired by CacheMoney and cache_fu, support ActiveRecord 4, 5 and 6.
Garner - A set of Rack middleware and cache helpers that implement various caching strategies.
Kashmir - Kashmir is a Ruby DSL that makes serializing and caching objects a snap.
Rack::Cache - Real HTTP Caching for Ruby Web Apps
ActiveModelCachers - Simply cache whatever you want by using cachers which will help you maintain cached objects and expire them when they are changed.
GraphQL Cache - A caching plugin for graphql-ruby
Record Cache - Cache Active Model Records in Rails 3