Replies: 1 comment 2 replies
-
I am not sure I understand all the requirements you have, but it sounds like groups could be very close to what you want to do: https://docs.bullmq.io/bullmq-pro/groups (not that this is only available on the Pro version). |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey, everybody. In short, I need to implement the ability to create a queue for each user in which a series of asynchronous tasks will be executed at a given interval (which in the future will be changed at the user's request).
Application description (description is general, just for understanding):
I create a bot that will be engaged in mailing specified letters to certain contacts and with a certain interval. All this can be customized by the user.
What I tried to do:
Since I am using NestJS I tried using Bull to customize the queues. But I encountered the following problems:
And these processes should be convenient to manage. For example, to pause or change intervals.
I also tried to use BullMQ with its fictitious multithreading, but there you can not set intervals, because in fact the thread is the main task in which the smaller ones are executed.
Beta Was this translation helpful? Give feedback.
All reactions