Skip to content
/ kvs Public

rust implementation of a simple key-value database

Notifications You must be signed in to change notification settings

Dizans/kvs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kvs

rust implementation of a simple key-value database

usage

Run a kvs server: cargo run --bin kvs-server -- --addr {IP:PORT} --engine {ENGINE} If --engine is specified, then ENGINE-NAME must be either "kvs" or "sled".By default, it's "kvs".

For example, you could start a server in terminal: cargo run --bin kvs-server -- --addr "127.0.0.1:8899" --engine kvs.

To send a send a message to kvs server

set: cargo run --bin kvs-client set "answer" "42" --addr "127.0.0.1:8899"

get: cargo run --bin kvs-client get "answer" --addr "127.0.0.1:8899"

remove: cargo run --bin kvs-client rm "answer" --addr "127.0.0.1:8899"

About

rust implementation of a simple key-value database

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages