I’ve found info about this Ruby client browsing some Ruby news site and thought that no Ruby on Rails developers should miss that.
As the author of this Ruby memcache client states on the github repository of this project:
- Dalli works with memcached 1.4+
- The API tries to be overall compatibile with currently widely used memcache-client gem, because Dalli is intended to be drop-in replacement
One of the reasons I took time to write this post is the fact that I am a performance lover (as some of you might have noticed while reading my Ruby on Rails news).
Dalli supposedly beats memcache-client, because it is written using less lines of Ruby code, it is approximately 20% faster than memcache-client, has hooks that you can use to connect your monitoring tools to it and uses newer binary protocol (in comparison to old memcached-client)
You can grab this Ruby client from: http://github.com/mperham/dalli