摘要 |
The embodiment of the present invention provides a distributed cache control method and apparatus. The distributed cache control method provided by the present invention includes: collecting client statistic information of the cache nodes in the cluster system; computing the average expected value of users according to the client statistic information; determining the resource adjustment mode of the system according to the average expected value of the users and an expected threshold; performing node contraction operation or node expansion operation on the cache nodes in the cluster system according to the determined resource adjustment mode. The embodiment of the present invention performs corresponding adjustment strategy on the resources of the cluster system by monitoring user satisfaction to the Quality of Service (Qos) of the cluster system, thus improving the quality of service of the client. |