Eighteen months ago, a client's engineer told me "it's just a queue, I'll build it in an afternoon." He was right about the afternoon. Retrying a failed webhook, backing off exponentially, storing the attempt count — none of that is hard. It's a table, a cron job, and some arithmetic. What he didn't build was the part that actually matters, and we didn't find out until a Tuesday eighteen months later when 40,000 retries piled up against a vendor that had rate-limited us without telling anyone.
"It's just X" is a sentence about day one
Every piece of off-the-shelf infrastructure — a real queue, a real job runner — carries a hundred small decisions you don't want to make yourself: what happens when a worker dies mid-job, what happens when the same message arrives twice, what happens when one downstream service goes slow and starts backing everything else up behind it. Rolling your own means none of those decisions get made. They get deferred, silently, to the day they stop being theoretical.
And that day is never during the demo. It's always during an incident, at a bad hour, involving an edge case nobody wrote a ticket for because nobody imagined it. Our homemade queue had no backpressure. When the vendor started rejecting calls, we didn't get a clean failure — we got a client-side retry storm that quietly doubled our own API costs before anyone noticed the pattern in the logs.
The debt wasn't in the code. It was in what the code assumed.
Here's the part I'd get wrong if you asked me to review that original pull request: the code was fine. Clean, tested, readable. The technical debt wasn't a messy function somewhere — it was the unstated assumption that downstream services fail politely and one at a time. That assumption was true for a year. Then it wasn't, and there was no commit to point at, because the bug wasn't a bug. It was a design that had never been asked the right question.
This is the pattern I see most often when a founder asks whether to build or buy something that sounds simple: "simple" is almost always a statement about the happy path, and the happy path is the one part of the system that was never going to cost you anything either way. The real cost lives in concurrency, partial failure, and scale you didn't have on day one — and those are exactly the things a mature open-source queue or a managed service has already been forced to solve, usually by someone else's 2 a.m.
What we do differently now
We didn't rip out the queue and replace it with something fancy. We replaced it with something boring — a well-worn library with backpressure and dead-letter handling built in, maintained by people who've already had our incident and fixed it. The afternoon it would have taken to build our own, version two, was closer to two weeks, because now we knew which questions needed answers before we shipped.
The lesson isn't "never build infrastructure yourself." Sometimes you genuinely should — when your constraints are unusual enough that the off-the-shelf option fights you. But "it's just a queue" is never evidence of that. It's evidence you haven't hit the case that makes it not-just-a-queue yet. Ask what happens when the thing you depend on misbehaves, not when it behaves. If you don't have an answer, you haven't built a queue. You've built a queue-shaped placeholder for one, and it's on a timer.