redis-clojure is the oldest of several Clojure client libraries for Redis. If you are currently trying to choose which of these client libraries to use, I (tavisrudd) recommend using Carmine instead. It has better documentation, better connection pooling, support for newer features of Redis 2.0+, Leiningen 2.0 support, more flexible serialization, and is faster.
If you are currently using redis-clojure and would like to add support for new Redis commands, patches are welcome.
This version of redis-clojure uses Leiningen as build tool.
To run tests:
Note you need to have
redis-server running on
localhost at port
Simply add it to your project.clj :dependencies list:
:dependencies [[org.clojars.tavisrudd/redis-clojure "1.3.1"] ...]
then run lein deps.