Skip to content

Latest commit

 

History

History
52 lines (37 loc) · 824 Bytes

README.md

File metadata and controls

52 lines (37 loc) · 824 Bytes

Pecel

Pecel CI

An Experimental Distributed Key Value Store written in C

Building

Requirements:

Build from source:

$ make build

Running

The build results will be in the bin folder

$ ./bin/pecel pecel.conf 

Connect to pecel server with nc

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

TODO

  • more validation and error handling

Wuriyanto 2021