US 12,367,074 B1
Network management software-as-a-service system for allocating resources (also termed threads) of containers for performance of a job
Chandrasekhar A, Bengaluru (IN); and Jayanthi R, Bangalore (IN)
Assigned to Juniper Networks, Inc., Sunnyvale, CA (US)
Filed by Juniper Networks, Inc., Sunnyvale, CA (US)
Filed on Dec. 20, 2021, as Appl. No. 17/556,130.
Int. Cl. G06F 9/50 (2006.01)
CPC G06F 9/5038 (2013.01) 20 Claims
OG exemplary drawing
 
1. A system, comprising:
one or more memories; and
one or more processors to:
identify a plurality of containers of the system,
wherein each of the plurality of containers includes a same number of threads associated with a job category;
receive a first request for an allocation of threads to perform a job associated with the job category for a tenant associated with the system;
determine, based on the first request, a number of available threads associated with the job category of the system at a first time;
cause, based on the first request and the number of available threads associated with the job category at the first time, a first group of threads associated with the job category to be allocated to perform the job;
receive, based on causing the first group of threads associated with the job category to be allocated to perform the job, a second request for an allocation of threads associated with the job category to perform at least one task of the job;
determine, based on the second request, a number of available threads associated with the job category of the system at a second time;
cause, based on the second request and after determining the number of available threads associated with the job category at the second time, a second group of threads associated with the job category to be allocated to perform the at least one task;
receive a message indicating a container creation or container deletion event;
determine, based on the message, a number of the plurality of containers at a third time;
determine, based on determining the number of the plurality of containers at the third time, a number of overall threads associated with the job category of the system at the third time; and
determine, based on the number of overall threads associated with the job category of the system at the third time, a number of available threads associated with the job category of the system at the third time.