Description
Dalli is a high performance pure Ruby client for accessing memcached servers. It works with memcached 1.4+ only as it uses the newer binary protocol. It should be considered a replacement for the memcache-client gem.
The name is a variant of Salvador Dali for his famous painting The Persistence of Memory.
Dalli's initial development was sponsored by CouchBase. Many thanks to them!
Dalli alternatives and similar gems
Based on the "Caching" category.
Alternatively, view Dalli alternatives based on common mentions on social networks and blogs.
-
IdentityCache
IdentityCache is a blob level caching solution to plug into Active Record. Don't #find, #fetch! -
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. -
Readthis
:newspaper: Pooled active support compliant caching with redis -
Garner
A set of Rack middleware and cache helpers that implement various caching strategies. -
Action caching for Action Pack
Action caching for Action Pack (removed from core in Rails 4.0) -
Kashmir
Kashmir is a Ruby DSL that makes serializing and caching objects a snap. -
rails-brotli-cache
Drop-in enhancement for Rails cache, offering better performance and compression with Brotli algorithm -
ActiveModelCachers
Simply cache whatever you want by using cachers which will help you maintain cached objects and expire them when they are changed.
Static code analysis for 29 languages.
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of Dalli or a related project?
README
Dalli 
Dalli is a high performance pure Ruby client for accessing memcached servers.
Dalli supports:
- Simple and complex memcached configurations
- Failover between memcached instances
- Fine-grained control of data serialization and compression
- Thread-safe operation (either through use of a connection pool, or by using the Dalli client in threadsafe mode)
- SSL/TLS connections to memcached
- SASL authentication
The name is a variant of Salvador Dali for his famous painting The Persistence of Memory.
Documentation and Information
- User Documentation - The documentation is maintained in the repository's wiki.
- Announcements - Announcements of interest to the Dalli community will be posted here.
- Bug Reports - If you discover a problem with Dalli, please submit a bug report in the tracker.
- Forum - If you have questions about Dalli, please post them here.
- Client API - Ruby documentation for the
Dalli::Client
API
Contributing
If you have a fix you wish to provide, please fork the code, fix in your local project and then send a pull request on github. Please ensure that you include a test which verifies your fix and update the [changelog](CHANGELOG.md) with a one sentence description of your fix so you get credit as a contributor.
Appreciation
Dalli would not exist in its current form without the contributions of many people. But special thanks go to several individuals and organizations:
- Mike Perham - for originally authoring the Dalli project and serving as maintainer and primary contributor for many years
- Eric Wong - for help using his kgio library.
- Brian Mitchell - for his remix-stash project which was helpful when implementing and testing the binary protocol support.
- CouchBase - for their sponsorship of the original development
Authors
- Peter M. Goldstein - current maintainer
- Mike Perham and contributors
Copyright
Copyright (c) Mike Perham, Peter M. Goldstein. See LICENSE for details.
*Note that all licence references and agreements mentioned in the Dalli README section above
are relevant to that project's source code only.