WO2018077079A1 - Application capacity enlargement method, apparatus and system - Google Patents

Application capacity enlargement method, apparatus and system Download PDF

Info

Publication number
WO2018077079A1
WO2018077079A1 PCT/CN2017/106627 CN2017106627W WO2018077079A1 WO 2018077079 A1 WO2018077079 A1 WO 2018077079A1 CN 2017106627 W CN2017106627 W CN 2017106627W WO 2018077079 A1 WO2018077079 A1 WO 2018077079A1
Authority
WO
WIPO (PCT)
Prior art keywords
application
resource
information
instance
resource information
Prior art date
Application number
PCT/CN2017/106627
Other languages
French (fr)
Chinese (zh)
Inventor
李雨前
刘岳嘉
杨育兵
杨星飞
黄涛
Original Assignee
阿里巴巴集团控股有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 阿里巴巴集团控股有限公司 filed Critical 阿里巴巴集团控股有限公司
Publication of WO2018077079A1 publication Critical patent/WO2018077079A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0823Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/48Program initiating; Program switching, e.g. by interrupt
    • G06F9/4806Task transfer initiation or dispatching
    • G06F9/4843Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
    • G06F9/4881Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5005Allocation of resources, e.g. of the central processing unit [CPU] to service a request
    • G06F9/5027Allocation of resources, e.g. of the central processing unit [CPU] to service a request the resource being a machine, e.g. CPUs, Servers, Terminals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/02Standardisation; Integration
    • H04L41/0246Exchanging or transporting network management information using the Internet; Embedding network management web servers in network elements; Web-services-based protocols
    • H04L41/0273Exchanging or transporting network management information using the Internet; Embedding network management web servers in network elements; Web-services-based protocols using web services for network management, e.g. simple object access protocol [SOAP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0823Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability
    • H04L41/083Configuration setting characterised by the purposes of a change of settings, e.g. optimising configuration for enhancing reliability for increasing network speed
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/455Emulation; Interpretation; Software simulation, e.g. virtualisation or emulation of application or operating system execution engines
    • G06F9/45533Hypervisors; Virtual machine monitors
    • G06F9/45558Hypervisor-specific management and integration aspects
    • G06F2009/45575Starting, stopping, suspending or resuming virtual machine instances
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2209/00Indexing scheme relating to G06F9/00
    • G06F2209/50Indexing scheme relating to G06F9/50
    • G06F2209/5011Pool
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network

Definitions

  • the present application relates to the technical field of computer processing, and in particular, to an application expansion method, an application expansion device, and an application expansion system.
  • Cloud computing is a computing model that provides dynamically scalable virtual resources over the Internet in a service manner. In this way, shared hardware and software resources and information can be provided to computers and other devices on demand.
  • the basic environment of cloud computing is virtualization.
  • the application clusters are deployed through virtual machines (VMs) to share the resources of cloud computing.
  • VMs virtual machines
  • Another solution is to expand the application, that is, to start the expansion of the application in a short time.
  • the conventional way is to take the expansion process and prepare the resources step by step.
  • the resource allocation system calculates the assignable resource location information, relies on the underlying operation and maintenance tool, generates the virtual machine container, synchronizes the application code and configuration information, and the like. After the initialization and start the application, open the alarm monitoring and other operation and maintenance tools, and finally the service is officially online.
  • this conventional method of capacity expansion has many steps, and the expansion period is long and the efficiency is low.
  • the peak time of the traffic is short, and it is concentrated in a period of time. If this time period is missed, there is no expansion. The effect is that from the perspective of time efficiency, this conventional expansion method cannot meet the demand.
  • embodiments of the present application are provided to provide an expansion method of an application that overcomes the above problems or at least partially solves the above problems, and a corresponding expansion device of an application, and an expansion system of an application.
  • the embodiment of the present application discloses an application expansion system, and the system includes:
  • One or more processors are One or more processors;
  • One or more modules the one or more modules being stored in the memory and configured to be executed by the one or more processors, the one or more modules having the following functions:
  • an application is started in the resource pool according to the instance resource information of the application.
  • an application expansion method including:
  • an application is started in the resource pool according to the instance resource information of the application.
  • an application expansion device including:
  • a resource information determining module configured to determine multiple resource information required for expansion of multiple applications
  • An instance resource information generating module configured to generate multiple instance resource information for the multiple applications in the preset resource pool according to the multiple instance resource information
  • the instance startup module is configured to start an application according to the instance resource information of the application in the resource pool when detecting a capacity expansion request for an application.
  • the embodiment of the present application determines a plurality of resource information required for the expansion of a plurality of applications, and generates multiple instance resource information for multiple applications in a preset resource pool according to the plurality of resource information, and detects an expansion request for an application.
  • the application is started in the resource pool according to the instance resource information of the application.
  • 1 is a flow chart showing the steps of an embodiment of a method for expanding a volume of the application
  • FIGS. 2A-2C are diagrams showing an example of expansion of an application according to an embodiment of the present application.
  • FIG. 3 is a structural block diagram of an embodiment of an expansion device of an application of the present application.
  • FIG. 4 is a schematic structural diagram of a server embodiment of the present application.
  • FIG. 1 a flow chart of steps of an application expansion method of an application of the present application is shown, which may specifically include the following steps:
  • Step 101 Determine a plurality of resource information required for the expansion of multiple applications.
  • the cloud computing-based platform is a macroscopic concept, and more is related to a business attribute or a service form, and multiple applications construct the platform.
  • an application can generate multiple instances that can form an application cluster.
  • the application may include a web application, and the web application is not necessarily limited to the web, and may be an application of a wireless APP (Application), for example, if the cloud computing platform is an e-commerce platform, the platform is An application can implement the function of querying product data, and an application can realize the function of obtaining member information, receiving address, and the like.
  • a web application is not necessarily limited to the web, and may be an application of a wireless APP (Application), for example, if the cloud computing platform is an e-commerce platform, the platform is An application can implement the function of querying product data, and an application can realize the function of obtaining member information, receiving address, and the like.
  • the web application can be deployed in a cloud-based computer cluster, such as a distributed system, in which a web application submitted by a user (developer) is placed in a corresponding web container, and a matching load balancer, database, and storage service are configured. Wait for the corresponding components to ultimately ensure that the web application runs flawlessly.
  • a cloud-based computer cluster such as a distributed system, in which a web application submitted by a user (developer) is placed in a corresponding web container, and a matching load balancer, database, and storage service are configured. Wait for the corresponding components to ultimately ensure that the web application runs flawlessly.
  • Cloud-based computing refers to adapting the architecture, processes, and models of Web application deployment and expansion to the basic environment of cloud computing, thereby enabling rapid deployment and dynamic capacity expansion using common cloud computing infrastructure services (IaaS).
  • IaaS cloud computing infrastructure services
  • PaaS Provide platform and service
  • Web application expansion is aimed at the frequent and dramatic changes in the load of web applications.
  • the load changes are applied, and the utilization of service resources is improved under the premise of ensuring service quality.
  • an application that needs to be a fast expansion service object may be collected in advance.
  • an application may be collected in advance.
  • the maximum capacity that needs to be backed up for rapid expansion that is, how much resources need to be prepared for an application for emergency capacity expansion.
  • Step 102 Generate multiple instance resource information for the multiple applications in the preset resource pool according to the multiple resource information.
  • the resource pool includes a plurality of physical machine nodes, and the so-called physical machine node can be understood as a service node, and provides resources for applications that need to be expanded.
  • step 102 may include the following sub-steps:
  • Sub-step S11 for each application, extracting resource specification information and a quantity of resources from the resource information
  • Sub-step S12 in the plurality of physical machine nodes, allocating resource space to the application according to the quantity of resources;
  • Sub-step S13 in the resource space, instance resource information is generated according to the resource specification.
  • information such as an application name, resource specification information (for example, the number of CPUs, the size of the memory, the size of the disk, and the like), the number of resources, and the like of the application may be determined.
  • the product of the resource specification information and the number of resources that is, the total amount of resources needed for the application to be expanded once.
  • the resource specification information and the number of resources may be specified by a technician, or may be estimated according to the traffic, and the embodiment of the present application does not limit this.
  • Each physical machine node provides one or more resource spaces, and one resource space can carry one resource specification information, that is, the physical machine node can provide resources for the application to expand.
  • the resource space also means that the resource rule information carried by the virtual machine can be virtualized into a virtual machine.
  • Application running feature information application stability feature information, and neighbor application feature information.
  • the application running feature information is related data provided by the historical monitoring system, and the application stability feature is calculated from the comprehensive calculation of the application attribute, and the neighbor application feature is data that is jointly precipitated by the service and the runtime.
  • the system can consider all aspects of the application and select the appropriate resource space for the application.
  • an application occupies more CPU/bandwidth (application running characteristics)
  • the deployed application occupies the resource space of the physical machine node with less CPU/bandwidth (neighbor application feature); an application involves the resource loss (application running) Feature), as follows, if the order is lost, the shopping site needs to pay), then select the resource space of the physical machine node that deploys the application (neighbor application feature) that involves the loss, and an application limits a physical machine node to not exceed 2 (application running characteristics), select the resource space of the physical machine node that does not deploy the application, and so on.
  • an application is a coordination node (application stability feature)
  • the deployment is dispersed as much as possible to avoid centralized deployment in the same physical machine node; the application instances are deployed as widely as possible (application stability characteristics), and centralized deployment is avoided.
  • application stability characteristics application stability characteristics
  • a physical machine node adopts a low-proportional manner to configure a virtual machine, and the total amount of resources required for instance resource information generated in one physical machine node is generally less than or equal to the actual resource total of the physical machine node, for example, for example, A physical machine node is virtualized into 8 virtual machines, so you can understand 1 virtual 8 and the ratio is 8.
  • the virtual machine is configured in a high-match manner. For example, if one physical machine node is virtualized into 100 virtual machines or even more virtual machines, then one virtual 100 can be understood, and the ratio is 100.
  • the total amount of resources required for instance resource information generated in one physical machine node is greater than the total amount of physical resources of the physical machine node.
  • the high ratio is prepared by pre-preparing potential application expansion requirements to avoid redundant backup of resources.
  • the physical machine node provides the resources required for the application with the largest capacity expansion, so that the allocation of the virtual 100 can support the rapid expansion of any one of the 100 applications.
  • the allocation of high ratio refers to M applications and is deployed on X resources at the same time.
  • the number of applications that X physical machine nodes can provide services is Y.
  • the X physical machine nodes actually virtualize Y*M resource spaces.
  • the conventional ratio X physical machine nodes provide Y resource spaces.
  • two physical machine nodes assuming that the conventional matching method is 1 virtual 4, then there are 8 resource spaces, and 8 resource service capabilities are provided. Assuming an application requires 4 resources, it can be used by 2 applications.
  • the instance resource information of the application may be evenly distributed on the physical machine node, so that the traffic is balanced, the load is balanced, and the stability is improved.
  • resource information information required for application expansion, such as an image file of the application, configuration information of the image file, and the like are recorded.
  • resource allocation can be performed on 50 physical machine nodes, and one instance resource information is deployed on each physical machine node.
  • Step 103 When detecting a capacity expansion request for an application, start an application in the resource pool according to the instance resource information of the application.
  • the resource load information of the application may be monitored to determine whether an application needs to be expanded.
  • the application cluster may be deployed on multiple virtual machines, and the monitoring module of the virtual machine is resident in the physical machine node in the form of a service process, and multiple virtual entities are collected periodically (for example, every minute) from the physical machine node.
  • the unit's single resource load information for example, CPU (Central Processing Unit) utilization, memory utilization, disk utilization, response speed, etc., through the use of averaging, weighted summation, etc.
  • the load information calculates the overall resource load information of the application cluster.
  • the load monitoring can be mainly based on bandwidth consumption
  • the calculation process is relatively large, which is computationally intensive, and the CPU utilization rate is It will be relatively high, the load monitoring can be based on CPU utilization
  • the load monitoring can be based on I / O.
  • cloud computing environment can provide flexible resource services. From the perspective of Iaas, virtual machine resources can be dynamically allocated, and a virtual machine can be invoked by a corresponding interface. Cloud-based Web Applications can leverage this feature to build scalable application clusters for changing workloads.
  • the target instance resource information may be selected from the instance resource information of the application according to one or more of the following feature information:
  • the load status of the physical machine node The load status of the physical machine node, the application stability characteristics, and the resource idleness of the physical machine node.
  • a resource pool has 100 physical machine nodes.
  • an application backs up instance resource information, it backs up 100 instance resource information. Assuming that 50 instances need to be started for expansion, and a physical machine node is completely idle, an instance of the application can be started from the physical machine node.
  • the instance resource information that satisfies the latter application is preferentially started, and the physical device node that is not activated by the application instance is started, and the instance is started. In this way, the instance can be started from a relatively free physical machine node.
  • target instance resource information you can use the target instance resource information to occupy resources in the resource pool to create a virtual machine. You can obtain the application image file in the preset container mirroring center and deploy the image file in the virtual machine. When the deployment is successful, launch the application deployed on the virtual machine.
  • an agent (agent) on the target server can be executed to perform mirroring deployment.
  • the application can be launched.
  • the virtual machine is CLOCKER, it is virtualized with a container. Enter the command, clocker pull ⁇ image_name>, clocker run ⁇ image_name> to deploy the virtual machine and start the container.
  • Image_name is the name of the image.
  • the agent is installed in the VM, and when the application instruction is started, a startup command needs to be sent to the VM agent to start the application deployed in the VM.
  • the cloud computing-based platform generally installs a reverse proxy component in the application domain to implement request distribution, when the application accesses the application cluster, the IP address of the physical machine node to which the application belongs can be added to the reverse The list of balanced load domains of the proxy component enables the balanced loader to detect the application, thereby cutting traffic (such as user requests) into the application for processing and providing services externally.
  • the embodiment of the present application determines multiple instance resource information required for multiple application expansion, and generates multiple instance resource information for multiple applications in a preset resource pool according to multiple instance resource information, when detecting an application for an application.
  • the application is started in the resource pool according to the instance resource information of the application.
  • the steps greatly reduce the expansion period and achieve rapid capacity expansion to ensure stable application.
  • the information of the high-performance physical machine node, the configuration of the application on the regular physical machine node, and the application code need to be updated uniformly to ensure the application consistency and accuracy after the expansion.
  • the high ratio physical machine node may be faulty after the expansion due to code or configuration inconsistency. error.
  • the operation console 201 executes the expansion instruction of the cluster scheduling center 202, and the input parameters are the application name and resource specification information (such as 4 CPUs, 6G memory, and 100 G disk space (disK). ), the number of resources (such as 1).
  • the application name and resource specification information such as 4 CPUs, 6G memory, and 100 G disk space (disK).
  • the number of resources such as 1).
  • the image file of the application such as Image_01, Image_02, Image_03, and the like, is stored in the container mirror center 203.
  • the cluster scheduling center 202 retrieves the image file of the application in the container mirroring center 203 according to the name of the application.
  • resources are requested from the resource pool 204 according to the resource specification information and the number of resources.
  • the resource pool 204 includes a plurality of physical machine nodes, such as a physical machine node A 2021, a physical machine node B 2042, and the like. Each physical machine node provides one or more resource spaces by means of a high ratio, and one or more resource spaces may be deployed. Multiple virtual machines.
  • the instance resource information of the application ie, the resource space in the dotted circle
  • the instance resource information of the application may be deployed at the physical machine Node B 2042.
  • the operation console 201 calculates the overall resource load of the application cluster by collecting average resource load information of multiple virtual machines, for example, CPU utilization, memory utilization, disk utilization, and the like. Information to determine whether to expand.
  • the cluster scheduling center 202 can execute an agent deployed on the server B 2042 to perform mirroring deployment.
  • the agent deployed at the server B 2042 receives the scheduling instruction of the cluster scheduling center 202, extracts the parameters of the scheduling, including the name of the image, and downloads the image from the container mirroring center 203 to the local according to the name of the image.
  • the agent deployed in server B 2042 executes a virtualization instruction, such as virtual machine CLOKER's command clocker pull ⁇ image_name>, to deploy the image, where image_name is the name of the image.
  • a virtualization instruction such as virtual machine CLOKER's command clocker pull ⁇ image_name>
  • the application can be started. For example, enter the command in the virtual machine CLOCKER, clocker run ⁇ image_name> to start the container, where image_name is the name of the image.
  • the application is registered in the load balancer 205, and the load balancer 205 cuts the traffic into the application for processing and provides external services.
  • FIG. 3 a structural block diagram of an embodiment of a content expansion apparatus of an application of the present application is shown, which may specifically include the following modules:
  • the resource information determining module 301 is configured to determine a plurality of resource information required for the expansion of the plurality of applications
  • the instance resource information generating module 302 is configured to generate multiple instance resource information for the multiple applications in the preset resource pool according to the multiple resource information.
  • the instance startup module 303 is configured to start an application according to the instance resource information of the application in the resource pool when detecting a volume expansion request for an application.
  • the resource pool includes a plurality of physical machine nodes, and each physical machine node provides one or more resource spaces;
  • the instance resource information generating module 302 can include the following sub-modules:
  • a resource parameter extraction submodule configured to extract resource specification information and a quantity of resources from the resource information for each application
  • a resource space allocation submodule configured to allocate a resource space to the application according to the quantity of the resources in the plurality of physical machine nodes
  • the resource space generating submodule is configured to generate instance resource information according to the resource specification in the resource space.
  • the resource space allocation submodule may include the following units:
  • a feature allocation unit configured to allocate a resource space to the application according to one or more of the following feature information:
  • Application running feature information application stability feature information, and neighbor application feature information.
  • the total amount of resources required for instance resource information generated in one physical machine node is greater than the total amount of actual resources of the physical machine node.
  • the instance startup module 303 may include the following submodules:
  • the target instance resource information selection submodule is configured to select target instance resource information from the instance resource information of the application according to one or more of the following feature information:
  • a target instance resource information startup submodule configured to occupy resources in the resource pool according to the target instance resource information, to create a virtual machine
  • the image file obtaining submodule is used to obtain an image file of the application in the preset container mirror center;
  • An image file deployment submodule configured to deploy the image file in the virtual machine
  • the application launch submodule is configured to start an application deployed on the virtual machine when the deployment is successful.
  • the apparatus may further include the following modules:
  • the instance resource information update module is configured to update instance resource information of the application in the resource pool when an application is updated.
  • the description is relatively simple, and the relevant parts can be referred to the description of the method embodiment.
  • An embodiment of the present invention further provides an application expansion system, where the system includes:
  • One or more processors are One or more processors;
  • One or more modules the one or more modules being stored in the memory and configured to be executed by one or more processors, wherein the one or more modules have the following functions:
  • an application is started in the resource pool according to the instance resource information of the application.
  • the resource pool includes multiple physical machine nodes, and each physical machine node provides one or more resource spaces; the one or more modules may have the following functions:
  • instance resource information is generated according to the resource specification.
  • the one or more modules may have the following functions:
  • Application running feature information application stability feature information, and neighbor application feature information.
  • the total amount of resources required for instance resource information generated in one physical machine node is greater than the physical machine.
  • the actual total amount of resources for the node is greater than the physical machine.
  • the one or more modules may have the following functions:
  • the target instance resource information is selected from the instance resource information of the application according to one or more of the following feature information:
  • the one or more modules may have the following functions:
  • the instance resource information of the application is updated in the resource pool.
  • the server 400 can vary considerably depending on configuration or performance, and can include one or more central processing units (CPUs) 422 (eg, one or more processors) and memory 432, one or one
  • the storage medium 430 (for example, one or one storage device in Shanghai) that stores the application 442 or the data 444 above.
  • the memory 432 and the storage medium 430 may be temporarily stored or persistently stored.
  • the program stored on storage medium 430 may include one or more modules (not shown), each of which may include a series of instruction operations in the server.
  • central processor 422 can be configured to communicate with storage medium 430, executing a series of instruction operations in storage medium 430 on server 400.
  • Server 400 may also include one or more power sources 426, one or more wired or wireless network interfaces 450, one or more input and output interfaces 758, one or more keyboards 456, and/or one or more operating systems 441.
  • power sources 426 for example, Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, etc.
  • the central processor 422 can execute instructions on the server 400 for:
  • an application is started in the resource pool according to the instance resource information of the application.
  • the resource pool includes multiple physical machine nodes, and each physical machine node provides one or more resource spaces.
  • the central processing unit 422 can also execute instructions on the server 400 for the following operations:
  • instance resource information is generated according to the resource specification.
  • the central processor 422 can also execute instructions on the server 400 for:
  • Application running feature information application stability feature information, and neighbor application feature information.
  • the total amount of resources required for instance resource information generated in one physical machine node is greater than the total amount of actual resources of the physical machine node.
  • the central processor 422 can also execute instructions on the server 400 for:
  • the target instance resource information is selected from the instance resource information of the application according to one or more of the following feature information:
  • the central processor 422 can also execute instructions on the server 400 for:
  • the instance resource information of the application is updated in the resource pool.
  • embodiments of the embodiments of the present application can be provided as a method, apparatus, or computer program product. Therefore, the embodiments of the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware. Moreover, embodiments of the present application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
  • computer-usable storage media including but not limited to disk storage, CD-ROM, optical storage, etc.
  • the computer device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory.
  • the memory may include non-persistent memory, random access memory (RAM), and/or non-volatile memory in a computer readable medium, such as read only memory (ROM) or flash memory.
  • RAM Is an example of a computer readable medium.
  • Computer readable media includes both permanent and non-persistent, removable and non-removable media.
  • Information storage can be implemented by any method or technology. The information can be computer readable instructions, data structures, modules of programs, or other data.
  • Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read only memory. (ROM), electrically erasable programmable read only memory (EEPROM), flash memory or other memory technology, compact disk read only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, Magnetic tape cartridges, magnetic tape storage or other magnetic storage devices or any other non-transportable media can be used to store information that can be accessed by a computing device.
  • computer readable media does not include non-persistent computer readable media, such as modulated data signals and carrier waves.
  • Embodiments of the present application are described with reference to flowcharts and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the present application. It will be understood that each flow and/or block of the flowchart illustrations and/or FIG.
  • These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor or other programmable data processing terminal device to produce a machine such that instructions are executed by a processor of a computer or other programmable data processing terminal device
  • Means are provided for implementing the functions specified in one or more of the flow or in one or more blocks of the flow chart.
  • the computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing terminal device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device.
  • the instruction device implements the functions specified in one or more blocks of the flowchart or in a flow or block of the flowchart.

Abstract

Provided are an application capacity enlargement method, an apparatus and a system. The method comprises: determining a plurality of pieces of resource information needed for capacity enlargement of a plurality of applications; according to the plurality of pieces of resource information, generating a plurality of pieces of instance resource information for the plurality of applications in a pre-configured resource pool; and when a capacity enlargement request regarding a certain application is detected, starting the application in the resource pool according to the instance resource information of the applications. By pre-configuring the instance resource information, when capacity enlargement is needed, an instance of an application is started directly, and traffic can be immediately cut-in for service, thus complex capacity enlargement steps are avoided, the capacity enlargement period is greatly shortened, rapid capacity enlargement is realized, and the stable operation of the applications is ensured.

Description

一种应用的扩容方法、装置和系统Expansion method, device and system for application
本申请要求2016年10月31日递交的申请号为201610932252.7、发明名称为“一种应用的扩容方法、装置和系统”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。The present application claims priority to Chinese Patent Application No. Serial No. No. No. No. No. No. No. No. No. No. No. No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No No
技术领域Technical field
本申请涉及计算机处理的技术领域,特别是涉及一种应用的扩容方法、一种应用的扩容装置和一种应用的扩容系统。The present application relates to the technical field of computer processing, and in particular, to an application expansion method, an application expansion device, and an application expansion system.
背景技术Background technique
云计算是一种通过互联网以服务方式提供动态可伸缩的虚拟资源的计算模式,通过这种方式,共享的软硬件资源和信息可以按需求提供给计算机和其他设备。Cloud computing is a computing model that provides dynamically scalable virtual resources over the Internet in a service manner. In this way, shared hardware and software resources and information can be provided to computers and other devices on demand.
云计算的基础环境是虚拟化,通过虚拟机(VM,Virtual Machine)部署应用集群,共享云计算的资源。The basic environment of cloud computing is virtualization. The application clusters are deployed through virtual machines (VMs) to share the resources of cloud computing.
当应用集群整体负载偏高的情况下,为了保障应用集群的正常运行,一种方式是限流,即对应用请求进行拦截,减轻应用集群的压力,以牺牲部分应用请求为代价,保障应用集群整体的可用性。When the overall load of the application cluster is too high, in order to ensure the normal operation of the application cluster, one way is to limit the flow, that is, to intercept the application request, reduce the pressure of the application cluster, and protect the application cluster at the expense of some application requests. Overall availability.
另外一种解决方法是应用扩容,即在短时间内,进行应用的扩容启动。Another solution is to expand the application, that is, to start the expansion of the application in a short time.
应用扩容,常规的方式就是走扩容流程,一步一步的将资源准备好。To expand the application, the conventional way is to take the expansion process and prepare the resources step by step.
例如,发起扩容请求,包含请求的应用名称、请求的资源,然后资源分配系统计算可分配的资源位置信息,依赖底层运维工具,将虚拟机容器生成,同步应用代码和配置等信息,一一初始化之后并启动应用,开启报警监控等其他运维工具,最后服务正式上线工作。For example, initiating a capacity expansion request, including the requested application name, the requested resource, and then the resource allocation system calculates the assignable resource location information, relies on the underlying operation and maintenance tool, generates the virtual machine container, synchronizes the application code and configuration information, and the like. After the initialization and start the application, open the alarm monitoring and other operation and maintenance tools, and finally the service is officially online.
但是,这种常规的扩容方式步骤多,扩容周期长、效率低,而在电商促销等场景中,流量的峰值时间短,集中在一段时间内,如果错过了这个时间段,扩容也就没有效果了,从时间效率角度看,这种常规的扩容方式无法满足需求。However, this conventional method of capacity expansion has many steps, and the expansion period is long and the efficiency is low. In the scenario of e-commerce promotion, the peak time of the traffic is short, and it is concentrated in a period of time. If this time period is missed, there is no expansion. The effect is that from the perspective of time efficiency, this conventional expansion method cannot meet the demand.
发明内容Summary of the invention
鉴于上述问题,提出了本申请实施例以便提供一种克服上述问题或者至少部分地解决上述问题的一种应用的扩容方法和相应的一种应用的扩容装置、一种应用的扩容系统。 In view of the above problems, embodiments of the present application are provided to provide an expansion method of an application that overcomes the above problems or at least partially solves the above problems, and a corresponding expansion device of an application, and an expansion system of an application.
一方面,本申请实施例公开了一种应用的扩容系统,所述系统包括:In one aspect, the embodiment of the present application discloses an application expansion system, and the system includes:
一个或多个处理器;One or more processors;
存储器;和Memory; and
一个或多个模块,所述一个或多个模块存储于所述存储器中并被配置成由所述一个或多个处理器执行,所述一个或多个模块具有如下功能:One or more modules, the one or more modules being stored in the memory and configured to be executed by the one or more processors, the one or more modules having the following functions:
确定多个应用扩容所需的多个资源信息;Determining multiple resource information required for multiple application expansion;
根据所述多个资源信息在预置的资源池中为所述多个应用生成多个实例资源信息;Generating a plurality of instance resource information for the plurality of applications in the preset resource pool according to the plurality of resource information;
当检测到针对某个应用的扩容请求时,在所述资源池中按照所述应用的实例资源信息启动应用。When a capacity expansion request for an application is detected, an application is started in the resource pool according to the instance resource information of the application.
另一方面,本申请实施例公开了一种应用的扩容方法,包括:On the other hand, the embodiment of the present application discloses an application expansion method, including:
确定多个应用扩容所需的多个资源信息;Determining multiple resource information required for multiple application expansion;
根据所述多个资源信息在预置的资源池中为所述多个应用生成多个实例资源信息;Generating a plurality of instance resource information for the plurality of applications in the preset resource pool according to the plurality of resource information;
当检测到针对某个应用的扩容请求时,在所述资源池中按照所述应用的实例资源信息启动应用。When a capacity expansion request for an application is detected, an application is started in the resource pool according to the instance resource information of the application.
再一方面,本申请实施例公开了一种应用的扩容装置,包括:In another aspect, the embodiment of the present application discloses an application expansion device, including:
资源信息确定模块,用于确定多个应用扩容所需的多个资源信息;a resource information determining module, configured to determine multiple resource information required for expansion of multiple applications;
实例资源信息生成模块,用于根据所述多个实例资源信息在预置的资源池中为所述多个应用生成多个实例资源信息;An instance resource information generating module, configured to generate multiple instance resource information for the multiple applications in the preset resource pool according to the multiple instance resource information;
实例启动模块,用于在检测到针对某个应用的扩容请求时,在所述资源池中按照所述应用的实例资源信息启动应用。The instance startup module is configured to start an application according to the instance resource information of the application in the resource pool when detecting a capacity expansion request for an application.
本申请实施例包括以下优点:Embodiments of the present application include the following advantages:
本申请实施例确定多个应用扩容所需的多个资源信息,根据多个资源信息在预置的资源池中为多个应用生成多个实例资源信息,当检测到针对某个应用的扩容请求时,在资源池中按照应用的实例资源信息启动应用,通过提前冷配置好实例资源信息,在需要扩容的时候,直接启动应用的实例,可以马上切入流量进行服务,避免了繁琐的扩容步骤,大大减少了扩容的周期,实现了快速扩容,保证应用稳定运行。The embodiment of the present application determines a plurality of resource information required for the expansion of a plurality of applications, and generates multiple instance resource information for multiple applications in a preset resource pool according to the plurality of resource information, and detects an expansion request for an application. The application is started in the resource pool according to the instance resource information of the application. By configuring the instance resource information in advance, you can directly start the application instance when you need to expand the capacity. You can immediately cut in the traffic for service and avoid the cumbersome expansion steps. The cycle of capacity expansion is greatly reduced, and the rapid expansion is realized to ensure stable operation of the application.
附图说明 DRAWINGS
图1是本申请的一种应用的扩容方法实施例的步骤流程图;1 is a flow chart showing the steps of an embodiment of a method for expanding a volume of the application;
图2A-图2C是本申请实施例的一种应用的扩容示例图;2A-2C are diagrams showing an example of expansion of an application according to an embodiment of the present application;
图3是本申请的一种应用的扩容装置实施例的结构框图;3 is a structural block diagram of an embodiment of an expansion device of an application of the present application;
图4是本申请的一种服务器实施例结构示意图。4 is a schematic structural diagram of a server embodiment of the present application.
具体实施方式detailed description
为使本申请的上述目的、特征和优点能够更加明显易懂,下面结合附图和具体实施方式对本申请作进一步详细的说明。The above described objects, features and advantages of the present application will become more apparent and understood.
参照图1,示出了本申请的一种应用的扩容方法实施例的步骤流程图,具体可以包括如下步骤:Referring to FIG. 1 , a flow chart of steps of an application expansion method of an application of the present application is shown, which may specifically include the following steps:
步骤101,确定多个应用扩容所需的多个资源信息。Step 101: Determine a plurality of resource information required for the expansion of multiple applications.
在本申请实施例中,可以应用在基于云计算的平台上,基于云计算的平台是宏观的概念,更多的是和业务属性或者服务形态相关,多个应用构建了这个平台。In the embodiment of the present application, it can be applied to a cloud computing-based platform, and the cloud computing-based platform is a macroscopic concept, and more is related to a business attribute or a service form, and multiple applications construct the platform.
在基于云计算的平台中,一个应用可以生成多个实例,这些实例可以构成一个应用集群。In a cloud-based platform, an application can generate multiple instances that can form an application cluster.
这些应用可以包括Web(网页)应用,该Web应用并不一定限定在Web,也可以是无线APP(Application,应用程序)的应用等等,例如,若云计算平台为电商平台,则该平台的某个应用可以实现查询商品数据的功能,某个应用可以实现获取会员信息、收货地址的功能等等。The application may include a web application, and the web application is not necessarily limited to the web, and may be an application of a wireless APP (Application), for example, if the cloud computing platform is an e-commerce platform, the platform is An application can implement the function of querying product data, and an application can realize the function of obtaining member information, receiving address, and the like.
Web应用可以部署在基于云计算的计算机集群中,如分布式系统,即将用户(开发者)提交的Web应用程序放置到相应的Web容器中,同时配置好配套的负载均衡器、数据库、存储服务等相应组件,以最终保障Web应用准确无误地运行的过程。The web application can be deployed in a cloud-based computer cluster, such as a distributed system, in which a web application submitted by a user (developer) is placed in a corresponding web container, and a matching load balancer, database, and storage service are configured. Wait for the corresponding components to ultimately ensure that the web application runs flawlessly.
基于云计算指的是使Web应用部署与扩容的架构、流程、模型与云计算的基本环境相适应,进而能够利用通用的云计算基础设施服务(IaaS)来实现快速部署与动态扩容,向用户提供平台及服务(PaaS)。Cloud-based computing refers to adapting the architecture, processes, and models of Web application deployment and expansion to the basic environment of cloud computing, thereby enabling rapid deployment and dynamic capacity expansion using common cloud computing infrastructure services (IaaS). Provide platform and service (PaaS).
Web应用扩容针对的是Web应用的负载变化频繁且剧烈的特点,通过在Web应用运行过程中动态地增减服务容量来适用负载的变化,在保障服务质量的前提下提升服务资源的利用率。Web application expansion is aimed at the frequent and dramatic changes in the load of web applications. By dynamically increasing or decreasing the service capacity during the operation of the web application, the load changes are applied, and the utilization of service resources is improved under the premise of ensuring service quality.
在本申请实施例中,可以预先收集需要成为快速扩容服务对象的应用,即哪些应用 在电商促销等场景下,存在快速扩容的需求,以及快速扩容需要备份的最大容量,也就是需要为某个应用准备多少资源,用于紧急扩容。In the embodiment of the present application, an application that needs to be a fast expansion service object, that is, an application, may be collected in advance. In the scenario of e-commerce promotions, there is a need for rapid capacity expansion, and the maximum capacity that needs to be backed up for rapid expansion, that is, how much resources need to be prepared for an application for emergency capacity expansion.
步骤102,根据所述多个资源信息在预置的资源池中为所述多个应用生成多个实例资源信息。Step 102: Generate multiple instance resource information for the multiple applications in the preset resource pool according to the multiple resource information.
在具体实现中,资源池包括多个物理机节点,所谓物理机节点,可以理解为服务节点,为需要扩容的应用提供资源。In a specific implementation, the resource pool includes a plurality of physical machine nodes, and the so-called physical machine node can be understood as a service node, and provides resources for applications that need to be expanded.
在本申请的一个实施例中,步骤102可以包括如下子步骤:In an embodiment of the present application, step 102 may include the following sub-steps:
子步骤S11,针对每个应用,从所述资源信息中提取资源规格信息、资源数量;Sub-step S11, for each application, extracting resource specification information and a quantity of resources from the resource information;
子步骤S12,在所述多个物理机节点中,按照所述资源数量为所述应用分配资源空间;Sub-step S12, in the plurality of physical machine nodes, allocating resource space to the application according to the quantity of resources;
子步骤S13,在所述资源空间中,按照所述资源规格生成实例资源信息。Sub-step S13, in the resource space, instance resource information is generated according to the resource specification.
在本申请实施例中,在进行预扩容处理时,可以确定应用的应用名、资源规格信息(例如,CPU的数量、内存的大小、磁盘的大小等)、资源数量等信息。In the embodiment of the present application, when the pre-expansion processing is performed, information such as an application name, resource specification information (for example, the number of CPUs, the size of the memory, the size of the disk, and the like), the number of resources, and the like of the application may be determined.
资源规格信息与资源数量的乘积,即可以获得该应用一次扩容需要的总资源量。The product of the resource specification information and the number of resources, that is, the total amount of resources needed for the application to be expanded once.
其中,资源规格信息、资源数量可以是技术人员进行指定,也可以是按照流量进行估算,本申请实施例对此不加以限制。The resource specification information and the number of resources may be specified by a technician, or may be estimated according to the traffic, and the embodiment of the present application does not limit this.
各个物理机节点提供一个或多个资源空间,一个资源空间可以承载一个资源规格信息,即表示该物理机节点可以向应用提供资源进行扩容。Each physical machine node provides one or more resource spaces, and one resource space can carry one resource specification information, that is, the physical machine node can provide resources for the application to expand.
由于虚拟机是基于服务器“虚拟”出来的资源,因此,资源空间也意味着可以采用其承载的资源规则信息虚化成虚拟机。Since the virtual machine is a resource that is "virtual" based on the server, the resource space also means that the resource rule information carried by the virtual machine can be virtualized into a virtual machine.
在分配资源空间时,可以按照如下一种或多种特征信息为应用分配资源空间:When allocating resource space, you can allocate resource space to the application according to one or more of the following feature information:
应用运行特征信息、应用稳定性特征信息、邻居应用特征信息。Application running feature information, application stability feature information, and neighbor application feature information.
其中,应用运行特征信息为历史监控系统提供的相关数据,应用稳定性特征是从应用属性综合计算得出,邻居应用特征是业务和运行时共同沉淀的数据。The application running feature information is related data provided by the historical monitoring system, and the application stability feature is calculated from the comprehensive calculation of the application attribute, and the neighbor application feature is data that is jointly precipitated by the service and the runtime.
系统可以综合考虑应用的各个方面,选择适合的资源空间给应用。The system can consider all aspects of the application and select the appropriate resource space for the application.
例如,某个应用占用CPU/带宽较多(应用运行特征),则选择部署的应用占用CPU/带宽较少(邻居应用特征)的物理机节点的资源空间;某个应用涉及资损(应用运行特征),如下单应用,如果丢失订单,购物网站需要赔付),则选择较少部署涉及资损的应用(邻居应用特征)的物理机节点的资源空间,某个应用限制一个物理机节点不能超过2个(应用运行特征),则选择未部署该应用的物理机节点的资源空间等等。 For example, if an application occupies more CPU/bandwidth (application running characteristics), the deployed application occupies the resource space of the physical machine node with less CPU/bandwidth (neighbor application feature); an application involves the resource loss (application running) Feature), as follows, if the order is lost, the shopping site needs to pay), then select the resource space of the physical machine node that deploys the application (neighbor application feature) that involves the loss, and an application limits a physical machine node to not exceed 2 (application running characteristics), select the resource space of the physical machine node that does not deploy the application, and so on.
又例如,某个应用为协调节点(应用稳定性特征),则尽量分散部署,避免集中部署在同一个物理机节点中;应用的实例尽量分散部署(应用稳定性特征),避免集中部署在同一个物理机节点中,等等。For example, if an application is a coordination node (application stability feature), the deployment is dispersed as much as possible to avoid centralized deployment in the same physical machine node; the application instances are deployed as widely as possible (application stability characteristics), and centralized deployment is avoided. In a physical machine node, and so on.
通常情况下,物理机节点采用的是低配比的方式配置虚拟机,在一个物理机节点中生成的实例资源信息所需资源总量,一般小于或等于物理机节点的实际资源总量,例如,一台物理机节点虚拟化为8台虚拟机,那么可以理解1虚8,配比是8。Generally, a physical machine node adopts a low-proportional manner to configure a virtual machine, and the total amount of resources required for instance resource information generated in one physical machine node is generally less than or equal to the actual resource total of the physical machine node, for example, for example, A physical machine node is virtualized into 8 virtual machines, so you can understand 1 virtual 8 and the ratio is 8.
在本申请实施例中,采用高匹配的方式配置虚拟机,例如,一台物理机节点虚拟化为100台虚拟机,甚至更多的虚拟机,那么可以理解1虚100,配比是100。In the embodiment of the present application, the virtual machine is configured in a high-match manner. For example, if one physical machine node is virtualized into 100 virtual machines or even more virtual machines, then one virtual 100 can be understood, and the ratio is 100.
因此,通常情况下,在一个物理机节点中生成的实例资源信息所需资源总量,大于物理机节点的实际资源总量。Therefore, in general, the total amount of resources required for instance resource information generated in one physical machine node is greater than the total amount of physical resources of the physical machine node.
在实际应用中,需要进行紧急扩容的应用属于少数不确定的应用,高配比通过事先准备好潜在的应用扩容需求,从而避免资源冗余备份。In practical applications, applications that require emergency capacity expansion are a few uncertain applications. The high ratio is prepared by pre-preparing potential application expansion requirements to avoid redundant backup of resources.
例如,对于100个进行紧急扩容的应用,物理机节点提供最大扩容需求的那一个应用所需的资源,这样1虚100的分配,可以为100个应用中的任意一个应用快速扩容提供了支持。For example, for an application that performs emergency capacity expansion, the physical machine node provides the resources required for the application with the largest capacity expansion, so that the allocation of the virtual 100 can support the rapid expansion of any one of the 100 applications.
高配比的分配,指M个应用,同时部署在X个资源上。而X个物理机节点能提供服务的应用是Y个。那么,X个物理机节点实际虚拟出Y*M个资源空间。而常规的配比X个物理机节点提供Y个资源空间。The allocation of high ratio refers to M applications and is deployed on X resources at the same time. The number of applications that X physical machine nodes can provide services is Y. Then, the X physical machine nodes actually virtualize Y*M resource spaces. The conventional ratio X physical machine nodes provide Y resource spaces.
例如,2台物理机节点,假设常规的配比方式是1虚4,那么有8个资源空间,就提供8个资源服务能力。假设一个应用需要4个资源,那么可以供2个应用使用。For example, two physical machine nodes, assuming that the conventional matching method is 1 virtual 4, then there are 8 resource spaces, and 8 resource service capabilities are provided. Assuming an application requires 4 resources, it can be used by 2 applications.
假设高配比的方式是1虚20,那么,那么逻辑上提供40个资源空间。这40个资源空间就可以分配给10个应用。Assuming that the high ratio is 1 virtual 20, then logically provide 40 resource spaces. These 40 resource spaces can be allocated to 10 applications.
对这10个应用而言,都可以看到这部分资源,但是在实际执行中,由于资源有限,因此,可能只有2个应用真正使用这部分的资源。For these 10 applications, you can see this part of the resources, but in actual implementation, due to limited resources, there may be only 2 applications that actually use this part of the resources.
在本申请实施例中,可以将应用的实例资源信息均衡地分散在物理机节点上,可以使得流量均衡、负载均衡,提高稳定性。In the embodiment of the present application, the instance resource information of the application may be evenly distributed on the physical machine node, so that the traffic is balanced, the load is balanced, and the stability is improved.
在这些实例资源信息中,记录了应用扩容所需的信息,如应用的镜像文件、镜像文件的配置信息等等。In the instance resource information, information required for application expansion, such as an image file of the application, configuration information of the image file, and the like are recorded.
例如,资源池有100个物理机节点,某个应用需要备份50个实例资源,那么,可以将在50个物理机节点上进行资源分配,每个物理机节点部署一个实例资源信息。 For example, if a resource pool has 100 physical machine nodes and an application needs to back up 50 instance resources, then resource allocation can be performed on 50 physical machine nodes, and one instance resource information is deployed on each physical machine node.
步骤103,当检测到针对某个应用的扩容请求时,在所述资源池中按照所述应用的实例资源信息启动应用。Step 103: When detecting a capacity expansion request for an application, start an application in the resource pool according to the instance resource information of the application.
在本申请实施例中,可以监控应用的资源负载信息,从而确定某个应用是否需要扩容。In this embodiment, the resource load information of the application may be monitored to determine whether an application needs to be expanded.
在具体实现中,应用集群可以部署在多个虚拟机上,虚拟机的监控模块以服务进程的形式常驻物理机节点,从物理机节点中周期性(例如,每分钟)地采集多个虚拟机的单体资源负载信息,例如,CPU(Central Processing Unit,中央处理器)利用率、内存利用率、磁盘利用率、响应速度等等,通过求平均值、加权求和等方式采用单体资源负载信息计算应用集群的整体资源负载信息。In a specific implementation, the application cluster may be deployed on multiple virtual machines, and the monitoring module of the virtual machine is resident in the physical machine node in the form of a service process, and multiple virtual entities are collected periodically (for example, every minute) from the physical machine node. The unit's single resource load information, for example, CPU (Central Processing Unit) utilization, memory utilization, disk utilization, response speed, etc., through the use of averaging, weighted summation, etc. The load information calculates the overall resource load information of the application cluster.
需要说明的是,Web应用的多样性除了在功能的反映也有在负载上的反映,不同的Web应用对服务器造成的负载不尽相同。It should be noted that the diversity of web applications is reflected in the load in addition to the reflection of functions, and the load of different web applications on the server is not the same.
因此,Web应用的负载可用的度量方式很多,从QoS(Quality of Service,服务质量)的角度看,就存在着并发用户数、活动连接数、每秒请求数和请求平均相应时间等多种指标,而直接从服务器的负载来看,可分为CPU利用率、内存利用率、磁盘利用率、带宽利用率等等,本领域技术人员可以根据实际情况进行设定,本申请实施例对此不加以限制。Therefore, there are many metrics for the load of the web application. From the perspective of QoS (Quality of Service), there are many indicators such as the number of concurrent users, the number of active connections, the number of requests per second, and the average time of requests. And directly from the load of the server, it can be divided into CPU utilization, memory utilization, disk utilization, bandwidth utilization, and the like, and can be set by a person skilled in the art according to the actual situation. Limit it.
例如,对于一个应用下载网站,一般具有很大的带宽占用,属于带宽密集型,负载的监控可以以带宽占用为主;对于一个网上银行,计算过程则比较多,属于计算密集型,CPU利用率就会相对比较高,负载的监控可以以CPU利用率为主;对于一个内容管理网站,在很多用户同时进行内容的提交时会使磁盘或数据库I/O(input/output),输入/输出)繁忙,属于I/O密集型,负载的监控可以以I/O为主。For example, for an application download website, it generally has a large bandwidth occupation, which is bandwidth-intensive, and the load monitoring can be mainly based on bandwidth consumption; for an online banking, the calculation process is relatively large, which is computationally intensive, and the CPU utilization rate is It will be relatively high, the load monitoring can be based on CPU utilization; for a content management website, when many users simultaneously submit content, it will make disk or database I/O (input/output), input/output) Busy, I/O intensive, load monitoring can be based on I / O.
云计算环境的优势之一在于,可以提供弹性的资源服务,从Iaas的角度来说,可以动态地分配虚拟机资源,增减一台虚拟机一般调用相应的接口即可,基于云计算的Web应用可以利用此特性构建可伸缩的应用集群,来适用不断变化的负载。One of the advantages of the cloud computing environment is that it can provide flexible resource services. From the perspective of Iaas, virtual machine resources can be dynamically allocated, and a virtual machine can be invoked by a corresponding interface. Cloud-based Web Applications can leverage this feature to build scalable application clusters for changing workloads.
若某个应用需要扩容,则可以按照如下一种或多种特征信息从应用的实例资源信息中选取目标实例资源信息:If an application needs to be expanded, the target instance resource information may be selected from the instance resource information of the application according to one or more of the following feature information:
物理机节点的负载状态、应用稳定性特征、物理机节点的资源空闲程度。The load status of the physical machine node, the application stability characteristics, and the resource idleness of the physical machine node.
例如,资源池有100个物理机节点,某个应用在备份实例资源信息的时候,备份了100个实例资源信息。假设扩容需要启动50个实例,某个物理机节点属于完全空闲状态,则可以从该物理机节点上启动该应用的实例。 For example, a resource pool has 100 physical machine nodes. When an application backs up instance resource information, it backs up 100 instance resource information. Assuming that 50 instances need to be started for expansion, and a physical machine node is completely idle, an instance of the application can be started from the physical machine node.
假设不久后另一个应用也进行扩容,此时结合前一应用已经启动的实例,优先启动满足后一个应用的实例资源信息,并且没有应用实例启动的物理机节点,进行实例的启动。这样,可以从相对空闲的物理机节点进行实例的启动。It is assumed that another application is also expanded in the near future. In this case, the instance resource information that satisfies the latter application is preferentially started, and the physical device node that is not activated by the application instance is started, and the instance is started. In this way, the instance can be started from a relatively free physical machine node.
若选定目标实例资源信息,则可以按照目标实例资源信息在资源池中占用资源,以创建虚拟机,在预置的容器镜像中心中获取应用的镜像文件,在虚拟机中部署镜像文件,当部署成功时,启动部署在虚拟机的应用。If you select the target instance resource information, you can use the target instance resource information to occupy resources in the resource pool to create a virtual machine. You can obtain the application image file in the preset container mirroring center and deploy the image file in the virtual machine. When the deployment is successful, launch the application deployed on the virtual machine.
在具体实现中,可以执行目标服务器上的agent(代理),进行镜像的部署工作。In a specific implementation, an agent (agent) on the target server can be executed to perform mirroring deployment.
由于虚拟机的种类有所不同,如XEN、LVM、CLOCKER、LXC等等因此,镜像的部署工作也有所不同。Because of the variety of virtual machines, such as XEN, LVM, CLOCKER, LXC, etc., the deployment of mirroring is also different.
当虚拟化工作完成之后,则可以启动应用。Once the virtualization work is complete, the application can be launched.
例如,若虚拟机为CLOCKER,其虚拟时采用容器,输入命令,clocker pull<image_name>、clocker run<image_name>即可部署虚拟机、启动容器,其中,image_name为镜像的名称。For example, if the virtual machine is CLOCKER, it is virtualized with a container. Enter the command, clocker pull<image_name>, clocker run<image_name> to deploy the virtual machine and start the container. Image_name is the name of the image.
又例如,若虚拟机为VM,则在VM中安装agent,启动应用指令时需要向该VM agent发送启动指令,启动部署在VM中的应用。For another example, if the virtual machine is a VM, the agent is installed in the VM, and when the application instruction is started, a startup command needs to be sent to the VM agent to start the application deployed in the VM.
由于基于云计算的平台在应用域的负载均衡器一般安装反向代理组件来实现请求分发,因此,将应用接入应用集群时,可以将该应用所属的物理机节点的IP地址加入到反向代理组件的均衡负载域列表里面,使得均衡负载器能够检测到该应用,从而通过均衡负载将流量(如用户请求)切入应用进行处理,对外提供服务。Since the cloud computing-based platform generally installs a reverse proxy component in the application domain to implement request distribution, when the application accesses the application cluster, the IP address of the physical machine node to which the application belongs can be added to the reverse The list of balanced load domains of the proxy component enables the balanced loader to detect the application, thereby cutting traffic (such as user requests) into the application for processing and providing services externally.
本申请实施例确定多个应用扩容所需的多个实例资源信息,根据多个实例资源信息在预置的资源池中为多个应用生成多个实例资源信息,当检测到针对某个应用的扩容请求时,在资源池中按照应用的实例资源信息启动应用,通过提前冷配置好实例资源信息,在需要扩容的时候,直接启动应用的实例,可以马上切入流量进行服务,避免了繁琐的扩容步骤,大大减少了扩容的周期,实现了快速扩容,保证应用稳定运行。The embodiment of the present application determines multiple instance resource information required for multiple application expansion, and generates multiple instance resource information for multiple applications in a preset resource pool according to multiple instance resource information, when detecting an application for an application. In the case of a capacity expansion request, the application is started in the resource pool according to the instance resource information of the application. By configuring the instance resource information in advance, you can directly start the application instance when you need to expand the capacity. You can immediately cut in the traffic for service and avoid the cumbersome expansion. The steps greatly reduce the expansion period and achieve rapid capacity expansion to ensure stable application.
在本申请的一个实施例中,在电商促销等情况开始之前,可能存在应用紧急发布的需求,In one embodiment of the present application, there may be a need to apply an emergency release before the e-commerce promotion or the like begins.
这个时候,高配比的物理机节点、常规的物理机节点上的应用的配置、应用代码等信息,需要统一进行更新,确保扩容后应用服务一致性、准确性。At this time, the information of the high-performance physical machine node, the configuration of the application on the regular physical machine node, and the application code need to be updated uniformly to ensure the application consistency and accuracy after the expansion.
因此,当某个应用更新时,在资源池中更新应用的实例资源信息。Therefore, when an application is updated, the instance resource information of the application is updated in the resource pool.
否则,高配比的物理机节点会因为代码或者配置的不一致性,导致扩容之后服务错 误。Otherwise, the high ratio physical machine node may be faulty after the expansion due to code or configuration inconsistency. error.
为使本领域技术人员更好地理解本申请实施例,以下通过具体的示例来说明本申请实施例中应用的扩容方法。In order to enable a person skilled in the art to better understand the embodiments of the present application, the expansion method applied in the embodiments of the present application is described below by using specific examples.
如图2A所示,操作控制台201执行集群调度中心202的扩容指令,输入的参数为应用的名称、资源规格信息(如4个CPU、6G的内存(memory)、100G的磁盘空间(disK))、资源数量(如1)。As shown in FIG. 2A, the operation console 201 executes the expansion instruction of the cluster scheduling center 202, and the input parameters are the application name and resource specification information (such as 4 CPUs, 6G memory, and 100 G disk space (disK). ), the number of resources (such as 1).
在容器镜像中心203中存储了应用的镜像文件,如Image_01、Image_02、Image_03等等。The image file of the application, such as Image_01, Image_02, Image_03, and the like, is stored in the container mirror center 203.
集群调度中心202根据应用的名称在容器镜像中心203中检索该应用的镜像文件。The cluster scheduling center 202 retrieves the image file of the application in the container mirroring center 203 according to the name of the application.
同时,按照资源规格信息和资源数量向资源池204申请资源。At the same time, resources are requested from the resource pool 204 according to the resource specification information and the number of resources.
资源池204中包括多个物理机节点,如物理机节点A 2041、物理机节点B 2042等等,每个物理机节点中通过高配比的方式,提供一个或多个资源空间,可以部署一个或多个虚拟机。The resource pool 204 includes a plurality of physical machine nodes, such as a physical machine node A 2021, a physical machine node B 2042, and the like. Each physical machine node provides one or more resource spaces by means of a high ratio, and one or more resource spaces may be deployed. Multiple virtual machines.
如图2B所示,如果物理机节点B 2042具有空闲的资源,则可以在物理机节点B 2042部署应用的实例资源信息(即虚线圈中的资源空间)。As shown in FIG. 2B, if the physical machine Node B 2042 has idle resources, the instance resource information of the application (ie, the resource space in the dotted circle) may be deployed at the physical machine Node B 2042.
如图2C所示,操作控制台201从采集多个虚拟机的单体资源负载信息,例如,CPU利用率、内存利用率、磁盘利用率等等,通过求平均值计算应用集群的整体资源负载信息,从而确定是否扩容。As shown in FIG. 2C, the operation console 201 calculates the overall resource load of the application cluster by collecting average resource load information of multiple virtual machines, for example, CPU utilization, memory utilization, disk utilization, and the like. Information to determine whether to expand.
当确定需要扩容时,集群调度中心202可以执行在服务器B 2042上部署的agent,进行镜像的部署工作。When it is determined that capacity expansion is required, the cluster scheduling center 202 can execute an agent deployed on the server B 2042 to perform mirroring deployment.
在服务器B 2042部署的agent接收到集群调度中心202的调度指令,从中提取调度的参数,包括镜像的名称,按照镜像的名称从容器镜像中心203下载镜像到本地。The agent deployed at the server B 2042 receives the scheduling instruction of the cluster scheduling center 202, extracts the parameters of the scheduling, including the name of the image, and downloads the image from the container mirroring center 203 to the local according to the name of the image.
在服务器B 2042部署的agent执行虚拟化指令,如虚拟机CLOKER的命令clocker pull<image_name>,部署镜像,其中,image_name为镜像的名称。The agent deployed in server B 2042 executes a virtualization instruction, such as virtual machine CLOKER's command clocker pull <image_name>, to deploy the image, where image_name is the name of the image.
当虚拟机部署成功之后,即可启动应用,例如,在虚拟机CLOCKER中输入命令,clocker run<image_name>即可启动容器,其中,image_name为镜像的名称。After the virtual machine is deployed successfully, the application can be started. For example, enter the command in the virtual machine CLOCKER, clocker run<image_name> to start the container, where image_name is the name of the image.
将该应用在负载均衡器205进行注册,负载均衡器205将流量切入应用进行处理,对外提供服务。 The application is registered in the load balancer 205, and the load balancer 205 cuts the traffic into the application for processing and provides external services.
需要说明的是,对于方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本申请实施例并不受所描述的动作顺序的限制,因为依据本申请实施例,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作并不一定是本申请实施例所必须的。It should be noted that, for the method embodiments, for the sake of simple description, they are all expressed as a series of action combinations, but those skilled in the art should understand that the embodiments of the present application are not limited by the described action sequence, because In accordance with embodiments of the present application, certain steps may be performed in other sequences or concurrently. In the following, those skilled in the art should also understand that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required in the embodiments of the present application.
参照图3,示出了本申请的一种应用的扩容装置实施例的结构框图,具体可以包括如下模块:Referring to FIG. 3, a structural block diagram of an embodiment of a content expansion apparatus of an application of the present application is shown, which may specifically include the following modules:
资源信息确定模块301,用于确定多个应用扩容所需的多个资源信息;The resource information determining module 301 is configured to determine a plurality of resource information required for the expansion of the plurality of applications;
实例资源信息生成模块302,用于根据所述多个资源信息在预置的资源池中为所述多个应用生成多个实例资源信息;The instance resource information generating module 302 is configured to generate multiple instance resource information for the multiple applications in the preset resource pool according to the multiple resource information.
实例启动模块303,用于在检测到针对某个应用的扩容请求时,在所述资源池中按照所述应用的实例资源信息启动应用。The instance startup module 303 is configured to start an application according to the instance resource information of the application in the resource pool when detecting a volume expansion request for an application.
在本申请的一个实施例中,所述资源池包括多个物理机节点,各个物理机节点提供一个或多个资源空间;In an embodiment of the present application, the resource pool includes a plurality of physical machine nodes, and each physical machine node provides one or more resource spaces;
所述实例资源信息生成模块302可以包括如下子模块:The instance resource information generating module 302 can include the following sub-modules:
资源参数提取子模块,用于针对每个应用,从所述资源信息中提取资源规格信息、资源数量;a resource parameter extraction submodule, configured to extract resource specification information and a quantity of resources from the resource information for each application;
资源空间分配子模块,用于在所述多个物理机节点中,按照所述资源数量为所述应用分配资源空间;a resource space allocation submodule, configured to allocate a resource space to the application according to the quantity of the resources in the plurality of physical machine nodes;
资源空间生成子模块,用于在所述资源空间中,按照所述资源规格生成实例资源信息。The resource space generating submodule is configured to generate instance resource information according to the resource specification in the resource space.
在本申请的一个实施例中,所述资源空间分配子模块可以包括如下单元:In an embodiment of the present application, the resource space allocation submodule may include the following units:
特征分配单元,用于按照如下一种或多种特征信息为所述应用分配资源空间:a feature allocation unit, configured to allocate a resource space to the application according to one or more of the following feature information:
应用运行特征信息、应用稳定性特征信息、邻居应用特征信息。Application running feature information, application stability feature information, and neighbor application feature information.
在具体实现中,在一个物理机节点中生成的实例资源信息所需资源总量,大于所述物理机节点的实际资源总量。In a specific implementation, the total amount of resources required for instance resource information generated in one physical machine node is greater than the total amount of actual resources of the physical machine node.
在本申请的一个实施例中,所述实例启动模块303可以包括如下子模块:In an embodiment of the present application, the instance startup module 303 may include the following submodules:
目标实例资源信息选取子模块,用于按照如下一种或多种特征信息从所述应用的实例资源信息中选取目标实例资源信息: The target instance resource information selection submodule is configured to select target instance resource information from the instance resource information of the application according to one or more of the following feature information:
物理机节点的负载状态、应用稳定性特征、物理机节点的资源空闲程度;Load status of physical machine nodes, application stability characteristics, and resource idleness of physical machine nodes;
目标实例资源信息启动子模块,用于按照所述目标实例资源信息在所述资源池中占用资源,以创建虚拟机;a target instance resource information startup submodule, configured to occupy resources in the resource pool according to the target instance resource information, to create a virtual machine;
镜像文件获取子模块,用于在预置的容器镜像中心中获取应用的镜像文件;The image file obtaining submodule is used to obtain an image file of the application in the preset container mirror center;
镜像文件部署子模块,用于在所述虚拟机中部署所述镜像文件;An image file deployment submodule, configured to deploy the image file in the virtual machine;
应用启动子模块,用于当部署成功时,启动部署在所述虚拟机的应用。The application launch submodule is configured to start an application deployed on the virtual machine when the deployment is successful.
在本申请的一个实施例中,该装置还可以包括如下模块:In an embodiment of the present application, the apparatus may further include the following modules:
实例资源信息更新模块,用于在某个应用更新时,在所述资源池中更新所述应用的实例资源信息。The instance resource information update module is configured to update instance resource information of the application in the resource pool when an application is updated.
对于装置实施例而言,由于其与方法实施例基本相似,所以描述的比较简单,相关之处参见方法实施例的部分说明即可。For the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the description of the method embodiment.
本发明实施例还提供了一种应用的扩容系统,所述系统包括:An embodiment of the present invention further provides an application expansion system, where the system includes:
一个或多个处理器;One or more processors;
存储器;和Memory; and
一个或多个模块,该一个或多个模块存储于存储器中并被配置成由一个或多个处理器执行,其中,该一个或多个模块具有如下功能:One or more modules, the one or more modules being stored in the memory and configured to be executed by one or more processors, wherein the one or more modules have the following functions:
确定多个应用扩容所需的多个资源信息;Determining multiple resource information required for multiple application expansion;
根据所述多个资源信息在预置的资源池中为所述多个应用生成多个实例资源信息;Generating a plurality of instance resource information for the plurality of applications in the preset resource pool according to the plurality of resource information;
当检测到针对某个应用的扩容请求时,在所述资源池中按照所述应用的实例资源信息启动应用。When a capacity expansion request for an application is detected, an application is started in the resource pool according to the instance resource information of the application.
可选地,所述资源池包括多个物理机节点,各个物理机节点提供一个或多个资源空间;该一个或多个模块可以具有如下功能:Optionally, the resource pool includes multiple physical machine nodes, and each physical machine node provides one or more resource spaces; the one or more modules may have the following functions:
针对每个应用,从所述实例资源信息中提取资源规格信息、资源数量;Extracting resource specification information and resource quantity from the instance resource information for each application;
在所述多个物理机节点中,按照所述资源数量为所述应用分配资源空间;Allocating a resource space for the application according to the quantity of resources in the plurality of physical machine nodes;
在所述资源空间中,按照所述资源规格生成实例资源信息。In the resource space, instance resource information is generated according to the resource specification.
可选地,该一个或多个模块可以具有如下功能:Optionally, the one or more modules may have the following functions:
按照如下一种或多种特征信息为所述应用分配资源空间:Allocating resource space to the application according to one or more of the following characteristic information:
应用运行特征信息、应用稳定性特征信息、邻居应用特征信息。Application running feature information, application stability feature information, and neighbor application feature information.
可选地,在一个物理机节点中生成的实例资源信息所需资源总量,大于所述物理机 节点的实际资源总量。Optionally, the total amount of resources required for instance resource information generated in one physical machine node is greater than the physical machine. The actual total amount of resources for the node.
可选地,该一个或多个模块可以具有如下功能:Optionally, the one or more modules may have the following functions:
按照如下一种或多种特征信息从所述应用的实例资源信息中选取目标实例资源信息:The target instance resource information is selected from the instance resource information of the application according to one or more of the following feature information:
物理机节点的负载状态、应用稳定性特征、物理机节点的资源空闲程度;Load status of physical machine nodes, application stability characteristics, and resource idleness of physical machine nodes;
按照所述目标实例资源信息在所述资源池中占用资源,以创建虚拟机;Generating resources in the resource pool according to the target instance resource information to create a virtual machine;
在预置的容器镜像中心中获取应用的镜像文件;Obtain an image file of the application in the preset container mirror center;
在所述虚拟机中部署所述镜像文件;Deploying the image file in the virtual machine;
当部署成功时,启动部署在所述虚拟机的应用。When the deployment is successful, launch the application deployed on the virtual machine.
可选地,该一个或多个模块可以具有如下功能:Optionally, the one or more modules may have the following functions:
当某个应用更新时,在所述资源池中更新所述应用的实例资源信息。When an application is updated, the instance resource information of the application is updated in the resource pool.
图4是本申请实施例提供的一种服务器结构示意图。该服务器400可因配置或性能不同而产生比较大的差异,可以包括一个或一个以上中央处理器(central processing units,CPU)422(例如,一个或一个以上处理器)和存储器432,一个或一个以上存储应用程序442或数据444的存储介质430(例如一个或一个以上海量存储设备)。其中,存储器432和存储介质430可以是短暂存储的或持久存储的。存储在存储介质430的程序可以包括一个或一个以上模块(图示没标出),每个模块可以包括对服务器中的一系列指令操作。更进一步地,中央处理器422可以设置为与存储介质430通信,在服务器400上执行存储介质430中的一系列指令操作。4 is a schematic structural diagram of a server provided by an embodiment of the present application. The server 400 can vary considerably depending on configuration or performance, and can include one or more central processing units (CPUs) 422 (eg, one or more processors) and memory 432, one or one The storage medium 430 (for example, one or one storage device in Shanghai) that stores the application 442 or the data 444 above. Among them, the memory 432 and the storage medium 430 may be temporarily stored or persistently stored. The program stored on storage medium 430 may include one or more modules (not shown), each of which may include a series of instruction operations in the server. Still further, central processor 422 can be configured to communicate with storage medium 430, executing a series of instruction operations in storage medium 430 on server 400.
服务器400还可以包括一个或一个以上电源426,一个或一个以上有线或无线网络接口450,一个或一个以上输入输出接口758,一个或一个以上键盘456,和/或,一个或一个以上操作系统441,例如Windows ServerTM,Mac OS XTM,UnixTM,LinuxTM,FreeBSDTM等等。 Server 400 may also include one or more power sources 426, one or more wired or wireless network interfaces 450, one or more input and output interfaces 758, one or more keyboards 456, and/or one or more operating systems 441. For example, Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, etc.
中央处理器422可以在服务器400上执行以下操作的指令:The central processor 422 can execute instructions on the server 400 for:
确定多个应用扩容所需的多个资源信息;Determining multiple resource information required for multiple application expansion;
根据所述多个资源信息在预置的资源池中为所述多个应用生成多个实例资源信息;Generating a plurality of instance resource information for the plurality of applications in the preset resource pool according to the plurality of resource information;
当检测到针对某个应用的扩容请求时,在所述资源池中按照所述应用的实例资源信息启动应用。When a capacity expansion request for an application is detected, an application is started in the resource pool according to the instance resource information of the application.
可选地,所述资源池包括多个物理机节点,各个物理机节点提供一个或多个资源空 间;中央处理器422还可以在服务器400上执行以下操作的指令:Optionally, the resource pool includes multiple physical machine nodes, and each physical machine node provides one or more resource spaces. The central processing unit 422 can also execute instructions on the server 400 for the following operations:
针对每个应用,从所述实例资源信息中提取资源规格信息、资源数量;Extracting resource specification information and resource quantity from the instance resource information for each application;
在所述多个物理机节点中,按照所述资源数量为所述应用分配资源空间;Allocating a resource space for the application according to the quantity of resources in the plurality of physical machine nodes;
在所述资源空间中,按照所述资源规格生成实例资源信息。In the resource space, instance resource information is generated according to the resource specification.
可选地,中央处理器422还可以在服务器400上执行以下操作的指令:Alternatively, the central processor 422 can also execute instructions on the server 400 for:
按照如下一种或多种特征信息为所述应用分配资源空间:Allocating resource space to the application according to one or more of the following characteristic information:
应用运行特征信息、应用稳定性特征信息、邻居应用特征信息。Application running feature information, application stability feature information, and neighbor application feature information.
可选地,在一个物理机节点中生成的实例资源信息所需资源总量,大于所述物理机节点的实际资源总量。Optionally, the total amount of resources required for instance resource information generated in one physical machine node is greater than the total amount of actual resources of the physical machine node.
可选地,中央处理器422还可以在服务器400上执行以下操作的指令:Alternatively, the central processor 422 can also execute instructions on the server 400 for:
按照如下一种或多种特征信息从所述应用的实例资源信息中选取目标实例资源信息:The target instance resource information is selected from the instance resource information of the application according to one or more of the following feature information:
物理机节点的负载状态、应用稳定性特征、物理机节点的资源空闲程度;Load status of physical machine nodes, application stability characteristics, and resource idleness of physical machine nodes;
按照所述目标实例资源信息在所述资源池中占用资源,以创建虚拟机;Generating resources in the resource pool according to the target instance resource information to create a virtual machine;
在预置的容器镜像中心中获取应用的镜像文件;Obtain an image file of the application in the preset container mirror center;
在所述虚拟机中部署所述镜像文件;Deploying the image file in the virtual machine;
当部署成功时,启动部署在所述虚拟机的应用。When the deployment is successful, launch the application deployed on the virtual machine.
可选地,中央处理器422还可以在服务器400上执行以下操作的指令:Alternatively, the central processor 422 can also execute instructions on the server 400 for:
当某个应用更新时,在所述资源池中更新所述应用的实例资源信息。When an application is updated, the instance resource information of the application is updated in the resource pool.
本说明书中的各个实施例均采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似的部分互相参见即可。The various embodiments in the present specification are described in a progressive manner, and each embodiment focuses on differences from other embodiments, and the same similar parts between the various embodiments can be referred to each other.
本领域内的技术人员应明白,本申请实施例的实施例可提供为方法、装置、或计算机程序产品。因此,本申请实施例可采用完全硬件实施例、完全软件实施例、或结合软件和硬件方面的实施例的形式。而且,本申请实施例可采用在一个或多个其中包含有计算机可用程序代码的计算机可用存储介质(包括但不限于磁盘存储器、CD-ROM、光学存储器等)上实施的计算机程序产品的形式。Those skilled in the art will appreciate that embodiments of the embodiments of the present application can be provided as a method, apparatus, or computer program product. Therefore, the embodiments of the present application may take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware. Moreover, embodiments of the present application can take the form of a computer program product embodied on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) including computer usable program code.
在一个典型的配置中,所述计算机设备包括一个或多个处理器(CPU)、输入/输出接口、网络接口和内存。内存可能包括计算机可读介质中的非永久性存储器,随机存取存储器(RAM)和/或非易失性内存等形式,如只读存储器(ROM)或闪存(flash RAM)。内存 是计算机可读介质的示例。计算机可读介质包括永久性和非永久性、可移动和非可移动媒体可以由任何方法或技术来实现信息存储。信息可以是计算机可读指令、数据结构、程序的模块或其他数据。计算机的存储介质的例子包括,但不限于相变内存(PRAM)、静态随机存取存储器(SRAM)、动态随机存取存储器(DRAM)、其他类型的随机存取存储器(RAM)、只读存储器(ROM)、电可擦除可编程只读存储器(EEPROM)、快闪记忆体或其他内存技术、只读光盘只读存储器(CD-ROM)、数字多功能光盘(DVD)或其他光学存储、磁盒式磁带,磁带磁磁盘存储或其他磁性存储设备或任何其他非传输介质,可用于存储可以被计算设备访问的信息。按照本文中的界定,计算机可读介质不包括非持续性的电脑可读媒体(transitory media),如调制的数据信号和载波。In a typical configuration, the computer device includes one or more processors (CPUs), input/output interfaces, network interfaces, and memory. The memory may include non-persistent memory, random access memory (RAM), and/or non-volatile memory in a computer readable medium, such as read only memory (ROM) or flash memory. RAM Is an example of a computer readable medium. Computer readable media includes both permanent and non-persistent, removable and non-removable media. Information storage can be implemented by any method or technology. The information can be computer readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read only memory. (ROM), electrically erasable programmable read only memory (EEPROM), flash memory or other memory technology, compact disk read only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, Magnetic tape cartridges, magnetic tape storage or other magnetic storage devices or any other non-transportable media can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include non-persistent computer readable media, such as modulated data signals and carrier waves.
本申请实施例是参照根据本申请实施例的方法、终端设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理终端设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理终端设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。Embodiments of the present application are described with reference to flowcharts and/or block diagrams of methods, terminal devices (systems), and computer program products according to embodiments of the present application. It will be understood that each flow and/or block of the flowchart illustrations and/or FIG. These computer program instructions can be provided to a processor of a general purpose computer, special purpose computer, embedded processor or other programmable data processing terminal device to produce a machine such that instructions are executed by a processor of a computer or other programmable data processing terminal device Means are provided for implementing the functions specified in one or more of the flow or in one or more blocks of the flow chart.
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理终端设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。The computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing terminal device to operate in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture comprising the instruction device. The instruction device implements the functions specified in one or more blocks of the flowchart or in a flow or block of the flowchart.
这些计算机程序指令也可装载到计算机或其他可编程数据处理终端设备上,使得在计算机或其他可编程终端设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程终端设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。These computer program instructions can also be loaded onto a computer or other programmable data processing terminal device such that a series of operational steps are performed on the computer or other programmable terminal device to produce computer-implemented processing, such that the computer or other programmable terminal device The instructions executed above provide steps for implementing the functions specified in one or more blocks of the flowchart or in a block or blocks of the flowchart.
尽管已描述了本申请实施例的优选实施例,但本领域内的技术人员一旦得知了基本创造性概念,则可对这些实施例做出另外的变更和修改。所以,所附权利要求意欲解释为包括优选实施例以及落入本申请实施例范围的所有变更和修改。While a preferred embodiment of the embodiments of the present application has been described, those skilled in the art can make further changes and modifications to the embodiments once they are aware of the basic inventive concept. Therefore, the appended claims are intended to be interpreted as including all the modifications and the modifications
最后,还需要说明的是,在本文中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何 其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者终端设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者终端设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者终端设备中还存在另外的相同要素。Finally, it should also be noted that in this context, relational terms such as first and second are used merely to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply these entities. There is any such actual relationship or order between operations. Moreover, the terms "including", "comprising" or any of them Other variations are intended to encompass non-exclusive inclusions, such that a process, method, article, or terminal device that comprises a plurality of elements includes not only those elements but also other elements not specifically listed or included The elements inherent in methods, articles, or terminal equipment. An element defined by the phrase "comprising a ..." does not exclude the presence of additional identical elements in the process, method, article, or terminal device that comprises the element, without further limitation.
以上对本申请所提供的一种应用的扩容方法、一种应用的扩容装置和一种应用的扩容系统,进行了详细介绍,本文中应用了具体个例对本申请的原理及实施方式进行了阐述,以上实施例的说明只是用于帮助理解本申请的方法及其核心思想;同时,对于本领域的一般技术人员,依据本申请的思想,在具体实施方式及应用范围上均会有改变之处,综上所述,本说明书内容不应理解为对本申请的限制。 The above describes the expansion method of an application provided by the present application, an expansion device of an application, and an expansion system of an application, and a specific example is applied herein to explain the principle and implementation manner of the application. The description of the above embodiments is only for helping to understand the method of the present application and its core ideas; at the same time, for those of ordinary skill in the art, according to the idea of the present application, there will be changes in specific embodiments and application scopes. In summary, the content of this specification should not be construed as limiting the application.

Claims (10)

  1. 一种应用的扩容系统,其特征在于,所述系统包括:An application expansion system, characterized in that the system comprises:
    一个或多个处理器;One or more processors;
    存储器;和Memory; and
    一个或多个模块,所述一个或多个模块存储于所述存储器中并被配置成由所述一个或多个处理器执行,所述一个或多个模块具有如下功能:One or more modules, the one or more modules being stored in the memory and configured to be executed by the one or more processors, the one or more modules having the following functions:
    确定多个应用扩容所需的多个资源信息;Determining multiple resource information required for multiple application expansion;
    根据所述多个资源信息在预置的资源池中为所述多个应用生成多个实例资源信息;Generating a plurality of instance resource information for the plurality of applications in the preset resource pool according to the plurality of resource information;
    当检测到针对某个应用的扩容请求时,在所述资源池中按照所述应用的实例资源信息启动应用。When a capacity expansion request for an application is detected, an application is started in the resource pool according to the instance resource information of the application.
  2. 一种应用的扩容方法,其特征在于,包括:A method for expanding an application, comprising:
    确定多个应用扩容所需的多个资源信息;Determining multiple resource information required for multiple application expansion;
    根据所述多个资源信息在预置的资源池中为所述多个应用生成多个实例资源信息;Generating a plurality of instance resource information for the plurality of applications in the preset resource pool according to the plurality of resource information;
    当检测到针对某个应用的扩容请求时,在所述资源池中按照所述应用的实例资源信息启动应用。When a capacity expansion request for an application is detected, an application is started in the resource pool according to the instance resource information of the application.
  3. 根据权利要求2所述的方法,其特征在于,所述资源池包括多个物理机节点,各个物理机节点提供一个或多个资源空间;The method according to claim 2, wherein the resource pool comprises a plurality of physical machine nodes, and each physical machine node provides one or more resource spaces;
    所述根据所述多个资源信息在资源池中为所述多个应用生成多个实例资源信息的步骤包括:The step of generating multiple instance resource information for the multiple applications in the resource pool according to the multiple resource information includes:
    针对每个应用,从所述实例资源信息中提取资源规格信息、资源数量;Extracting resource specification information and resource quantity from the instance resource information for each application;
    在所述多个物理机节点中,按照所述资源数量为所述应用分配资源空间;Allocating a resource space for the application according to the quantity of resources in the plurality of physical machine nodes;
    在所述资源空间中,按照所述资源规格生成实例资源信息。In the resource space, instance resource information is generated according to the resource specification.
  4. 根据权利要求3所述的方法,其特征在于,所述按照所述资源数量为所述应用分配资源空间的步骤包括:The method according to claim 3, wherein the step of allocating resource space to the application according to the quantity of resources comprises:
    按照如下一种或多种特征信息为所述应用分配资源空间:Allocating resource space to the application according to one or more of the following characteristic information:
    应用运行特征信息、应用稳定性特征信息、邻居应用特征信息。Application running feature information, application stability feature information, and neighbor application feature information.
  5. 根据权利要求3所述的方法,其特征在于,在一个物理机节点中生成的实例资源信息实例资源信息所需资源总量,大于所述物理机节点的实际资源总量。The method according to claim 3, wherein the total amount of resources required for instance resource information instance resource information generated in one physical machine node is greater than the total amount of actual resources of the physical machine node.
  6. 根据权利要求2或3或4或5所述的方法,其特征在于,所述在所述资源池中 按照所述应用的实例资源信息实例资源信息启动应用的步骤包括:Method according to claim 2 or 3 or 4 or 5, wherein said said resource pool The step of starting an application according to the instance resource information instance resource information of the application includes:
    按照如下一种或多种特征信息从所述应用的实例资源信息中选取目标实例资源信息:The target instance resource information is selected from the instance resource information of the application according to one or more of the following feature information:
    物理机节点的负载状态、应用稳定性特征、物理机节点的资源空闲程度;Load status of physical machine nodes, application stability characteristics, and resource idleness of physical machine nodes;
    按照所述目标实例资源信息在所述资源池中占用资源,以创建虚拟机;Generating resources in the resource pool according to the target instance resource information to create a virtual machine;
    在预置的容器镜像中心中获取应用的镜像文件;Obtain an image file of the application in the preset container mirror center;
    在所述虚拟机中部署所述镜像文件;Deploying the image file in the virtual machine;
    当部署成功时,启动部署在所述虚拟机的应用。When the deployment is successful, launch the application deployed on the virtual machine.
  7. 根据权利要求2或3或4或5所述的方法,其特征在于,还包括:The method according to claim 2 or 3 or 4 or 5, further comprising:
    当某个应用更新时,在所述资源池中更新所述应用的实例资源信息实例资源信息。When an application is updated, the instance resource information instance resource information of the application is updated in the resource pool.
  8. 一种应用的扩容装置,其特征在于,包括:An application expansion device, comprising:
    资源信息确定模块,用于确定多个应用扩容所需的多个资源信息;a resource information determining module, configured to determine multiple resource information required for expansion of multiple applications;
    实例资源信息生成模块,用于根据所述多个实例资源信息在预置的资源池中为所述多个应用生成多个实例资源信息;An instance resource information generating module, configured to generate multiple instance resource information for the multiple applications in the preset resource pool according to the multiple instance resource information;
    实例启动模块,用于在检测到针对某个应用的扩容请求时,在所述资源池中按照所述应用的实例资源信息启动应用。The instance startup module is configured to start an application according to the instance resource information of the application in the resource pool when detecting a capacity expansion request for an application.
  9. 根据权利要求8所述的装置,其特征在于,所述资源池包括多个物理机节点,各个物理机节点提供一个或多个资源空间;The apparatus according to claim 8, wherein the resource pool comprises a plurality of physical machine nodes, and each physical machine node provides one or more resource spaces;
    所述实例资源信息生成模块包括:The instance resource information generating module includes:
    资源参数提取子模块,用于针对每个应用,从所述实例资源信息中提取资源规格信息、资源数量;a resource parameter extraction submodule, configured to extract resource specification information and a quantity of resources from the instance resource information for each application;
    资源空间分配子模块,用于在所述多个物理机节点中,按照所述资源数量为所述应用分配资源空间;a resource space allocation submodule, configured to allocate a resource space to the application according to the quantity of the resources in the plurality of physical machine nodes;
    资源空间生成子模块,用于在所述资源空间中,按照所述资源规格生成实例资源信息。The resource space generating submodule is configured to generate instance resource information according to the resource specification in the resource space.
  10. 根据权利要求9所述的装置,其特征在于,所述资源空间分配子模块包括:The device according to claim 9, wherein the resource space allocation sub-module comprises:
    特征分配单元,用于按照如下一种或多种特征信息为所述应用分配资源空间:a feature allocation unit, configured to allocate a resource space to the application according to one or more of the following feature information:
    应用运行特征信息、应用稳定性特征信息、邻居应用特征信息。 Application running feature information, application stability feature information, and neighbor application feature information.
PCT/CN2017/106627 2016-10-31 2017-10-18 Application capacity enlargement method, apparatus and system WO2018077079A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201610932252.7A CN108023742B (en) 2016-10-31 2016-10-31 Application capacity expansion method, device and system
CN201610932252.7 2016-10-31

Publications (1)

Publication Number Publication Date
WO2018077079A1 true WO2018077079A1 (en) 2018-05-03

Family

ID=62023061

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2017/106627 WO2018077079A1 (en) 2016-10-31 2017-10-18 Application capacity enlargement method, apparatus and system

Country Status (3)

Country Link
CN (1) CN108023742B (en)
TW (1) TWI752994B (en)
WO (1) WO2018077079A1 (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110688130A (en) * 2019-10-14 2020-01-14 天津卓朗科技发展有限公司 Physical machine deployment method, physical machine deployment device, readable storage medium and electronic equipment
CN111367678A (en) * 2020-03-31 2020-07-03 中国工商银行股份有限公司 Cluster resource management method and system
CN111464616A (en) * 2020-03-30 2020-07-28 招商局金融科技有限公司 Method, server and storage medium for automatically adjusting number of application load services
CN111880929A (en) * 2020-07-07 2020-11-03 腾讯科技(深圳)有限公司 Instance management method and device and computer equipment
CN112350837A (en) * 2019-08-06 2021-02-09 南京南瑞继保电气有限公司 Cloud platform-based power application cluster management method and device
CN112612611A (en) * 2020-12-24 2021-04-06 青岛海尔科技有限公司 Information processing method, device and system
CN112799596A (en) * 2021-02-03 2021-05-14 联想(北京)有限公司 Capacity expansion control method and device for storage resources and electronic equipment
CN113296823A (en) * 2020-02-21 2021-08-24 北京国双科技有限公司 Method, device, equipment and storage medium for generating resource configuration file
CN113472565A (en) * 2021-06-03 2021-10-01 北京闲徕互娱网络科技有限公司 Method, device, equipment and computer readable medium for expanding server function
CN113553190A (en) * 2021-09-17 2021-10-26 阿里云计算有限公司 Computing cluster system, scheduling method, device and storage medium
CN113688182A (en) * 2021-10-26 2021-11-23 深圳市明源云科技有限公司 Database automatic switching method and device and computer readable storage medium
CN113730919A (en) * 2021-09-10 2021-12-03 北京百度网讯科技有限公司 Cloud application pre-starting method, device, equipment, storage medium and program product
CN114615340A (en) * 2022-03-08 2022-06-10 北京字节跳动网络技术有限公司 Request processing method and device, computer equipment and storage device

Families Citing this family (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108881390A (en) * 2018-05-18 2018-11-23 深圳壹账通智能科技有限公司 the cloud platform deployment method, device and equipment of electronic account service
CN108768877B (en) * 2018-07-20 2021-06-22 网宿科技股份有限公司 Distribution method and device of burst traffic and proxy server
CN109120678B (en) 2018-07-26 2021-05-14 北京百度网讯科技有限公司 Method and apparatus for service hosting of distributed storage system
CN109032805A (en) * 2018-08-06 2018-12-18 深圳乐信软件技术有限公司 A kind of scalable appearance method, apparatus of elasticity, server and storage medium
CN109189334B (en) * 2018-08-16 2022-06-07 北京京东尚科信息技术有限公司 Block chain network service platform, capacity expansion method thereof and storage medium
CN111190719A (en) * 2018-11-14 2020-05-22 北京京东尚科信息技术有限公司 Method, device, medium and electronic equipment for optimizing cluster resource allocation
CN111435316A (en) * 2019-01-14 2020-07-21 阿里巴巴集团控股有限公司 Resource capacity expansion method and device
CN111435302B (en) * 2019-01-14 2023-06-20 阿里巴巴集团控股有限公司 Application processing method and device
CN111093099B (en) * 2019-02-15 2023-04-18 杭州海康威视系统技术有限公司 Streaming media service scheduling method, device and system
CN111580925B (en) * 2019-02-18 2023-11-17 华为技术有限公司 Method and device for stretching application
CN110289982B (en) * 2019-05-17 2022-08-23 平安科技(深圳)有限公司 Container application capacity expansion method and device, computer equipment and storage medium
CN111061560B (en) * 2019-11-18 2022-12-06 江苏视博云信息技术有限公司 Cloud rendering resource scheduling method and device, electronic equipment and storage medium
CN111737083A (en) * 2020-06-22 2020-10-02 中国银行股份有限公司 VMware cluster resource monitoring method and device
TWI742774B (en) * 2020-07-22 2021-10-11 財團法人國家實驗研究院 System for computing and method for arranging nodes thereof
CN115378859B (en) * 2021-04-13 2023-06-02 百度在线网络技术(北京)有限公司 Method, apparatus, device, medium and product for determining limit state information

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130042005A1 (en) * 2011-08-08 2013-02-14 International Business Machines Corporation Dynamically expanding computing resources in a networked computing environment
CN104317638A (en) * 2014-10-17 2015-01-28 华为技术有限公司 Application stretching management method and device
CN104519082A (en) * 2013-09-27 2015-04-15 腾讯科技(深圳)有限公司 Expansion method and device of cloud computation
CN104580524A (en) * 2015-01-30 2015-04-29 华为技术有限公司 Resource scaling method and cloud platform with same

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102646062B (en) * 2012-03-20 2014-04-09 广东电子工业研究院有限公司 Flexible capacity enlargement method for cloud computing platform based application clusters
CN103152389A (en) * 2013-02-01 2013-06-12 华南师范大学 Method and system of responding peak access in cloud computer system
CN103703724B (en) * 2013-08-15 2015-06-10 华为技术有限公司 Resource payment method
TW201514712A (en) * 2013-10-01 2015-04-16 Chunghwa Telecom Co Ltd Trend analysis of cloud application service load and resource allocation method
US9438478B1 (en) * 2015-11-13 2016-09-06 International Business Machines Corporation Using an SDN controller to automatically test cloud performance
CN106020967B (en) * 2016-05-03 2019-04-12 华中科技大学 A kind of automatic expansion method of hybrid cloud resource

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130042005A1 (en) * 2011-08-08 2013-02-14 International Business Machines Corporation Dynamically expanding computing resources in a networked computing environment
CN104519082A (en) * 2013-09-27 2015-04-15 腾讯科技(深圳)有限公司 Expansion method and device of cloud computation
CN104317638A (en) * 2014-10-17 2015-01-28 华为技术有限公司 Application stretching management method and device
CN104580524A (en) * 2015-01-30 2015-04-29 华为技术有限公司 Resource scaling method and cloud platform with same

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112350837B (en) * 2019-08-06 2022-10-28 南京南瑞继保电气有限公司 Cloud platform-based power application cluster management method and device
CN112350837A (en) * 2019-08-06 2021-02-09 南京南瑞继保电气有限公司 Cloud platform-based power application cluster management method and device
CN110688130A (en) * 2019-10-14 2020-01-14 天津卓朗科技发展有限公司 Physical machine deployment method, physical machine deployment device, readable storage medium and electronic equipment
CN113296823A (en) * 2020-02-21 2021-08-24 北京国双科技有限公司 Method, device, equipment and storage medium for generating resource configuration file
CN111464616A (en) * 2020-03-30 2020-07-28 招商局金融科技有限公司 Method, server and storage medium for automatically adjusting number of application load services
CN111367678A (en) * 2020-03-31 2020-07-03 中国工商银行股份有限公司 Cluster resource management method and system
CN111367678B (en) * 2020-03-31 2023-08-22 中国工商银行股份有限公司 Cluster resource management method and system
CN111880929A (en) * 2020-07-07 2020-11-03 腾讯科技(深圳)有限公司 Instance management method and device and computer equipment
CN111880929B (en) * 2020-07-07 2024-02-02 腾讯科技(深圳)有限公司 Instance management method and device and computer equipment
CN112612611A (en) * 2020-12-24 2021-04-06 青岛海尔科技有限公司 Information processing method, device and system
CN112799596A (en) * 2021-02-03 2021-05-14 联想(北京)有限公司 Capacity expansion control method and device for storage resources and electronic equipment
CN113472565A (en) * 2021-06-03 2021-10-01 北京闲徕互娱网络科技有限公司 Method, device, equipment and computer readable medium for expanding server function
CN113730919A (en) * 2021-09-10 2021-12-03 北京百度网讯科技有限公司 Cloud application pre-starting method, device, equipment, storage medium and program product
CN113730919B (en) * 2021-09-10 2024-01-09 北京百度网讯科技有限公司 Cloud application pre-starting method, device, equipment, storage medium and program product
CN113553190A (en) * 2021-09-17 2021-10-26 阿里云计算有限公司 Computing cluster system, scheduling method, device and storage medium
CN113688182A (en) * 2021-10-26 2021-11-23 深圳市明源云科技有限公司 Database automatic switching method and device and computer readable storage medium
CN114615340A (en) * 2022-03-08 2022-06-10 北京字节跳动网络技术有限公司 Request processing method and device, computer equipment and storage device
CN114615340B (en) * 2022-03-08 2023-10-20 抖音视界有限公司 Request processing method and device, computer equipment and storage device

Also Published As

Publication number Publication date
TW201818261A (en) 2018-05-16
CN108023742A (en) 2018-05-11
TWI752994B (en) 2022-01-21
CN108023742B (en) 2021-08-27

Similar Documents

Publication Publication Date Title
WO2018077079A1 (en) Application capacity enlargement method, apparatus and system
McGrath et al. Serverless computing: Design, implementation, and performance
US10514960B2 (en) Iterative rebalancing of virtual resources among VMs to allocate a second resource capacity by migrating to servers based on resource allocations and priorities of VMs
US9329889B2 (en) Rapid creation and reconfiguration of virtual machines on hosts
US10050850B2 (en) Rack awareness data storage in a cluster of host computing devices
EP3761170B1 (en) Virtual machine creation method and apparatus
US10013189B1 (en) Storage volume backup management for multi-tenant environments
US20200382579A1 (en) Server computer management system for supporting highly available virtual desktops of multiple different tenants
WO2015196931A1 (en) Disk io-based virtual resource allocation method and device
US10255095B2 (en) Temporal dynamic virtual machine policies
US8762999B2 (en) Guest-initiated resource allocation request based on comparison of host hardware information and projected workload requirement
JP2016526735A (en) Virtual hadoop manager
WO2014032882A1 (en) Optimizing virtual machine deployment time
WO2018082451A1 (en) Application link expansion method, apparatus and system
US9735984B2 (en) Bursting cloud resources to affect state change performance
US20120239810A1 (en) System, method and computer program product for clustered computer environment partition resolution
JP2016103113A5 (en)
KR102140730B1 (en) Method and system for providing develop environment of deep learning based gpu
CN107818104B (en) Database deployment method, database deployment device, control equipment and system
WO2020190986A1 (en) Interoperable cloud based media processing using dynamic network interface
Ismail et al. Openstack cloud performance optimization using linux services
Goutam et al. The performance evaluation of proactive fault tolerant scheme over cloud using CloudSim simulator
US11080079B2 (en) Autonomously reproducing and destructing virtual machines
Li et al. Building an HPC-as-a-service toolkit for user-interactive HPC services in the cloud
Sarathe et al. Max-min ant system based approach for intelligent vm migration and consolidation for green cloud computing

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 17864439

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 17864439

Country of ref document: EP

Kind code of ref document: A1