What is the difference between SQS vs RabbitMQ vs Memphis?
Avatar Idan Asulin
Apr 16, 2023
14 15 16
What is the difference between RabbitMQ vs ZeroMQ vs Memphis?
Avatar Idan Asulin
Apr 16, 2023
10 11 12
What is the difference between Kafka vs ZeroMQ vs Memphis?
Avatar Yaniv Ben Hemo
Apr 16, 2023
2 3 4
What is the difference between Azure Event Hub vs Kafka vs Memphis?
Avatar Idan Asulin
Apr 16, 2023
5 6 7
How does ActiveMQ vs RabbitMQ vs Kafka vs Memphis work?
Avatar Idan Asulin
Apr 16, 2023
7 8 9
What is ActiveMQ vs IBM MQ vs Memphis?
Avatar Yaniv Ben Hemo
Apr 16, 2023
3 4 5
What is IBM MQ?
Avatar Yaniv Ben Hemo
Apr 16, 2023
4 5 6
What is an mq server?
Avatar Idan Asulin
Apr 16, 2023
3 4 5
How does mq messaging take place?
Avatar Idan Asulin
Apr 16, 2023
2 3 4
What are the differences between RabbitMQ DLQ to Memphis DLS
4 5 6
Memphis Approach

In RabbitMQ, the dead letter exchanges in the message queue serves as the dead letter queue and processes messages negatively acknowledged by consumers as well as messages for which all the retries tend to fail. A dead letter message in RabbitMQ goes through the following route:

  1. A producer sends messages to the exchange
  2. The exchange directs the messages to a queue
  3. The messages in the queue are then fetched by the consumer 
  4. The consumer is unable to consume the message. It is then retried 16 times, but the consumer still fails to consume it or the consumer acknowledges the message negatively. If either of the two things happen, the message then becomes a dead-letter message.  
  5. The dead letter message in the queue is then sent to the dead letter exchange and a dead letter routing key is set for the message. 
  6. The dead letter exchange directs the message to the dead letter queue.
Memphis Approach

In Memphis, DLS gets created automatically right on the first poison message. A message is considered poison when it passes the “maxAckDeliveries” value set by the user.

The DLS can also

  • Act as a temp store place for messages that didn’t pass schema validation
  • Retransmit the message directly to the unconsumed consumer without code change, at runtime
  • Messages can be consumed the message directly through the SDK from any consumer
  • Drop the message from the dead-letter station using GUI or SDK

https://docs.memphis.dev/memphis/memphis/concepts/dead-letter