Contributors mailing list archives

contributors@odoo-community.org

Browse archives

Avatar

Re: Reserved / priority worker

by
MoaHub, Graeme Gellatly
- 22/05/2023 21:23:21
Should be easy enough, just start another odoo instance listening on a different port or container. Configure reverse proxy to send those requests to that instance. Its a fairly common setup already to have a seperate instance for running crons, particular routes that need extra memory etc.

On Tue, 23 May 2023, 1:02 am Radovan Skolnik, <notifications@odoo-community.org> wrote:
Hello,

I am going to provide some services very similar to what's available as IAP in 
Odoo so part of it is checking whether customer has got enough "credits". The 
easiest way would be to create a controller to handle this but I am afraid of 
situations where the server is occupied with different things like many users, 
etc.

Is there a way to "reserve" a worker for such kind of things? Or maybe somehow 
to give priority for processing such requests?

Any advise is welcome. Thank you

Best regards

	Radovan Skolnik


_______________________________________________
Mailing-List: https://odoo-community.org/groups/contributors-15
Post to: mailto:contributors@odoo-community.org
Unsubscribe: https://odoo-community.org/groups?unsubscribe

Reference