RabbitMQ Work Queue Graceful Shutdown With Timeout

To make a better user experience I’ll be implementing a work queue to handle tasks that take a long time but are not necessary to be completed before returning a successful API response. The classic example is image processing: we want to let the user know that everything is okay as soon as the file is finished uploading, we don’t want them to have to wait for thumbnails to be created or other background processing to take place....

27 May 2023 · 6 min · 1184 words · Mario Finelli