Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of github.com:inaka/edis into test
Conflicts: rebar.config test.config
- Loading branch information
Showing
16 changed files
with
818 additions
and
150 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,4 @@ | ||
db | ||
ebin | ||
deps | ||
log/*.log | ||
tmp | ||
tmp/**/* | ||
.DS_Store | ||
*.swp | ||
*.swo | ||
engine/*.dump | ||
*.beam | ||
config/database.yml | ||
erl_crash.dump | ||
priv/* | ||
c_src/*.o |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,15 @@ | ||
An *Erlang* version of [Redis](http://redis.io). Still in its very early stages. | ||
|
||
## 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) | ||
|
||
### Missing Features | ||
* Dynamic node configuration (i.e. the _SLAVEOF_ command is not implemented) | ||
|
||
### Unsupported Commands | ||
_SYNC_, _SLOWLOG_, _SLAVEOF_, _DEBUG *_ |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,10 @@ | ||
-include("elog.hrl"). | ||
|
||
-record(edis_command, {name :: binary(), | ||
args = 0 :: non_neg_integer(), | ||
last_arg_is_safe = false :: boolean()}). | ||
-record(edis_command, {timestamp :: float(), | ||
db :: non_neg_integer(), | ||
cmd :: atom(), | ||
args = [] :: [term()]}). | ||
|
||
-record(edis_item, {key :: binary(), | ||
value :: term(), | ||
type :: string | hash | list | set | zset}). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.