The present invention provides a
resource scheduling method for a resource manager, including: A. Accessing a
resource pool to request resources: if there are resources in the
resource pool, obtain the resources; otherwise, proceed to the next step; B. Accessing the cached
resource pool to request resources: if the cached resource
pool has resources , to obtain resources; otherwise, go to the next step; C. Determine whether the amount of resources in the resource
pool is less than the set amount: if yes, create and obtain new resources; otherwise, add the request to the buffer
queue; D. Determine whether the buffer
queue has reached the maximum amount; if it reaches the maximum If there is a large number, reject the request; otherwise, go to the next step; E. Access the cache resource
pool to request resources through the buffer
queue: if the cache resource pool has resources, obtain the resource; otherwise, go to the next step; F. Determine whether the resource amount of the cache resource pool is less than the set amount : If yes, create and obtain a new resource; otherwise, increase or decrease the set amount of the cache resource pool according to the size of the buffer queue and return to step E. The above method solves the problems existing in the
resource scheduling method of the existing resource manager.