-
Notifications
You must be signed in to change notification settings - Fork 64
Closed
Labels
enhancementNew feature or requestNew feature or request
Description
Description
The current implementation of the backoff
function needs to be improved to allow for better memory / cpu consumption by MCAD.
In its current implementation of the func (qjm *XController) backoff(q *arbv1.AppWrapper, reason string, message string) { uses a call time.Sleep(time.Duration(qjm.serverOption.BackoffTime) * time.Second) to "backoff" the scheduling of the new appwrappers or app wrappers that have been created.
The backoff
function is called at this points in the code:
What would you want to see
MCAD should use timer implementation that would cope with a large number of app wrappers that would need to be backed off (no resource available or preemption)
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request
Type
Projects
Status
Done