An Experimental Distributed Key Value Store
written in C
Requirements:
gcc
compiler https://gcc.gnu.org/cmake
https://cmake.org/download/
Build from source:
$ make build
The build results will be in the bin
folder
$ ./bin/pecel pecel.conf
Login to server with ATH
command, for example your server password is 12345
.
$ nc 127.0.0.1 6009
$ CONNECTED*
$ ATH 12345
$ OK*
Set and Get value
$ nc 127.0.0.1 6009
$ CONNECTED*
$ SET 1 wury
$ OK*
$ GET 1
$ wury
- more validation and error handling
Wuriyanto 2021