Hacker News new | ask | show | jobs
by kbouck 476 days ago
Proposed Solution 1 is preferable in that it accounts for both DB outage, slowness, and worker crash, and you describe additional safety mechanisms to prevent queue becoming blocked by poison/invalid messages.

Proposed Solution 2 without ACKs would be vulnerable to message loss if a worker were to crash before successful message delivery.

1 comments

This, I think. I also didn't see how your solution 2 recovers from worker crashes, although I was sympathetic to distributing the retry to workers.