Why Your App Gets Slower With Every New User
AI-built apps slow down as data grows because queries read more rows than they need. The four causes, and the index, LIMIT and join that fix them.
Why an app gets slow with more users, how to measure first, caching, and Core Web Vitals for landing pages.
AI-built apps slow down as data grows because queries read more rows than they need. The four causes, and the index, LIMIT and join that fix them.
A background job is work your app finishes after it has already answered the user. What to move out of the request and how the queue pattern works.
Caching means remembering an answer so you do not compute it again. The caches your app already has, the one safety rule, and when a cache pays.
Google grades your landing page with three numbers: LCP, INP, and CLS. What they measure, why AI-built pages fail them, and a runnable test that catches it.
An index lets the database jump to rows instead of reading every one. How to see a missing index, which columns need one, and a test that fails without it.
Your app feels slow and every fix is a guess until you measure. The order that works: the slow route, the slow percentile, then the slow step.
An N+1 query asks the database for a list, then again for every row on it. How to spot it in your browser, fix it in one query, and dodge three traps.
Why users see someone else's data: Steam in 2015, ChatGPT in 2023, and three ways your app can do it too, with tests that catch each.
Six things that go wrong after the demo when an AI-built app meets real users and real traffic, and the engineering habit that stops each one.
Stuck with a vibe-coded app? I'll fix it.
Email me