PageRenderTime 229ms CodeModel.GetById 60ms app.highlight 104ms RepoModel.GetById 58ms app.codeStats 0ms

/README.md

http://github.com/elcuervo/lodis
Markdown | 159 lines | 154 code | 5 blank | 0 comment | 0 complexity | 513a3a6921769fc39a9e78f54e2135a2 MD5 | raw file
  1# Lodis
  2
  3    -----------------------------------------------------------------------
  4    |_____________________________________________________________________X
  5    | <  |  >  | x  |_____________________________________________________|
  6    -----------------------------------------------------------------------
  7    |                    _._                                              |
  8    |               _.-``__ ''-._                                         |
  9    |          _.-``    `.  `_.  ''-._                                    |
 10    |      .-`` .-```.  ```\\/    _.,_ ''-._                              |
 11    |     (    '      ,       .-`  | `,    )                              |
 12    |     |`-._`-...-` __...-.``-._|'` _.-'|       Lodis 0.1              |
 13    |     |    `-._   `._    /     _.-'    |                              |
 14    |      `-._    `-._  `-./  _.-'    _.-'        like Redis             |
 15    |     |`-._`-._    `-.__.-'    _.-'_.-'|       but in a browser       |
 16    |     |    `-._`-._        _.-'_.-'    |                              |
 17    |      `-._    `-._`-.__.-'_.-'    _.-'                               |
 18    |     |`-._`-._    `-.__.-'    _.-'_.-'|                              |
 19    |     |    `-._`-._        _.-'_.-'    |                              |
 20    |      `-._    `-._`-.__.-'_.-'    _.-'                               |
 21    |          `-._    `-.__.-'    _.-'                                   |
 22    |              `-._        _.-'        github.com/elcuervo/lodis      |
 23    |                  `-.__.-'                                           |
 24    |---------------------------------------------------------------------|
 25    -----------------------------------------------------------------------
 26
 27## Compatibility
 28  Redis 2.4
 29
 30## Supported commands
 31  * SET &#10003;
 32  * GET &#10003;
 33  * DEL &#10003;
 34  * EXISTS &#10003;
 35  * EXPIRE &#10003;
 36  * DBSIZE &#10003;
 37  * EXPIREAT &#10003;
 38  * KEYS &#10003;
 39  * APPEND key, value &#10003;
 40  * AUTH password &#10003;
 41  * BGREWRITEAOF &#10003;
 42  * BGSAVE &#10003;
 43  * BLPOP key [key ...] timeout
 44  * BRPOP key [key ...] timeout
 45  * BRPOPLPUSH source destination timeout
 46  * CONFIG GET parameter
 47  * CONFIG SET parameter value
 48  * CONFIG RESETSTAT
 49  * DEBUG OBJECT key
 50  * DEBUG SEGFAULT
 51  * DECR key &#10003;
 52  * DECRBY key decrement &#10003;
 53  * DISCARD
 54  * ECHO message &#10003;
 55  * EXEC
 56  * FLUSHALL &#10003;
 57  * FLUSHDB &#10003;
 58  * GETBIT key offset
 59  * GETRANGE key start end &#10003;
 60  * GETSET key value &#10003;
 61  * HDEL key field [field ...] &#10003;
 62  * HEXISTS key field &#10003;
 63  * HGET key field &#10003;
 64  * HGETALL key &#10003;
 65  * HINCRBY key field increment &#10003;
 66  * HKEYS key &#10003;
 67  * HLEN key &#10003;
 68  * HMGET key field [field ...] &#10003;
 69  * HMSET key field value [field value ...] &#10003;
 70  * HSET key field value &#10003;
 71  * HSETNX key field value &#10003;
 72  * HVALS key &#10003;
 73  * INCR key &#10003;
 74  * INCRBY key increment &#10003;
 75  * INFO
 76  * LASTSAVE
 77  * LINDEX key index &#10003;
 78  * LINSERT key BEFORE|AFTER pivot value &#10003;
 79  * LLEN key &#10003;
 80  * LPOP key &#10003;
 81  * LPUSH key value [value ...] &#10003;
 82  * LPUSHX key value &#10003;
 83  * LRANGE key start stop &#10003;
 84  * LREM key count value &#10003;
 85  * LSET key index value &#10003;
 86  * LTRIM key start stop &#10003;
 87  * MGET key [key ...] &#10003;
 88  * MONITOR
 89  * MOVE key db
 90  * MSET key value [key value ...] &#10003;
 91  * MSETNX key value [key value ...] &#10003;
 92  * MULTI
 93  * OBJECT subcommand [arguments [arguments ...]]
 94  * PERSIST key &#10003;
 95  * PING &#10003;
 96  * PSUBSCRIBE pattern [pattern ...]
 97  * PUBLISH channel message
 98  * PUNSUBSCRIBE [pattern [pattern ...]]
 99  * QUIT
100  * RANDOMKEY &#10003;
101  * RENAME key newkey &#10003;
102  * RENAMENX key newkey &#10003;
103  * RPOP key &#10003;
104  * RPOPLPUSH source destination &#10003;
105  * RPUSH key value [value ...] &#10003;
106  * RPUSHX key value &#10003;
107  * SADD key member [member ...] &#10003;
108  * SAVE &#10003;
109  * SCARD key &#10003;
110  * SDIFF key [key ...] &#10003;
111  * SDIFFSTORE destination key [key ...] &#10003;
112  * SELECT index &#10003;
113  * SETBIT key offset value
114  * SETEX key seconds value &#10003;
115  * SETNX key value &#10003;
116  * SETRANGE key offset value &#10003;
117  * SHUTDOWN &#10003;
118  * SINTER key [key ...] &#10003;
119  * SINTERSTORE destination key [key ...] &#10003;
120  * SISMEMBER key member &#10003;
121  * SLAVEOF host port
122  * SLOWLOG subcommand [argument]
123  * SMEMBERS key &#10003;
124  * SMOVE source destination member &#10003;
125  * SORT key [BY pattern] [LIMIT offset count] [GET pattern [GET pattern ...]] [ASC|DESC] [ALPHA] [STORE destination]
126  * SPOP key &#10003;
127  * SRANDMEMBER key &#10003;
128  * SREM key member [member ...] &#10003;
129  * STRLEN key &#10003;
130  * SUBSCRIBE channel [channel ...]
131  * SUNION key [key ...]
132  * SUNIONSTORE destination key [key ...]
133  * SYNC
134  * TYPE key &#10003;
135  * UNSUBSCRIBE [channel [channel ...]]
136  * UNWATCH
137  * WATCH key [key ...]
138  * ZADD key score member
139  * ZCARD key
140  * ZCOUNT key min max
141  * ZINCRBY key increment member
142  * ZINTERSTORE destination numkeys key [key ...] [WEIGHTS weight [weight ...]] [AGGREGATE SUM|MIN|MAX]
143  * ZRANGE key start stop [WITHSCORES]
144  * ZRANGEBYSCORE key min max [WITHSCORES] [LIMIT offset count]
145  * ZRANK key member
146  * ZREM key member
147  * ZREMRANGEBYRANK key start stop
148  * ZREMRANGEBYSCORE key min max
149  * ZREVRANGE key start stop [WITHSCORES]
150  * ZREVRANGEBYSCORE key max min [WITHSCORES] [LIMIT offset count]
151  * ZREVRANK key member
152  * ZSCORE key member
153  * ZUNIONSTORE destination numkeys key [key ...] [WEIGHTS weight [weight ...]] [AGGREGATE SUM|MIN|MAX]
154
155
156## TODO
157  * Store expirations within Lodis itself to avoid expiration dates on reload
158  * Should handle types in a different way? custom types to match Redis?
159  * Sync with Redis via HTTP?