Replies: 1 comment 4 replies
-
What exactly are you checking ? Perhaps if you explain in more detail we can provide more insight. |
Beta Was this translation helpful? Give feedback.
4 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, every week I do start a job to check premium for users in my backend server. There is like 220K users currently and it is increasing slowly. Because it took so long to check all of them separately, I started using Bull and it is amazing. My main problem with this is which one is better?:
A: Having one main queue that has a for loop of users and check each one by one
B: Having multi mini queues; I do a for loop outside of queue, in a for loop I do add userId to the queue, and in queue I do check.
If I did not clarify my problem, please ask me. Thanks.
Beta Was this translation helpful? Give feedback.
All reactions