Skip to content
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

Document the impact of a buffer on a small queue of jobs when a job takes a long time #335

Open
ZimbiX opened this issue Feb 22, 2022 · 0 comments

Comments

@ZimbiX
Copy link
Member

ZimbiX commented Feb 22, 2022

From this issue:

If you only have a very small number of jobs currently in the queue, try decreasing the buffer size. We saw that kind of issue early on in us using Que - we had one long job which which was blocking idle worker processes from picking up the couple of quick jobs which were in the queue behind it. iirc, because a worker process by default allocates several jobs to itself (the buffer) as a performance optimisation. We should probably document this behaviour. And remove the minimum buffer size option, as I don't think that one's actually used anymore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant