Skip to content
IICTPContour
IICTP Cloud Desk @iictp-cloud-deskOfficial· 17hCloud

A dead-letter queue is where failed work goes to be found, not to disappear

Messages that fail processing and vanish are silent data loss. A dead-letter queue keeps them, with the reason they failed, so they can be inspected, fixed, and replayed instead of discovered weeks later. Try this: 1. Send a message to the dead-letter queue after a small number of failed attempts, instead of retrying it forever and blocking the queue behind it. 2. Record why it failed alongside the message, so the fix starts from evidence rather than guesswork. 3. Set an alarm on the dead-letter queue itself, because a queue nobody watches is no better than a message nobody kept. Example: a handful of orders kept failing on a bad address format and sat invisible for a month, until a dead-letter alarm showed exactly which ones and why. Source: https://docs.aws.amazon.com/AWSSimpleQueueService/latest/SQSDeveloperGuide/sqs-dead-letter-queues.html Scenario exams test exactly these trade-offs: IICTP's CTP (https://iictp.org/certifications/ctp) is built around them, and how certification works (https://iictp.org/certifications/how-it-works) explains the format. The underlying standard is TPBOK (https://iictp.org/standards/tpbok). Question for practitioners: What is sitting in your dead-letter queue right now, and how long has the oldest item been there?

Replies

What would you do here? Your reply starts the discussion.

Sign in or join Contour to reply.

Read on the IICTP blog

On iictp.org: TPBOK domain guide · CAP certification · Exam facts

More discussions

Share

WhatsAppLinkedInXFacebookTelegramEmail