An Erlang implementation of Redis
Erlang Other
Latest commit aad8935 Sep 14, 2015 @demian711 demian711 Update
Failed to load latest commit information.
db Test.config: added dir param Oct 17, 2011
include Part of the vclock implementation May 13, 2013
src added R16b support thanks to pmod_transform. Jul 2, 2014
test forgot to clean up the file, this one looks better Mar 15, 2013
.gitignore First step of implementing the multinode support Mar 26, 2013
Emakefile First step of implementing the multinode support Mar 26, 2013
Makefile make cause of startup crash obvious - Unable to run #35 May 29, 2014
hanoidb.config implemented new loggin framework, lager Mar 12, 2013
joachimpd.config current state of db_update Jun 5, 2013
pd.config current state of db_update Jun 5, 2013

An Erlang version of Redis, with the goal of similar algorithmic performance but support for multiple master nodes and larger-than-RAM datasets. For More info, see this PDF of a Talk at Erlang Factory 2012.

Contact Us

For questions or general comments regarding the use of this library, please use our public hipchat room.

If you find any bugs or have a problem while using this library, please open an issue in this repo (or a pull request :)).

And you can check all of our open-source projects at


Just run $ make run and open connections with your favourite redis client.

Differences with Redis

Different Behaviour

  • SAVE, BGSAVE and LASTSAVE are database dependent. The original Redis saves all databases at once, edis saves just the one you SELECT'ed.
  • INFO provides much less information and no statistics (so, CONFIG RESETSTAT does nothing at all)
  • MULTI doesn't support:
    • cross-db commands (i.e. FLUSHALL, SELECT, MOVE)
    • non-db commands (i.e AUTH, CONFIG *, SHUTDOWN, MONITOR)
  • (P)UNSUBSCRIBE commands are not allowed outside PUBSUB mode
  • PUBLISH response is not precise: it's the amount of all clients subscribed to any channel and/or pattern, not just those that will handle the message. On the other hand it runs in O(1) because it's asynchronous, it just dispatches the message.

Missing Features

  • Dynamic node configuration (i.e. the SLAVEOF command is not implemented)
  • Encoding optimization (i.e. all objects are encoded as binary representations of erlang terms, so for instance "123" will never be stored as an int)
  • OBJECT REFCOUNT allways returns 1 for existing keys and (nil) otherwise

Unsupported Commands



edis is licensed by Electronic Inaka, LLC under the Apache 2.0 license; see the LICENSE file in this repository.


  • Backends
    • HanoiDB
      • Make use of the efficient range searchs with start/end for searching ranges
      • Make use of time-based key expiry
      • Finish the TODO items