Documentation ¶
Overview ¶
Command dkvsd starts a new cluster node.
Usage
-local string set the local address (default "localhost:5000") -remote string set the remote address (default "localhost:5000") -replicas int number of replicas in cluster (default 1) -role string set node role to either master, slave or client (default "master") -v display version of dkvs
Configuration examples
# start a master on the local machine. dkvsd -role master -replicas 3 -remote "" # start a node to join the cluster dkvsd -role slave -remote localhost:5000 -local localhost:5001
Directories ¶
Path | Synopsis |
---|---|
Package lib provides a collection of types and methods to run a key-value storage compatible to the dkvs specification.
|
Package lib provides a collection of types and methods to run a key-value storage compatible to the dkvs specification. |
local
Package local provides a master-slave implementation to run on a local machine.
|
Package local provides a master-slave implementation to run on a local machine. |
local/cluster
Package cluster provides functionality for managing node cluster sets.
|
Package cluster provides functionality for managing node cluster sets. |
local/hashtable
Package hashtable provides functionality for storing and retrieving key-value pairs associated with a specific revision.
|
Package hashtable provides functionality for storing and retrieving key-value pairs associated with a specific revision. |
local/replicas
Package replicas provides functionality to manage master node sets.
|
Package replicas provides functionality to manage master node sets. |
remote
Package remote provides a remote interface for network nodes.
|
Package remote provides a remote interface for network nodes. |
Click to show internal directories.
Click to hide internal directories.