hotaru
GithubWebsitePost

hotaru

hotaru is a lightweight distributed consensus engine and replicated key-value database built in raw go from first principles without using external raft libraries like etcd/raft or hashicorp/raft. it implements core raft consensus mechanisms including leader election with randomized timeouts, log replication with safety guarantees, log compaction/snapshotting, fast-forward log conflict recovery, and linearizable reads. hotaru also supports dynamic cluster membership (live scale-in/scale-out via single-server changes) and features an interactive real-time next.js web dashboard connected via server-sent events (sse) to visualize cluster topology, state transitions, and live log propagation.

Stack

GoNext.jsReactTypeScriptTailwindFramer MotionSSE