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.
How to design and ship linearizable counters on etcd using the Transaction API, ModRevision guards, and watch-based retry loops.
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.
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.
A deep dive into the architecture behind JetStream’s exactly-once semantics — covering Raft-replicated streams, per-consumer ack tracking, redelivery semantics, and the dedup window that ties it all together.
Mooncake reframes KV cache as a first-class distributed resource. This post walks through its architecture, the KV store design, and why prefilling and decoding benefit so differently from cache disaggregation.