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

[Question] Channels / Channel capacity vs. Odoo workers #431

Closed
fortee opened this issue May 11, 2022 · 2 comments
Closed

[Question] Channels / Channel capacity vs. Odoo workers #431

fortee opened this issue May 11, 2022 · 2 comments
Labels

Comments

@fortee
Copy link

fortee commented May 11, 2022

First of all the queue_job is fantastic, hats off, and thank you for all the work you have put into it!

I would like to ask for some help to better understand the relationship between the defined channels and channel capacity and default Odoo workers.
I'm planning to start using the queue_job with the following configuration:

[queue_job]
channels = root:6,A:2,B:2,C:2:throttle=1

Until now (without the queue_job being used) my Odoo servers worker setting was 6.

I would like to know:

  • If the queue_job job runners will "eat up" normal Odoo workes or it spawns their own separate workers.
  • How to calculate the amount of extra Odoo workers I need if those are used by the queue_job module
@sbidoul
Copy link
Member

sbidoul commented Jul 1, 2022

If the queue_job job runners will "eat up" normal Odoo workes or it spawns their own separate workers.

Queue job will use regular workers. It will not spawn its own.

How to calculate the amount of extra Odoo workers I need if those are used by the queue_job module

You need one worker per root channel (6 in your case), plus as much as you need for regular interactive users.

@fortee
Copy link
Author

fortee commented Nov 1, 2022

Thank you for the answer!

@fortee fortee closed this as completed Nov 1, 2022
yajo added a commit to moduon/queue that referenced this issue May 17, 2024
Adding docs for OCA#431 (comment), which could be surprising and, if not taken into account, could easily block any DB using queue_job.

@moduon MT-6106
yajo added a commit to moduon/queue that referenced this issue May 17, 2024
Adding docs for OCA#431 (comment), which could be surprising and, if not taken into account, could easily block any DB using queue_job.

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

No branches or pull requests

2 participants