You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
**Apache Kvrocks(Incubating)** is a distributed key value NoSQL database that uses RocksDB as storage engine and is compatible with Redis protocol. Kvrocks intends to decrease the cost of memory and increase the capacity while compared to Redis. The design of replication and storage was inspired by `rocksplicator` and `blackwidow`.
13
13
14
14
Kvrocks has the following key features:
15
15
16
-
- Redis protocol, user can use redis client to visit the kvrocks
17
-
- Namespace, similar to redis db but use token per namespace
18
-
- Replication, async replication using binlog like MySQL
19
-
- High Available, supports redis sentinel to failover when master or slave was failed
20
-
- Cluster mode, centralized management but compatible with Redis cluster client access
16
+
* Redis protocol, user can use redis client to visit the kvrocks
17
+
* Namespace, similar to redis db but use token per namespace
18
+
* Replication, async replication using binlog like MySQL
19
+
* High Available, supports redis sentinel to failover when master or slave was failed
20
+
* Cluster mode, centralized management but compatible with Redis cluster client access
21
21
22
22
> Thanks for designers @[田凌宇](https://github.com/tianlingyu1997) and @范世丽 contribute the kvrocks logo for us.
23
23
@@ -41,35 +41,34 @@ Kvrocks has the following key features:
41
41
</tr>
42
42
</table>
43
43
44
-
***Tickets a pull reqeust to let us known that you're using kvrocks and add your logo to README***
44
+
***Tickets a pull request to let us known that you're using kvrocks and add your logo to README***
45
45
46
-
## Building kvrocks
46
+
## Build and Run kvrocks
47
47
48
-
#### requirements
49
-
* g++ (required by c++11, version >= 4.8)
50
-
* autoconf automake libtool cmake
51
-
52
-
#### Build
48
+
### Prerequisite
53
49
54
50
```shell
55
-
# Centos/Redhat
56
-
sudo yum install -y epel-release && sudo yum install -y git gcc gcc-c++ make cmake autoconf automake libtool which
51
+
# CentOS / RedHat
52
+
sudo yum install -y epel-release
53
+
sudo yum install -y git gcc gcc-c++ make cmake autoconf automake libtool which
57
54
58
-
# Ubuntu/Debian
55
+
# Ubuntu / Debian
59
56
sudo apt update
60
-
sudo apt-get install gcc g++ make cmake autoconf automake libtool
$ ./build.sh build # `./build.sh -h` to check more options;
72
-
# especially, `./build.sh build --ghproxy` will fetch dependencies via ghproxy.com.
70
+
$ ./x.py build # `./x.py build -h` to check more options;
71
+
# especially, `./x.py build --ghproxy` will fetch dependencies via ghproxy.com.
73
72
```
74
73
75
74
### Running kvrocks
@@ -111,7 +110,7 @@ $ ./unittest
111
110
112
111
## Namespace
113
112
114
-
namespace was used to isolate data between users. unlike all the redis databases can be visited by `requirepass`, we use one token per namespace. `requirepass`was regraded as admin token, only admin token allows to access the namespace command, as well as some commands like `config`, `slaveof`, `bgsave`, etc…
113
+
Namespace is used to isolate data between users. Unlike all the Redis databases can be visited by `requirepass`, we use one token per namespace. `requirepass`is regraded as admin token, and only admin token allows to access the namespace command, as well as some commands like `config`, `slaveof`, `bgsave`, etc..
115
114
116
115
```
117
116
# add token
@@ -136,24 +135,25 @@ OK
136
135
137
136
## Cluster
138
137
139
-
Kvrocks implements a proxyless centralized cluster solution but its accessing method is completely compatible with the Redis cluster client. You can use Redis cluster SDKs to access the kvrocks cluster. More details, please see: [Kvrocks Cluster Introduction](https://github.com/apache/incubator-kvrocks/wiki/Kvrocks-Cluster-Introduction)
138
+
Kvrocks implements a proxyless centralized cluster solution but its accessing method is completely compatible with the Redis cluster client. You can use Redis cluster SDKs to access the kvrocks cluster. More details, please see: [Kvrocks Cluster Introduction](https://kvrocks.apache.org/docs/Cluster/kvrocks-cluster-introduction)
0 commit comments