Diagram of a Raft cluster with one leader, two followers, and lease timing arrows.

Architecting Fault-Tolerant State Machines with etcd's Raft: Lease Semantics and Split-Brain Recovery

A practitioner’s deep dive into how etcd’s Raft implementation prevents split-brain through leader leases, quorum checks, and recovery protocols — with patterns for building fault-tolerant state machines on top.

September 7, 2026 · 10 min · 2088 words · martinuke0
A stylized cluster of three nodes with one leader highlighted, representing etcd's Raft consensus.

Inside etcd's Raft Implementation: Lease-Based Leader Election and Read Consistency

How etcd uses Raft with lease-based leader election, read-index protocol, and a backend MVCC store to deliver strict consistency for Kubernetes and other control planes.

September 7, 2026 · 10 min · 2092 words · martinuke0
Distributed counter synchronization diagram

Implementing Linearizable Counters with etcd's Transaction API

How to design and ship linearizable counters on etcd using the Transaction API, ModRevision guards, and watch-based retry loops.

September 7, 2026 · 10 min · 2124 words · martinuke0
Diagram of Yjs document state diverging and merging between two clients

Architecting CRDT-Based Collaboration with Yjs: Inside the Operational Transform Engine

A deep dive into Yjs’s CRDT architecture and operational transform engine — the data structures, conflict resolution rules, and patterns that make collaborative editing feel instant.

September 6, 2026 · 11 min · 2254 words · martinuke0
Abstract diagram of encrypted message envelopes flowing from a sender through a notification gateway to multiple recipient devices.

Implementing End-to-End Encrypted Push Notifications with Signal and MLS

A practical guide to delivering push notifications that the server cannot read, covering Signal’s Double Ratchet, MLS group state, APNs/FCM payload constraints, and the tradeoffs you’ll hit in production.

September 6, 2026 · 10 min · 1993 words · martinuke0
Feedback