Create CPU Quota framework #1456
Labels
Admin
Features or bugs related to administrative features
Enhancement
Priority: Normal
User Interface
We have already a nice disk quota framework implemented as ActiveRecords. The system works through callbacks during the userfiles save() method, and can limit a specific user (or all users) to a maximum amount of bytes or files on a DataProvider.
I think we should create a parallel, very similar framework for limiting the amount of CPU a user request. When the quota is exceeded on a Bourreau, the user would be prevented from creating new CbrainTasks on it.
The check would be performed by a sum() of the values of the records in the ResourceUsage table, which are all persistent even when users delete their tasks.
We have two approaches for this feature:
The text was updated successfully, but these errors were encountered: