Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
arxgo
· 10mo ago · 0 comments
Why not just handle this in the application with queues and background jobs?
Comments
[–]
akarshc
10mo ago
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.