Back-End
How N+1 Queries Slow an API and How to Spot Them
An endpoint that returns 20 blog posts with their authors takes 40 milliseconds on your laptop.
Back-end and infrastructure writer, page 3 of 7
Kofi spent years keeping APIs and game servers alive through traffic spikes and the occasional bad deploy. He covers back-end design, scaling and networking, with a preference for boring systems that do not page anyone at night.
Back-End
An endpoint that returns 20 blog posts with their authors takes 40 milliseconds on your laptop.
Dev Tools
The build passed on your laptop at 4pm. At 4:20 the same commit fails in CI with an error from a package you have never heard...
Games
A live results page looks trivial from the outside, a short list of numbers that changes now and then.
Back-End
A customer taps Pay, the spinner hangs for eight seconds on a weak train connection, and they tap again.
Dev Tools
You save a file, Prettier adds a trailing comma, ESLint underlines it in red, you run the ESLint fixer, it removes the comma,...
Games
A browser game can feel perfect in a two minute demo and fall apart after an hour.