build-diary 2 min read

Diary of an Indie Hacker — Entry 19: The 2-hour video that killed the server

Day nineteen: a real-world stress test crashes the API mid-transcription — and eight database indexes quietly prevent a hundred worse days.

Originally written November 24, 2025


We decided to stress the product the way a real podcaster would: feed it a full-length interview, the kind that runs two hours and weighs the better part of a gigabyte. The import worked. The credits deducted correctly — 179 of them. The transcription job started. And then the API died, mid-upload, like a sprinter collapsing at the finish line. The crash log was polite about it: killed, no ceremony, no error handling that matters when the process simply stops existing.

The same day, while the ashes settled, we started paying down a different kind of debt: eight new database indexes on the fields every query actually uses — project lists by org and date, moments by score, transaction history, export status. The stuff that makes a dashboard fast instead of a spinner. Nobody screenshots a database index, but every page you open is built on the ones that exist and suffers for the ones that don't.

There's a lesson in the pairing. A big-file stress test that crashes the server is a failure for maybe an afternoon. Slow queries that never quite get fixed are a failure forever, they just don't announce themselves. The 2-hour crash got a root cause and a plan within hours. The indexes will quietly prevent a hundred worse days.


Next entry: the same 2-hour video, successful — and the pricing tax nobody had asked us to charge.

Ready to Start Creating?

Turn your long videos into viral clips with AI. Free to start.

Try Atomiser Free