主权项 |
1. A method comprising:
storing a capacity estimation value in computer memory, wherein the capacity estimation value estimates how many concurrent sessions a resource in a virtualized computing environment has workload capacity to handle; monitoring, by a processor, a plurality of resource consumption metrics of the resource on an ongoing basis, wherein the plurality of resource consumption metrics comprise a network bandwidth consumption metric, CPU consumption metric, and memory consumption metric; updating the capacity estimation value using the plurality of monitored resource consumption metrics; comparing, by the processor, the capacity estimation value in response to receiving a request to create a new session in the resource; receiving a hardware parameter of the resource and the plurality of resource consumption metric values of the resource; determining a current number of sessions being handled by the resource; recording, in computer memory, a plurality of utilization measurements over time using at least the resource consumption metric value and a corresponding current number of sessions; determining that the recorded measurements fall within a predetermined deviation margin; averaging the recorded measurements to calculate the capacity estimation value; and updating the capacity estimation value using the calculated capacity estimation value. |