BE: Add concurrency support in backend
Problem to solve
On-premise: The customer will acquire a license that allows a X maximum amount of concurrent jobs that are available to all users in the company.
On mlreef.com: Each user will have a maximum amount of X concurrent jobs.
Proposal for Technical Solution
-
Create a configuration file with 3 variables:
concurrency_mode= user / customer
limit_customer=10
limit_user=1
If the installation has the mode customer
the concurrency will be controlled on a enterprise level. If the installation has the mode user
the concurrency will be controlled on a user level.
-
Create a mechanism in backend that controls the job creation.
Permissions and Security
Documentation
Availability, Testing & Test Cases
Additional Notes
Is this a cross-stage feature?
Links / references
Edited by Erika Torres