Consistency

System Design

A Cache Is a Consistency Trade, and the Trade Should Be Deliberate

Caching improves performance by serving stale data, and the trade-off between freshness and speed should be a deliberate decision, not…

Read More »
Backend & APIs

Every Endpoint Formatting Errors Differently Is a Tax on Every Client

An API that returns three different error shapes depending on which endpoint or which failure occurred forces every client to…

Read More »
System Design

Reading Your Own Write From a Replica Is a Race You Will Eventually Lose

A user updates their profile, the page reloads and reads from a replica, and the update appears to have vanished…

Read More »
Back to top button