forked from mirror/ledisdb
update
This commit is contained in:
parent
561ffefd9a
commit
ffc40358fe
|
@ -0,0 +1,48 @@
|
|||
# ledisdb
|
||||
|
||||
Ledisdb is a high performance nosql like redis based on leveldb written by go. It's supports some advanced data structure like kv, list, hash and zset.
|
||||
|
||||
## Build and Install
|
||||
|
||||
+ Create a workspace and checkout ledisdb source
|
||||
|
||||
mkdir $WORKSPACE
|
||||
cd $WORKSPACE
|
||||
git clone git@github.com:siddontang/ledisdb.git src/github.com/siddontang/ledisdb
|
||||
|
||||
cd src/github.com/siddontang/ledisdb
|
||||
|
||||
+ Install leveldb and snappy, if you have installed, skip.
|
||||
|
||||
I supply a simple shell to install leveldb and snappy, you can use:
|
||||
|
||||
sh build_leveldb.sh
|
||||
|
||||
It will default install leveldb at /usr/local/leveldb and snappy at /usr/local/snappy
|
||||
|
||||
+ Change LEVELDB_DIR and SNAPPY_DIR to real install path in dev.sh.
|
||||
|
||||
+ Then:
|
||||
|
||||
. ./bootstap.sh
|
||||
. ./dev.sh
|
||||
|
||||
go install ./...
|
||||
|
||||
## Run
|
||||
|
||||
./ledis-server -config=/etc/ledis.json
|
||||
|
||||
## Benchmark
|
||||
|
||||
See benchmark.md for more.
|
||||
|
||||
## Todo
|
||||
|
||||
+ Expire + TTL
|
||||
+ Replication
|
||||
+ Admin
|
||||
|
||||
## Feedback
|
||||
|
||||
Gmail: siddontang@gmail.com
|
Loading…
Reference in New Issue