#performance

2 posts
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 506
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 718
O(n²) Worked on Your Laptop. Then Real Users Showed Up.
AD