#performance

3 posts
Development

The Query Was Fine at 10,000 Rows

You wrote the query in an afternoon. It ran against your development database in four milliseconds, the test suite went green, and you shipped it. Six weeks later, someone in support forwards a screen...

2026.09.01 · 21 min read · views 436
The Query Was Fine at 10,000 Rows
Development

The Query Was Fine Until the Table Hit a Million Rows

Your app was fast for a year. Nothing changed — same code, same server, same query you wrote in an afternoon and never thought about again. Then one Tuesday the orders page takes eleven seconds to loa...

2026.08.22 · 18 min read · views 679
The Query Was Fine Until the Table Hit a Million Rows
Development

O(n²) Worked on Your Laptop. Then Real Users Showed Up.

You wrote a function that worked perfectly on your laptop. It flew through a list of 50 names, sorted them, found the duplicates, and returned an answer in a blink. Then you shipped it, real users sho...

2026.08.14 · 15 min read · views 1,063
O(n²) Worked on Your Laptop. Then Real Users Showed Up.
AD