#Best queueing service for bulk dependent tasks RabbitMQ vs BulkMQ

6 messages · Page 1 of 1 (latest)

plush meadow
#

Hi guys,
Im trying to build in a queueing system for my heavy tasks which involved dependent bulk services of placing bulk orders form the product cart which involves several steps and DB operations like fetching products for price & offers, adding requests, generating leads, clearing the cart, updating the order count in product, creating customers to the sellers, notifying the sellers and then the buyer all as a bulk process (a single user can order even 100+ product at a single go)

so for this case i need queuing and some DLQ so i was doing my R&D for a whole day since i have never worked with queueing before and finally came down to 2 services rabitMQ and bulkMQ and rabitMq already is a transporter in nest but its suggested by the AI that bulkMQ should do better for my case and im confused on which one to pick now

i need some suggestions regarding this, any help is highly appreciated.
thank you

wet wraith
#

What is BulkMQ??

misty zealot
#

I think he meant BullMQ.

So, RabbitMQ isn't a queue per se, but rather a messaging broker that can do queues. BullMQ on the other hand, is a specific software solution written for Node and built for queued work using a Redis server. The better selection between the two for queued work with Nest is BullMQ.

However, neither of them offer good features for durable workflow accomplishment and certainly won't offer you the transaction- or saga-like solution you'd need for your ecommerce workflow(s).

Although it is much more intensive in "building", I can highly recommend putting together a Temporal System for your workflows. The cool thing is, they have SDKs for all main languages, so your workflow can be in Node, but the workers could be in Go or Python. That is very powerful and another advantage above BullMQ.

plush meadow
plush meadow
misty zealot
#

Nest microservice with RMQ is RabbitMQ. You still need a RabbitMQ server either way.