-
Notifications
You must be signed in to change notification settings - Fork 108
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
firebase-queue stop handling new tasks for 20 minutes once in a while #116
Comments
We couldn't really take a guess here without a minimal repro that reproduces the behavior. Debug logging may help: |
Thanks , I will try that. |
OK , there's too much noise , hard to understand something that way... do I look for something specific? |
This still happens , we've switched to FB functions but since it's in Beta and doesn't have SLA we need to get back to firebase-queue solution. |
Even I am facing the same issue. When I start a worker the tasks are consumed at the same rate as they are produced, i.e., 200 tasks per 30 seconds. As, slootzky said, the workers consumption decreases and thus, the queue size starts increasing. I have tried all possible things, i even tried using a M4.large instance thinking the network might be a bottle neck, but it wasn't. Even with M4.large instance the same behavior is been seen. |
@farhankhwaja we found out that the only cloud platform this service can run on , is google cloud. |
oh ok @slootzky . I am trying to start deploy my app to app engine, but getting some Error. Anyways, thanks :). Will post here, if my situation improves after deploying the app. |
@slootzky got the app engine to work. And yes, you were right, the queue workers is now working at a consistently blazing pace. some black magic it seems |
I had the same problem, then i've created an alternative for simple queue implementation https://github.com/dflourusso/firebase-simple-queue |
Hey there ,
using firebase-queue to process tasks , about 60-200 in a minute.
every tasks takes about 150-200ms to process.
for some reason , we see the service freezing after some time and handling about 1 item / 2 minutes.
after restarting it , it resumes handling tasks quickly until it gets stuck again and so on.
this is how we start the service :
what could be the reason for such behaviour? how can we investigate it?
what would be a good workers number for our scenario? is 10 too much or too little?
Really appreciate your help here as it keeps happening about 5 times a day.
Thanks
The text was updated successfully, but these errors were encountered: