Deep Dive
What a Database Actually Does When It Says Committed
The commit returns before the data is on the platter, and the gap between the log write and the flush is where durability lives, and where one setting…
Longer pieces on how a piece of infrastructure actually works, from the syscall or the byte upward.
Deep Dive
The commit returns before the data is on the platter, and the gap between the log write and the flush is where durability lives, and where one setting…
Deep Dive
Latency was fine, then terrible, then fine, on a rhythm of a few minutes, with no traffic rhythm to match. The period was the checkpoint interval, and the…
Deep Dive
The cache was sharded by modulo, so the twelfth server rehashed every key, and the whole cluster went cold at once, and the database took the entire load in…
Deep Dive
Generated code reflects the distribution it was trained on, and that distribution is tutorials and working examples, so the edges are where generated code…
Deep Dive
Four headers set the caching behaviour and they disagree, so the effective policy is a precedence order rather than a sum, and the order is not what the…
Shopify
Performance work that is not enforced gets undone within a quarter. Here is the budget I use, the numbers behind each limit, and how to fail a build on it.
Shopify
Uninstalling apps one at a time and re-running Lighthouse is not a method. Here is how to attribute main thread time and bytes to a specific app in one pass.
Deep Dive
The pod was serving fine until Kubernetes killed it, repeatedly, because a liveness probe shared the event loop with the work.
Deep Dive
The agent worked well for the first hour, then started re reading files it had already read and re proposing fixes it had already rejected.
Deep Dive
The repro failed because the model gave a different answer to the identical prompt, at temperature zero, twice. Determinism was never a property of the setting.
Deep Dive
The plan said Index Only Scan, the buffers said the heap was read anyway, and the win never arrived. Index only is conditional on the visibility map, and…
Shopify
Three options with six values each is two hundred and sixteen combinations, and the platform's limit is one hundred variants.