Hacker News new | ask | show | jobs
by arxgo 143 days ago
Why not just handle this in the application with queues and background jobs?
1 comments

Queues work well before or after a request, but they’re awkward once a response is already streaming. This layer exists mainly to handle failures during a stream without spreading that logic across handlers, workers, and client code.