Answer the question
In order to leave comments, you need to log in
Is there a load balancer for Queues?
I have N tasks per day that I would like to drive into Queues.
But it is necessary that these tasks are scattered throughout the day.
It's even better to be able to configure, for example, less during the day, higher at night.
Does a similar package exist?
update:
For example, there are 10,000 tasks in one day, so that they are evenly (or with the help of a more complex config) scattered throughout the day. 1 task every 8-9 seconds
There are 86000 tasks per day - 1 task every second.
Answer the question
In order to leave comments, you need to log in
What you need - you have to do it manually, especially day and night configurations.
Ready-made packages for such situations - solve the problem only of the person who made it, and if such a package exists, it’s not a fact that it will suit you)
Any queue broker is suitable for solving this problem, almost each of them has the ability to create pending tasks. If you know what needs to be processed for a certain period of x tasks, either start a counter somewhere, or poll the state of the queues for the number of available tasks, and send a new task either immediately to the queue or to the pending queue.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question