Ben Gamble
TickMerge is a consensus algorithm for distributed streaming systems that achieves global ordering through deterministic merging rather than leader-based log replication. Existing consensus algorithms such as Raft and Paxos require a single leader to serialize all writes, creating a throughput bottleneck and an availability gap during leader elections. TickMerge eliminates the leader entirely: any node in the ring accepts writes to a local write-ahead level (L0), and a background merge process---coordinated by a circulating ring token---produces a deterministic global ordering across all nodes. The system separates the write path (Command) from the read path (Query) using a CQRS architecture with multiple storage levels (L0 through L-Merged), each providing progressively stronger consistency guarantees. Clients choose their consistency level per-read, ranging from local-only (L0) to