Method, system and apparatus for configuring computing resource of service
AssigneeInspur Suzhou Intelligent Technology Co., Ltd.
InventorsChao Wang, Shaohua Wu, Qingshan Chen, Rongguo Zhang
Life of this patent
Estimating the term…
Abstract
A method, system and apparatus for configuring a computing resource of a service are provided, which relate to the field of resource configuration. The method includes that: an online learning algorithm that is used for recommending, to each service on a platform, a computing resource quota adapted to a service type of the service is preset; when a new service is launched on the platform, a target computing resource quota adapted to the service type of the new service is recommended according to the online learning algorithm; and initial configuration is performed for a computing resource of the new service according to the target computing resource quota.
Claims20
A method for configuring a computing resource of a service, comprising:
- presetting an online learning algorithm that is used for recommending, to each service on a platform, a computing resource quota adapted to a service type of the service;
- recommending, when a new service is launched on the platform during a cold start state in which a preset standard computing resource quota is not stored in a system memory, a target computing resource quota adapted to the service type of the new service according to the online learning algorithm, wherein the preset standard computing resource quota is configured to configure an initial value of a computing resource for the new service launched on the platform;
- and
- performing initial configuration for a computing resource of the new service according to the target computing resource quota;
- wherein the platform is a Kubernetes platform configured to manage containerized services, the containerized services comprise the new service, and the computing resource of the new service is jointly provided by a Central Processing Unit (CPU) and a Graphics Processing Unit (GPU).
An apparatus for configuring a computing resource of a service, comprising:
- a memory, configured to store a computer program;
- and
- a processor, configured to implement following operations when executing the computer program:
- presetting an online learning algorithm that is used for recommending, to each service on a platform, a computing resource quota adapted to a service type of the service;
- recommending, when a new service is launched on the platform during a cold start state in which a preset standard computing resource quota is not stored in a system memory, a target computing resource quota adapted to the service type of the new service according to the online learning algorithm, wherein the preset standard computing resource quota is configured to configure an initial value of a computing resource for the new service launched on the platform;
- and
- performing initial configuration for a computing resource of the new service according to the target computing resource quota;
- wherein the platform is a Kubernetes platform configured to manage containerized services, the containerized services comprise the new service, and the computing resource of the new service is jointly provided by a Central Processing Unit (CPU) and a Graphics Processing Unit (GPU).
A non-transitory computer-readable storage medium, storing a computer program which, when being run by a processor, is configured to cause the processor to:
- preset an online learning algorithm that is used for recommending, to each service on a platform, a computing resource quota adapted to a service type of the service;
- recommend, when a new service is launched on the platform during a cold start state in which a preset standard computing resource quota is not stored in a system memory, a target computing resource quota adapted to the service type of the new service according to the online learning algorithm, wherein the preset standard computing resource quota is configured to configure an initial value of a computing resource for the new service launched on the platform;
- and
- perform initial configuration for a computing resource of the new service according to the target computing resource quota;
- wherein the platform is a Kubernetes platform configured to manage containerized services, the containerized services comprise the new service, and the computing resource of the new service is jointly provided by a Central Processing Unit (CPU) and a Graphics Processing Unit (GPU).
Dependencies are inferred from the claim text.