A user never writes "your ORDER BY isn't total." They write "my tasks disappeared." We spent the summer chasing speed and reliability, and three cases are worth telling because from the outside all three looked like mysteries.
The disappearing tasks
A studio with more than five hundred tasks reported that some were missing. The cause: the query had a 500-row cap and everything past it silently fell off. The fix wasn't just raising a limit — the list now pages until it has everything, the server reports the total count so the client can verify completeness, and the ordering carries a tiebreaker for rows created in the same instant (without one, pages can hand you the same row twice — or never).
The ten-second poll that downloaded a megabyte
The same list refreshes every ten seconds so the team sees each other's changes. But every refresh re-downloaded the whole list — over a megabyte — even when nothing had changed. Now the server fingerprints the content and answers "nothing new" with an empty response: 0 bytes instead of a megabyte, every ten seconds, for every open window. The list also stopped shipping full description texts it never displayed.
The trash that lied
The sneakiest one: the trash page showed zero tasks while the database held 57 of them. Inside the query, two branches fought over the deleted-rows filter and the second silently overwrote the first. We found it only because we walked the "delete → find in trash → restore" scenario live, with real data.
What we keep from this
All three bugs shared one thing: nothing crashed. No error log, no red toast — just a system quietly showing less than it knew. Hence the standing rules: every bound must confess itself (a total count in the response header), every "nothing here" must distinguish "truly nothing" from "I couldn't look", and every fix gets a test that fails if the bug ever returns. Speed is trust — and trust is built by a system that tells the truth even about what it didn't manage to do.