An experimental key-value database server that is compatible with the redis RESP protocol.
Simply run the following command to start the server:
go run cmd/kvstore-server/main.go
To connect to the server, currently the kvstore-cli
is yet to be implemented. So for now, you can use the redis-cli
command to connect to the server.
redis-cli -p 7275 # Default kvstore server port is 7275
Current available commands are:
SET key value
GET key
DEL key
KEYS pattern
PING
FLUSHALL
CLIENT [ID | INFO | LIST | KILL <id | addr | user> <value> | GETNAME | SETNAME <name>]
- Pipelining commands
- AOF
- ACL
- Clustering
- Implement
kvstore-cli
This project is not targeted for production use. This is only a proof of concept
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.