Hi guys why do we use message queue what are the benefits? Lets talk about.
Loading
Hi guys why do we use message queue what are the benefits? Lets talk about.
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
Rajanikant HawaldarRank #110 · 20.2K reputationPosted Aug 25, 2022, 8:39 AM EDT
Vishal YelveRank #178 · 13.6K reputationPosted Aug 25, 2022, 9:14 AM EDT
Sam HobbsRank #107 · 20.5K reputationPosted Aug 25, 2022, 1:17 PM EDT
The term message queue is very general. They are used for many things. Is there a particular use that you are asking about?
The main reason to use a queue is to keep things in the same sequence. So that the first item is processed first and the last item is processed last. Another reason is to have a list of itmes to process when resources are limited. If there is more work to do than the system can do then it must keep a list of what to do when it has completed previous tasks.
When you get in line to buy something then you are in a queue. When there is a line then that means there are more people wanting to make purchases than cashiers that can do the sale. So people queue up (get in line) for a cashier or whatever.