commit_log command

The commit_log binary runs a simulation of the design for a commit-log based signer, with a simulated Kafka-like interface and a simulated master election package (which can be triggered to incorrectly report multiple masters), and with the core algorithm in the signer code. klog.Warning is used throughout for unexpected-but-recoverable situations, whereas klog.Error is used for any situation that would indicate data corruption.

Directories

PathSynopsis
docs/storage/commit_log/signerPackage signer is a sample implementation of a commit-log based signer.
docs/storage/commit_log/simelectionPackage simelection simulates a master election.
docs/storage/commit_log/simkafkaPackage simkafka is a toy simulation of a Kafka commit log.
Version
v1.7.1 (latest)
Published
Jan 9, 2025
Platform
linux/amd64
Imports
9 packages
Last checked
5 days ago

Tools for package owners.