GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - cbd/edis: An Erlang implementation of Redis

BranchesTags
Open more actions menu

Latest commit

 

History

436 Commits
436 Commits

Folders and files

NameName
Last commit message
Last commit date
db
db
 
 
include
include
 
 
priv
priv
 
 
src
src
 
 
test
test
 
 
.gitignore
.gitignore
 
 
Emakefile
Emakefile
 
 
LICENSE
LICENSE
 
 
Makefile
Makefile
 
 
README.md
README.md
 
 
hanoidb.config
hanoidb.config
 
 
joachimpd.config
joachimpd.config
 
 
leveldb.config
leveldb.config
 
 
pd.config
pd.config
 
 
rebar.config
rebar.config
 
 

Repository files navigation

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 inaka.github.io

Usage

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)
    • pub/sub commands (i.e. PUBLISH, SUBSCRIBE, UNSUBSCRIBE, PSUBSCRIBE, PUNSUBSCRIBE)
  • (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

SYNC, SLOWLOG, SLAVEOF, DEBUG *

License

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

TODO

  • 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

About

An Erlang implementation of Redis

inaka.github.com/edis/

Resources

Readme
Apache-2.0 license
Activity

Stars

516 stars

Watchers

46 watching

Forks

36 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.