A lightweight in-memory data store in Clojure.
Similar to Redis®* but fewer features.
- Install Leiningen if you haven't already
- Install the Redis CLI
lein run
- Open another terminal tab
redis-cli PING
- Expected:
PONG
- Run any other Redis CLI command
lein test
lein uberjar
java -jar target/uberjar/data-store-<version>-standalone.jar
- Run server
- Open a new terminal tab
redis-benchmark -t set,get, -n 1000000 -q
- Expected:
WARNING: Could not fetch server CONFIG
SET: 72270.00 requests per second, p50=0.343 msec
GET: 74833.49 requests per second, p50=0.351 msec
- Stop the server you ran in step 1 with Control-C.
redis-server
- Repeat step 3
- Expected:
SET: 80729.80 requests per second, p50=0.303 msec
GET: 81512.88 requests per second, p50=0.319 msec
- That's how this server's performance compares to Redis®.
Please open an issue on GitHub.
GPLv2 or later
* Redis is a registered trademark of Redis Ltd. Any rights therein are reserved to Redis Ltd. Any use by this repo is for referential purposes only and does not indicate any sponsorship, endorsement or affiliation between Redis and this repo.