Find file History
Pull request Compare This branch is 97 commits behind 8thlight:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
spec/hyperion
src/hyperion
README.md
project.clj

README.md

Redis

A Hyperion implementation for Redis

About

Redis can by used with Hyperion for quick and dirty key value stores. Currently all filtering happens in Clojure itself and is very slow. If your application uses filtering very much, you may want to avoid Redis as your Hyperion datastore.

Usage

(require 'hyperion.api)
(require 'hyperion.redis)
(binding [hyperion.api/*ds* (hyperion.redis/new-redis-datastore :host "localhost" :port 6379)]
    (save {:kind "test" :value "test"})
    (find-by-kind "test"))

new-redis-datastore options

  • :host - where the redis-server is running
  • :port - same as above
  • :password - if the redis-server has one
  • :timeout - defaults to 300 seconds
  • :db - if you are running multiple dbs on a redis-server

License

Copyright © 2012 8th Light, Inc.

Distributed under the Eclipse Public License, the same as Clojure.