Crate ktd

Source

ModulesΒ§

exec πŸ”’
Implements RPCs and uses them to execute actions on the cluster.
Exposes methods for client’s usage.
http πŸ”’
Implements the client facing HTTP server.
merkle πŸ”’
Merkle tree implementation, used by the gossip protocol.
peer πŸ”’
Handles Peer discovery (see Discovery) and self identification. Also handles this peer availability zone.
state πŸ”’
Handles table metadata, exposing methods to load, save and list metadata.

StructsΒ§

Cli πŸ”’
ktd’s configuration and CLI interface.

ConstantsΒ§

PREPARE_TIME πŸ”’
Time that a stored table can remain in the Prepared state.
TIMEOUT πŸ”’
Time that an RPC may take to complete.

FunctionsΒ§

killer πŸ”’
Handles signals received by ktd, terminating cleanly.
logger_init πŸ”’
Initializes the logger.
main πŸ”’
Initializes all modules and starts all servers.