| Crates.io | kvsd |
| lib.rs | kvsd |
| version | 0.1.3 |
| created_at | 2020-11-26 12:00:49.588695+00 |
| updated_at | 2024-02-27 15:54:10.133635+00 |
| description | Simple key value store |
| homepage | |
| repository | https://github.com/ymgyt/kvsd |
| max_upload_size | |
| id | 316680 |
| size | 183,344 |
Kvsd is an asynchronous key value store with tokio runtime. The key value is saved by appending it to a file and keeps the offset in memory.
terminal1
# running server (default port: 7379)
$ kvsd server --disable-tls
terminal2
# running client
$ kvsd set key1 value1 --disable-tls
OK
$ kvsd get key1 --disable-tls
value1
$ kvsd delete key1 --disable-tls
OK old value: value1
The order of configuration priority is as follows.(high to low)
| Key | Description | Default |
|---|---|---|
| max_tcp_connections | Number of clients that can be connected simultaneously | 10240 |
| connection_tcp_buffer_bytes | Buffer to be allocated per client | 4096 |
| authenticate_timeout_milliseconds | Time to wait for authentication from client when tcp connection is established | 300 |
To specify logging directive, use KVSD_LOG environment variable.
$ KVSD_LOG=info kvsd