Tag: Architecture
All the articles with the tag "Architecture".
-
Cache That Knows When to Forget. | The Foundation Papers, Part 5
Almost every cache bug I've debugged wasn't a TTL problem. It was a scoping problem — the cache didn't know what it was allowed to know, so it forgot the wrong things, or remembered the wrong things, at exactly the wrong moment.
-
The Query That Corrupted Our Data. | The Foundation Papers, Part 4
Two requests updated the same row eleven milliseconds apart. Both read the same starting balance. Both wrote what they believed was correct. One of them was wrong, and nothing in the stack told us which.
-
Three Layers. No More, No Less. | The Foundation Papers, Part 3
The first thing I check in a Laravel code review now is how many places in the codebase catch a fatal error and decide what to do about it. The honest answer is usually: however many controllers exist.
-
Your API Has No Shape. | The Foundation Papers, Part 2
Ask ten engineers on the same team what a validation error looks like in your API, and you'll get more than one answer. That's not an API. That's a suggestion — and it's the second post in The Foundation Papers.