A Clojure client library for the key-value storage system Redis
Clojure
Pull request Compare This branch is 59 commits ahead of nathell:master.
Failed to load latest commit information.
benchmarks Major restructuring. Sorry for making this one commit... Sep 26, 2010
scripts
src/redis implement db init. make-connection now select the db read from spec. Feb 27, 2012
test/redis added info command and used it to check server version in tests Dec 14, 2011
.gitignore add ignore Feb 27, 2012
README.markdown bump to 1.3.2 with note pointing people to Carmine for new projects. Jul 21, 2012
project.clj bump to 1.3.2 with note pointing people to Carmine for new projects. Jul 21, 2012

README.markdown

redis-clojure

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.

Building

This version of redis-clojure uses Leiningen as build tool.

Running tests

To run tests:

lein test

Note you need to have redis-server running on localhost at port 6379.

Adding it as a dependency for your own project

Simply add it to your project.clj :dependencies list:

:dependencies [[org.clojars.tavisrudd/redis-clojure "1.3.1"] ...]

then run lein deps.