5 ms·
>Someone could be logging in to their dashboard and the web service basically is like, “Well sure, I’ll serve up your dashboard HTML at the moment, but I got to
by JonoBB 12y ago
>Someone could be logging in to their dashboard and the web service basically is like, “Well sure, I’ll serve up your dashboard HTML at the moment, but I got to send these phone calls out right now so you’re going to wait.”
Why not just use a push queue like iron.io so that it doesn't block http at all?
- lmm 12y agoMore moving parts, more points of failure, async queues make problems much harder to debug (you no longer have a "stack trace" that tells you where your bad data came from, you just know it came off the queue like that). Async queues have advantages for many problems but they don't come for free.
- JonoBB 12y agoSure, but those are in most cases easily surmountable, and the advantages in this case sound somewhat higher than the downsides. Who knows...except @patio11.