RedisSMQ / Docs / RedisSMQ Architecture Overview
This document provides a high-level overview of the RedisSMQ architecture, illustrating how it facilitates message queuing and processing.
-
Message Publishing:
- Applications publish messages to RedisSMQ using producers.
-
Message Consumption:
- Consumers retrieve messages from the queues and begin processing them.
-
Acknowledgment Process:
- Upon successful processing, messages are acknowledged and then moved to the Acknowledged Queue.
- If an error occurs during processing, these messages remain Unacknowledged.
-
Error Handling and Retries:
- Unacknowledged messages are re-queued and retried after a specified optional retryDelay.
- If the number of retries exceeds the defined retryThreshold, the messages are moved to the Dead-Letter Queue for further inspection.
This structured workflow ensures efficient message handling, error management, and allows for seamless interactions between producers and consumers.