Hacker News new | ask | show | jobs
by politician 1656 days ago
Typically with busted messages, an early and easy thing to do is to just shunt them off into a "dead-letter queue". That's just the name of another queue where messages are manually handled.
1 comments

Now what if the rest of your messages depended on the poison message? Think “inventory in” is the poison message and now all subsequent orders for that product are cancelled.

That’s a toy example; your system corruption could get much worse due to a poison message depending on the application.

In practice this isn’t an issue. You put alarms on that queue and triage it immediately.