Queues (Redis)
10/30/24Less than 1 minute
Queues (Redis)
Queues decouple time-consuming tasks from the request pipeline, processing them asynchronously and reliably. Use cases include: sending emails/notifications, generating reports, exporting files, third-party callbacks. The same interface can dispatch "messages" to the queue, where multiple background workers consume concurrently. Failed tasks are automatically retried; those exceeding the threshold enter the failure queue.