DevLift

Blog

Tutorials, guides, and insights to help you become a better developer.

Clear
If Your CRDT Test Ends by Syncing Everyone, It Tests Nothing
A list CRDT has one job — converge — so you can brute-force it: 400 operation logs, every one of the 720 delivery orders each, diff the results. Three orderings broke the naive implementation in three different ways, and one of them left every replica in perfect agreement about a scrambled document.
AdminAugust 11, 202613 min read
How Consistent Hashing Works Under the Hood
A measured walk through the hash ring: how much of your cache modulo hashing really destroys, how many virtual nodes you actually need for even distribution, and the 32-bit collision bug that makes the textbook implementation return unroutable keys.
AdminAugust 7, 202613 min read
"Our database is highly available" means four different things, and they protect against four different failures. A ladder for forcing that conversation to be specific — plus why the money most teams spend on availability goes to the failure modes they face least.
AdminJune 22, 20269 min read
Kafka is a distributed commit log, not a message queue. Segments on disk, the ISR, the KRaft controller quorum and zero-copy fetches — and how each one explains a config option you've had to set.
AdminMay 6, 202610 min read

Stay in the Loop

Get notified about new courses, tutorials, and learning tips. No spam, unsubscribe anytime.