An open API service indexing awesome lists of open source software.

https://github.com/purcell/redis-memo

Memoize clojure functions using redis as an out-of-process store for cached results
https://github.com/purcell/redis-memo

Last synced: about 1 month ago
JSON representation

Memoize clojure functions using redis as an out-of-process store for cached results

Awesome Lists containing this project

README

        

# redis-memo

Provides variants of Clojure's "memoize" function and "defn-memo" macro which
use redis as an out-of-process store for cached results.

## Usage

(defn-redis-memo my-function [a b]
...)

or

(def my-alias (memoize-with-redis "a-key-prefix" other-func))

## Installation

Via clojars is recommended:

http://clojars.org/org.clojars.sanityinc/redis-memo

## License

BSD