News for hackers. Stuff that matters.
Re:What I wish someone would have told me about using Rabbit... by codedokode on Thursday July 14, 2022 @03:43AM (#32093174)
1) Some tasks may take a long time to complete. For example, generating a report or converting a video file might take several minutes. You don't want a user to look at a blank page for so long, and browser might even close the connection because of timeout.

2) Reliability. Imagine, if a customer places an order in a store, but the server process crashes and the order is lost. The customer won't be happy about this.

A mesasge queue might help in both cases. Note that you might implement a queue in a SQL database as well, but this still will be a message queue.

Re:What I wish someone would have told me about using Rabbit... by TedDoesntTalk on Thursday July 14, 2022 @03:49AM (#32093208)
And the downside is the http request can never have the full response. Client must somehow make another request to get results.