Error Autopsy
The Cache Stampede the Second the Key Expired
One popular key expired and four hundred requests missed at the same instant, so all four hundred rebuilt the value, and the database took the whole load at…
Error Autopsy
One popular key expired and four hundred requests missed at the same instant, so all four hundred rebuilt the value, and the database took the whole load at…
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.
Tooling
The config was ignored and the logs said nothing, and the syscall trace showed the open call failing on a path that differed by one character from the path…
Security
The assistant's reply was trusted because a model wrote it, and the reply was inserted with innerHTML, so a crafted input became stored script, and the…
Shopify
Every setting is a conditional in Liquid, a branch in CSS and a support question. I counted what a real theme actually used, and the answer changed how I…
Shopify
One script tag without defer, loading a bundle nothing above the fold needed. How to find what is blocking your paint and what each fix actually changes.
Shopify
Every element on the page moved down 44 pixels, a third of a second after paint. Finding the culprit took one API and a screen recording.
DevOps
The probe queried the database, so the slow database made the app look dead, and the restarts made the database slower, and the loop ran until someone read…
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.
Shopify
Someone added loading lazy to every image in the theme, including the one the browser needs first. Here is how the biggest LCP regression I have seen was…