redis: A driver for Redis key-value database
Redis (http://redis.io) is an open source, BSD licensed, advanced key-value store. It is often referred as a data structure server since keys can contain different data structures, such as strings, hashes, lists, sets and sorted sets.
This library is a Haskell driver for Redis. It's tested with current git version and with v2.4.6 of redis server. It also tested with v2.2 and basic functions are works correctly but not all of them.
You can use Test module from the source package to run unit tests. Try runhaskell Test.hs --help for usage info. Caution! Do not run tests on your working database - test database will be flushed.
There are simple benchmark module included: Benchmark.hs. It shows me about two times less requests per second than redis-benchmark from server distribution.
Please let me know if tests or benchmark goes terribly wrong.
Changes from v0.11:
Drop parsec dependency
New commands implemented: incrbyfloat and hincrbyfloat
Added variadic versions of del, hdel, lpush, rpush, sadd, srem, zadd, zrem (named as del_, hdel_ etc.)
Fixed compilation with GHC 7.2 (and hopefully with more recent versions too), thanks Ben Gamari and Sean Hess for reporting.
Using RLock from concurrent-extra fixes multithreading issues, thanks Dmitry Dzhus for reporting
Hopefully, fix building on Windows (untested), thanks Piotr Staszewski and Alexander Dorofeev
|Versions [faq]||0.1, 0.2, 0.3, 0.3.1, 0.4, 0.5, 0.5.1, 0.5.2, 0.6, 0.7, 0.7.1, 0.7.2, 0.8, 0.8.1, 0.9, 0.10, 0.10.1, 0.11, 0.12, 0.12.1, 0.13, 0.13.0.1, 0.14, 0.14.1|
|Dependencies||base (<5), bytestring, concurrent-extra, containers, MonadCatchIO-mtl, mtl, network, old-time, utf8-string [details]|
|Copyright||Copyright (c) 2009-2010 Alexander Bogdanov|
|Author||Alexander Bogdanov <firstname.lastname@example.org>|
|Maintainer||Alexander Bogdanov <email@example.com>|
|Uploaded||by AlexanderBogdanov at Tue Feb 14 23:29:22 UTC 2012|
|Downloads||9311 total (131 in the last 30 days)|
|Rating||(no votes yet) [estimated by rule of succession]|
Docs uploaded by user
Build status unknown [no reports yet]
For package maintainers and hackage trustees