redict/client-libraries/clojure
2009-06-16 16:45:04 +02:00
..
benchmarks client libraries updated 2009-06-16 16:45:04 +02:00
examples Clojure library thanks to Ragnar Dahlén 2009-06-14 23:15:21 +02:00
src client libraries updated 2009-06-16 16:45:04 +02:00
.gitignore Clojure library thanks to Ragnar Dahlén 2009-06-14 23:15:21 +02:00
build.xml client libraries updated 2009-06-16 16:45:04 +02:00
LICENSE Clojure library thanks to Ragnar Dahlén 2009-06-14 23:15:21 +02:00
README.markdown Clojure library thanks to Ragnar Dahlén 2009-06-14 23:15:21 +02:00

redis-clojure

A Clojure client library for the Redis key value storage system.

Dependencies

To use redis-clojure, you'll need:

Building

To build redis-clojure:

ant -Dclojure.jar=/path/to/clojure.jar

This will build redis-clojure.jar.

Running tests

To run tests:

ant -Dclojure.jar=/path/to/clojure.jar -Dclojure-contrib.jar=/path/to/clojure-contrib.jar test

Note you need to have redis-server running first.

Using

To use redis-clojure in your application, simply make sure either redis-clojure.jar or the contents of the src/ directory is on your classpath.

This can be accomplished like so:

(add-classpath "file:///path/to/redis-clojure.jar")

Examples

Check the examples/ directory.

Note you need to have redis-server running first.

Todo

  • Work on performance
  • Maybe implement pipelining