CN108076082A - A kind of expansion method of application cluster, device and system - Google Patents

A kind of expansion method of application cluster, device and system Download PDF

Info

Publication number
CN108076082A
CN108076082A CN201610987442.9A CN201610987442A CN108076082A CN 108076082 A CN108076082 A CN 108076082A CN 201610987442 A CN201610987442 A CN 201610987442A CN 108076082 A CN108076082 A CN 108076082A
Authority
CN
China
Prior art keywords
application
load information
application cluster
resource load
dilatation
Prior art date
Legal status (The legal status 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 status listed.)
Pending
Application number
CN201610987442.9A
Other languages
Chinese (zh)
Inventor
刘岳嘉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alibaba Group Holding Ltd
Original Assignee
Alibaba Group Holding Ltd
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 Alibaba Group Holding Ltd filed Critical Alibaba Group Holding Ltd
Priority to CN201610987442.9A priority Critical patent/CN108076082A/en
Publication of CN108076082A publication Critical patent/CN108076082A/en
Pending legal-status Critical Current

Links

Classifications

    • 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
    • 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/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5083Techniques for rebalancing the load in a distributed system
    • 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
    • H04L67/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Stored Programmes (AREA)

Abstract

The embodiment of the present application provides a kind of expansion method of application cluster, device and system, and this method includes:Monitor the whole resource load information of application cluster;When the whole resource load information meets default pre- dilatation condition, example is added for the application cluster;When the whole resource load information meets default dilatation condition, the example is accessed into the application cluster and is serviced.So that application enters hot standby state, when dilatation is needed, cumbersome dilatation step is avoided, flow can be cut at once to be serviced, greatly reduce the cycle of dilatation, realize quick dilatation, the real-time of application cluster natural flow reply is promoted, ensures application cluster stable operation.

Description

A kind of expansion method of application cluster, device and system
Technical field
This application involves the technical field of computer disposal, more particularly to a kind of expansion method of application cluster, one kind The flash chamber of application cluster and a kind of capacity-enlarging system of application cluster.
Background technology
Cloud computing is a kind of computing model for providing the telescopic virtual resource of dynamic with method of service by internet, is led to This mode is crossed, shared software and hardware resources and information can be supplied to computer and other equipment on demand.
The basic environment of cloud computing is virtualization, by virtual machine (VM, Virtual Machine) application deployment cluster, The resource of shared cloud computing.
In the case that application cluster overall load is higher, in order to ensure the normal operation of application cluster, a kind of mode is Current limliting intercepts application request, mitigate the pressure of application cluster, and to sacrifice certain applications request for cost, ensureing should With the availability of cluster entirety.
Another solution method is using dilatation, i.e., in a short time, the dilatation applied starts.
Using dilatation, conventional mode is exactly to walk dilatation flow, getting out resource step by step.
For example, dilatation request is initiated, and the Apply Names comprising request, the resource of request, then resource allocation system calculating Assignable resource location information relies on bottom operation and maintenance tools, virtual machine container is generated, the letters such as synchronous applications code and configuration Breath after initializing one by one and starts application, opens other operation and maintenance tools such as alarm monitoring, the formal work of reaching the standard grade of finally service.
But this conventional dilatation way step is more, the dilatation cycle is long, efficiency is low.
The content of the invention
In view of the above problems, it is proposed that the embodiment of the present application overcomes the above problem or at least partly in order to provide one kind A kind of expansion method of the application cluster to solve the above problems and corresponding a kind of flash chamber of application cluster, a kind of application collection The capacity-enlarging system of group.
To solve the above-mentioned problems, this application discloses a kind of capacity-enlarging system of application cluster, the system comprises:
One or more processors;
Memory;With
One or more modules, one or more of modules are stored in the memory and are configured to by described one A or multiple processors perform, and one or more of modules have the function of as follows:
Monitor the whole resource load information of application cluster;
When the whole resource load information meets default pre- dilatation condition, example is added for the application cluster;
When the whole resource load information meets default dilatation condition, the example is accessed into the application cluster It is serviced.
The embodiment of the present application also discloses a kind of expansion method of application cluster, including:
Monitor the whole resource load information of application cluster;
When the whole resource load information meets default pre- dilatation condition, example is added for the application cluster;
When the whole resource load information meets default dilatation condition, the example is accessed into the application cluster It is serviced.
The embodiment of the present application also discloses a kind of flash chamber of application cluster, including:
Resource load information monitoring module, for monitoring the whole resource load information of application cluster;
Pre-expansion molar block, for when the whole resource load information meets default pre- dilatation condition, being answered to be described Example is added with cluster;
Dilatation module, for when the whole resource load information meets default dilatation condition, the example to be connect Enter the application cluster to be serviced.
The embodiment of the present application includes advantages below:
The embodiment of the present application adds when the whole resource load information of application cluster meets pre- dilatation condition for application cluster Add example, if the load of application cluster continues to rise, when whole resource load information meets dilatation condition, example is accessed Application cluster is serviced, and prepares resource in advance so that application enters hot standby state, when dilatation is needed, avoids numerous Trivial dilatation step can cut flow at once and be serviced, greatly reduce the cycle of dilatation, realize quick dilatation, carry The real-time of application cluster natural flow reply is risen, ensures application cluster stable operation.
Description of the drawings
Fig. 1 is a kind of step flow chart of the expansion method embodiment of application cluster of the application;
Fig. 2A-Fig. 2 C are a kind of dilatation exemplary plots of application cluster of the embodiment of the present application;
Fig. 3 is a kind of structure diagram of the flash chamber embodiment of application cluster of the application;
Fig. 4 is a kind of server example structure diagram of the application.
Specific embodiment
It is below in conjunction with the accompanying drawings and specific real to enable the above-mentioned purpose of the application, feature and advantage more obvious understandable Mode is applied to be described in further detail the application.
With reference to Fig. 1, show a kind of step flow chart of the expansion method embodiment of application cluster of the application, specifically may be used To include the following steps:
Step 101, the whole resource load information of application cluster is monitored.
In the embodiment of the present application, the set that application cluster forms for multiple examples of application, so-called application refer to realize The module of one or more functions, the application in same application cluster belong to same type.
These applications can include Web (webpage) and apply, and Web applications are not necessarily limited Web or wireless Application of APP (Application, application program) etc., if for example, cloud computing platform be electric business platform, the platform certain A application can realize the function of inquiry commodity data, some application, which can be realized, obtains membership information, the function of ship-to Etc..
Web applications can be deployed in the computer cluster based on cloud computing, such as distributed system, i.e., (developed user Person) web application submitted is placed into corresponding Web container, while configure good mating load equalizer, database, The corresponding assemblies such as storage service, the process run like clockwork with ultimate guarantee Web applications.
The load that Web application dilatations are directed to Web applications changes the characteristics of frequent and violent, by being transported in Web applications Dynamically increase and decrease service capacity during row to be applicable in the variation of load, Service Source is promoted on the premise of ensuring service quality Utilization rate.
The framework, flow, model and the Essential Environment of cloud computing that make Web applications deployment and dilatation are referred to based on cloud computing It is adapted, and then can realize rapid deployment and dynamic capacity-expanding using general cloud computing infrastructure services (IaaS), to User provides platform and service (PaaS).
In the concrete realization, application cluster can be disposed on multiple virtual machines, the monitoring module of virtual machine with service into The form resident service device of journey, the monomer resource for periodically gathering multiple virtual machines (for example, per minute) from server are born Information carrying ceases, for example, CPU (Central Processing Unit, central processing unit) utilization rate, memory usage, disk utilize Rate etc., by averaging, the modes such as weighted sum the whole resource of application cluster is calculated using monomer resource load information Load information.
It should be noted that the diversity of Web applications also has the reflection in load except the reflection in function, it is different Web is applied to load caused by server and is not quite similar.
Therefore, there are many available metric form of load of Web applications, from QoS (Quality of Service, Service Quality Amount) from the point of view of, concurrent user number is there is, be flexibly connected number, number of request per second and the corresponding time etc. please be averaging is a variety of Index, and directly from the point of view of the load of server, cpu busy percentage, memory usage, disk utilization, bandwidth usage can be divided into Rate etc., those skilled in the art can be set according to actual conditions, and the embodiment of the present application is not any limitation as this.
For example, generally there is very big bandwidth occupancy, belong to bandwidth intensive, load using download site for one Monitoring can be based on bandwidth occupancy;For a Web bank, calculating process is then relatively more, belongs to computation-intensive, CPU Utilization rate will be relatively high, and the monitoring of load can be based on cpu busy percentage;For a Content Management website, very Multi-user can make disk or database I/O (input/output), input/output when being carried out at the same time the submission of content) it is busy, belong to Intensive in I/O, the monitoring of load can be based on I/O.
Step 102, when the whole resource load information meets default pre- dilatation condition, add for the application cluster Add example.
In the concrete realization, pre- dilatation condition can be pre-set, if the whole resource load information of application cluster expires The foot pre- dilatation condition, represents that the whole resource load of application cluster is higher, has higher probability to need dilatation, can carry out pre- Dilatation is handled, and addition example, i.e. startup are new, the application of operation, and the example of the example and application cluster belongs to same application, Prepare the processing of dilatation in advance.
In one embodiment of the application, step 102 can include following sub-step:
Sub-step S11, to destination server application virtual machine;
Sub-step S12 obtains the image file applied in the application cluster in preset container mirrored center;
Sub-step S13 disposes the image file in the virtual machine;
Sub-step S14 when deployment success, starts the example for being deployed in the virtual machine.
In the embodiment of the present application, if carrying out pre- dilatation processing, application name, the example money of pre- dilatation application can be determined The information such as source specification information (for example, the quantity of CPU, the size of memory, size of disk etc.), example resource quantity.
Wherein, example resource specification information, example resource quantity can be technical staff carry out specify or according to Flow is estimated that the embodiment of the present application is not any limitation as this.
In computer cluster, the data such as feature can be applied according to application operation feature, using stability features, neighbours Destination server of the selection with idling-resource.
For example, some application occupies, CPU/ bandwidth is more (application operation feature), then the application of deployment is selected to occupy CPU/ The destination server of bandwidth less (neighbours apply feature);Some application is related to money damage (application operation feature), and such as place an order application, If losing order, shopping website needs to compensate), then less deployment is selected to be related to the mesh of the application (neighbours apply feature) of money damage Mark server, etc..
In another example some application is coordinator node (applying stability features), then scattered deployment as far as possible is avoided concentrating and disposed In same server;The example of application is as far as possible scattered to be disposed and (applies stability features), and concentration is avoided to be deployed in same In server, etc..
Virtual machine is based on " virtual " resource out of server, is then to target to destination server application virtual machine An example resource needed for server application application dilatation.
After applying successfully, image file and the download of application are obtained in preset container mirrored center according to application name Onto destination server, the agent (agency) on performance objective server carries out mapping out the work for mirror image.
Since the species of virtual machine is different, such as XEN, LVM, CLOCKER, LXC are therefore, and mirror image maps out the work Also it is different.
After work completion is virtualized, then it can start application.
For example, if virtual machine is CLOCKER, using container, input order, clocker pull when virtual<image_ name>、clocker run<image_name>Virtual machine can be disposed, start container, wherein, image_name is mirror image Title.
In another example if virtual machine is VM, agent in VM is installed, is needed when starting application instruction to changing VM agent Enabled instruction is sent, starts the application being deployed in VM.
It should be noted that after application starts, service directly can't be externally provided.
Certainly, the Starting mode of above application is intended only as example, when implementing the embodiment of the present invention, in different clouds Under computing architecture, the Starting mode of other application can be set according to actual conditions, the embodiment of the present invention is not any limitation as this. In addition, in addition to the Starting mode of above application, those skilled in the art can also be according to actual needs using other application Starting mode, the embodiment of the present invention are not also any limitation as this.
It step 103, will be described in example access when the whole resource load information meets default dilatation condition Application cluster is serviced.
One of advantage of cloud computing environment is, can provide the resource service of elasticity, can be with for the angle of Iaas Resources of virtual machine is dynamically distributed, one virtual machine of increase and decrease generally calls corresponding interface, the Web applications based on cloud computing This characteristic can be utilized to build telescopic application cluster, to be applicable in continually changing load.
In the concrete realization, dilatation condition can be pre-set, if the whole resource load information of application cluster is full After the pre- dilatation condition of foot, load continues to rise, and meets dilatation condition, represents that the whole resource load of application cluster is high, can be with Carry out dilatation processing.
In general, the requirement of dilatation condition is higher than the requirement of pre- dilatation condition, for example, pre- dilatation condition utilizes for CPU Rate > 50%, then dilatation condition can be cpu busy percentage > 70%.
In the concrete realization, can be that the application be registered, issued, by equally loaded by flow (such as user request) Incision application is handled, and externally provides service.
Reverse proxy component is generally installed in the load equalizer of application domain due to system and asks distribution to realize, When will apply access application cluster, this can be added to the equilibrium of reverse proxy component using the IP address of affiliated server It loads inside domain list so that equally loaded device is able to detect that the application.
The embodiment of the present application adds when the whole resource load information of application cluster meets pre- dilatation condition for application cluster Add example, if the load of application cluster continues to rise, when whole resource load information meets dilatation condition, example is accessed Application cluster is serviced, and prepares resource in advance so that application enters hot standby state, when dilatation is needed, avoids numerous Trivial dilatation step can cut flow at once and be serviced, greatly reduce the cycle of dilatation, realize quick dilatation, carry The real-time of application cluster natural flow reply is risen, ensures application cluster stable operation.
In addition, if the whole resource load information of application cluster is after pre- dilatation condition is met, load reduction, when whole When body resource load information meets default pre- dilatation release conditions, then the resource of example can be discharged.
It should be noted that the pre- dilatation release conditions can be complementary with pre- dilatation condition, such as pre- dilatation condition is CPU profits With rate >=50%, pre- dilatation release conditions are cpu busy percentage < 50%;The pre- dilatation release conditions can also be with pre- dilatation condition It partly overlaps, such as pre- dilatation condition is cpu busy percentage >=50%, and pre- dilatation release conditions are cpu busy percentage < 45%, and avoiding should Pre- dilatation, release resource are caused repeatedly with the short time fluctuation of cluster, the embodiment of the present application is not any limitation as this.
In the concrete realization, the virtual machine of deployment examples can be closed, discharges the resource on virtual machine.
The embodiment of the present application application cluster whole resource load information after pre- dilatation condition is met, load drop It is low, if whole resource load information meets default pre- dilatation release conditions, the resource of example occupancy can be discharged, is realized The dilatation of elasticity, avoids resource occupation from causing to waste.
For those skilled in the art is made to more fully understand the embodiment of the present application, illustrate this Shen below by way of specific example Please in embodiment application cluster expansion method.
As shown in Figure 2 A, operating console 201 is from the monomer resource load information for gathering multiple virtual machines, for example, CPU is sharp With rate, memory usage, disk utilization etc., pass through the whole resource load information for calculating application cluster of averaging.
If it is determined that the whole resource load information of some application cluster meets pre- dilatation condition, such as cpu busy percentage > 50%, then pre- dilatation processing can be carried out to the application cluster, perform the pre- dilatation instruction at colony dispatching center 202, input Parameter is the title of application, example resource specification information (memory (memory), the disk space of 100G of such as 4 CPU, 6G (disK)), example resource quantity (such as 1).
The image file of application is stored in container mirrored center 203, such as Image_01, Image_02, Image_03 Etc..
The image file of the application is retrieved in container mirrored center 203 according to the title of application in colony dispatching center 202.
Meanwhile apply for resource to computer cluster 204 according to example resource specification information and example resource quantity.
Computer cluster 204 includes multiple servers, such as server A 2041, server B 2042, each to take One or more virtual machines can be disposed in business device.
It, can be using server B 2042 as destination server, collection if server B 2042 has idle resource Group control centre 202 can perform the agent disposed in server B 2042, carry out mapping out the work for mirror image.
The dispatch command at colony dispatching center 202 is received in the agent that server B 2042 is disposed, therefrom extraction scheduling Parameter, the title including mirror image, according to mirror image title from container mirrored center 203 download be mirrored to local.
Virtualization instructions are performed in the agent that server B 2042 is disposed, such as the order clocker of virtual machine CLOKER pull<image_name>, mirror image is disposed, wherein, image_name is the title of mirror image.
After deploying virtual machine success, you can start application, for example, order is inputted in virtual machine CLOCKER, clocker run<image_name>Container can be started, wherein, image_name is the title of mirror image.
As shown in Figure 2 B, when deploying virtual machine success, using (virtual machine, using) i.e. in dotted line circle is started after, into Enter inbound traffics to be cut, into hot standby state, do not provide service externally directly, therefore, these can claim using residing region Be elastic buffer zone.
As shown in Figure 2 C, operating console 201 determines that the whole resource load information of the application cluster meets dilatation condition, Such as cpu busy percentage > 70%, then dilatation processing can be carried out to the application cluster, this is applied and is carried out in load equalizer 205 Registration, load equalizer 205 handle flow incision application, externally provide service.
It should be noted that for embodiment of the method, in order to be briefly described, therefore it is all expressed as to a series of action group It closes, but those skilled in the art should know, the embodiment of the present application and from the limitation of described sequence of movement, because according to According to the embodiment of the present application, some steps may be employed other orders or be carried out at the same time.Secondly, those skilled in the art also should Know, embodiment described in this description belongs to preferred embodiment, and involved action not necessarily the application is implemented Necessary to example.
With reference to Fig. 3, a kind of structure diagram of the flash chamber embodiment of application cluster of the application is shown, it specifically can be with Including following module:
Resource load information monitoring module 301, for monitoring the whole resource load information of application cluster;
Pre-expansion molar block 302, for being described when the whole resource load information meets default pre- dilatation condition Application cluster adds example;
Dilatation module 303, for when the whole resource load information meets default dilatation condition, by the example The application cluster is accessed to be serviced.
In one embodiment of the application, the application cluster deployment is on multiple virtual machines;
The resource load information monitoring module 301 can include following submodule:
Monomer resource load information gathers submodule, for gathering the monomer resource load information of the multiple virtual machine;
Whole resource load information computational submodule, for calculating application cluster using the monomer resource load information Whole resource load information.
In one embodiment of the application, the pre-expansion molar block 302 can include following submodule:
Virtual machine application submodule, for destination server application virtual machine;
Image file acquisition submodule, for obtaining what is applied in the application cluster in preset container mirrored center Image file;
Image file disposes submodule, for disposing the image file in the virtual machine;
Example promoter module, in deployment success, starting the example for being deployed in the virtual machine.
In one embodiment of the application, the dilatation module 303 can include following submodule:
Flow cuts submodule, and flow is cut the example for passing through equally loaded is handled.
In one embodiment of the application, which can also include following module:
Resource release module, for when the whole resource load information meets default pre- dilatation release conditions, releasing Put the resource that the example occupies.
In one embodiment of the application, the resource release module can include following module:
Virtual machine closes submodule, is closed for that will dispose the virtual machine of the example.
For device embodiment, since it is basicly similar to embodiment of the method, so description is fairly simple, it is related Part illustrates referring to the part of embodiment of the method.
The embodiment of the present invention additionally provides a kind of capacity-enlarging system of application cluster, the system comprises:
One or more processors;
Memory;With
One or more modules, the one or more module are stored in memory and are configured to by one or more Device is managed to perform, wherein, which has the function of as follows:
Monitor the whole resource load information of application cluster;
When the whole resource load information meets default pre- dilatation condition, it is real to start addition for the application cluster Example;
When the whole resource load information meets default dilatation condition, the example is accessed into the application cluster It is serviced.
Optionally, the application cluster is disposed on multiple virtual machines;The one or more module can have following work( Energy:
Gather the monomer resource load information of the multiple virtual machine;
The whole resource load information of application cluster is calculated using the monomer resource load information.
Optionally, which can have the function of as follows:
To destination server application virtual machine;
The image file applied in the application cluster is obtained in preset container mirrored center;
The image file is disposed in the virtual machine;
When deployment success, start the example for being deployed in the virtual machine.
Optionally, which can have the function of as follows:
Flow is cut the example by equally loaded to handle.
Optionally, which can have the function of as follows:
When the whole resource load information meets default pre- dilatation release conditions, the money that the example occupies is discharged Source.
Optionally, which can have the function of as follows:
The virtual machine for disposing the example is closed.
Fig. 4 is a kind of server architecture schematic diagram provided by the embodiments of the present application.The server 400 can be because of configuration or performance It is different and generate bigger difference, one or more central processing units (central processing can be included Units, CPU) 422 (for example, one or more processors) and memory 432, one or more storages are using journey The storage medium 430 of sequence 442 or data 444 (such as one or more mass memory units).Wherein, 432 He of memory Storage medium 430 can be of short duration storage or persistent storage.Be stored in storage medium 430 program can include one or More than one module (diagram does not mark), each module can include operating the series of instructions in server.Further Ground, central processing unit 422 could be provided as communicating with storage medium 430, be performed on server 400 in storage medium 430 Series of instructions operates.
Server 400 can also include one or more power supplys 426, one or more wired or wireless networks Interface 450, one or more input/output interfaces 758, one or more keyboards 456 and/or, one or one More than operating system 441, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM etc..
Central processing unit 422 can perform the instruction of following operation on server 400:
Monitor the whole resource load information of application cluster;
When the whole resource load information meets default pre- dilatation condition, example is added for the application cluster;
When the whole resource load information meets default dilatation condition, the example is accessed into the application cluster It is serviced.
Optionally, the application cluster is disposed on multiple virtual machines;Central processing unit 422 can also be in server 400 The instruction operated below upper execution:
Gather the monomer resource load information of the multiple virtual machine;
The whole resource load information of application cluster is calculated using the monomer resource load information.
Optionally, central processing unit 422 can also perform the instruction of following operation on server 400:
To destination server application virtual machine;
The image file applied in the application cluster is obtained in preset container mirrored center;
The image file is disposed in the virtual machine;
When deployment success, start the example for being deployed in the virtual machine.
Optionally, central processing unit 422 can also perform the instruction of following operation on server 400:
Flow is cut the application by equally loaded to handle.
Optionally, central processing unit 422 can also perform the instruction of following operation on server 400:
When the whole resource load information meets default pre-expansion release appearance condition, the money that the example occupies is discharged Source.
Optionally, central processing unit 422 can also perform the instruction of following operation on server 400:
The virtual machine for disposing the example is closed.
Each embodiment in this specification is described by the way of progressive, the highlights of each of the examples are with The difference of other embodiment, just to refer each other for identical similar part between each embodiment.
It should be understood by those skilled in the art that, the embodiment of the embodiment of the present application can be provided as method, apparatus or calculate Machine program product.Therefore, the embodiment of the present application can be used complete hardware embodiment, complete software embodiment or combine software and The form of the embodiment of hardware aspect.Moreover, the embodiment of the present application can be used one or more wherein include computer can With in the computer-usable storage medium (including but not limited to magnetic disk storage, CD-ROM, optical memory etc.) of program code The form of the computer program product of implementation.
In a typical configuration, the computer equipment includes one or more processors (CPU), input/output Interface, network interface and memory.Memory may include the volatile memory in computer-readable medium, random access memory The forms such as device (RAM) and/or Nonvolatile memory, such as read-only memory (ROM) or flash memory (flash RAM).Memory is to calculate The example of machine readable medium.Computer-readable medium includes permanent and non-permanent, removable and non-removable media can be with Realize that information stores by any method or technique.Information can be computer-readable instruction, data structure, the module of program or Other data.The example of the storage medium of computer includes, but are not limited to phase transition internal memory (PRAM), static RAM (SRAM), dynamic random access memory (DRAM), other kinds of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), fast flash memory bank or other memory techniques, read-only optical disc are read-only Memory (CD-ROM), digital versatile disc (DVD) or other optical storages, magnetic tape cassette, tape magnetic rigid disk storage or Other magnetic storage apparatus or any other non-transmission medium, the information that can be accessed by a computing device available for storage.According to Herein defines, and computer-readable medium does not include the computer readable media (transitory media) of non-standing, such as The data-signal and carrier wave of modulation.
The embodiment of the present application is with reference to according to the method for the embodiment of the present application, terminal device (system) and computer program The flowchart and/or the block diagram of product describes.It should be understood that it can realize flowchart and/or the block diagram by computer program instructions In each flow and/or block and flowchart and/or the block diagram in flow and/or box combination.These can be provided Computer program instructions are set to all-purpose computer, special purpose computer, Embedded Processor or other programmable data processing terminals Standby processor is to generate a machine so that is held by the processor of computer or other programmable data processing terminal equipments Capable instruction generation is used to implement in one flow of flow chart or multiple flows and/or one box of block diagram or multiple boxes The device for the function of specifying.
These computer program instructions, which may also be stored in, can guide computer or other programmable data processing terminal equipments In the computer-readable memory to work in a specific way so that the instruction being stored in the computer-readable memory generates bag The manufacture of command device is included, which realizes in one flow of flow chart or multiple flows and/or one side of block diagram The function of being specified in frame or multiple boxes.
These computer program instructions can be also loaded into computer or other programmable data processing terminal equipments so that Series of operation steps is performed on computer or other programmable terminal equipments to generate computer implemented processing, thus The instruction offer performed on computer or other programmable terminal equipments is used to implement in one flow of flow chart or multiple flows And/or specified in one box of block diagram or multiple boxes function the step of.
Although the preferred embodiment of the embodiment of the present application has been described, those skilled in the art once know base This creative concept can then make these embodiments other change and modification.So appended claims are intended to be construed to Including preferred embodiment and fall into all change and modification of the embodiment of the present application scope.
Finally, it is to be noted that, herein, relational terms such as first and second and the like be used merely to by One entity or operation are distinguished with another entity or operation, without necessarily requiring or implying these entities or operation Between there are any actual relationship or orders.Moreover, term " comprising ", "comprising" or its any other variant meaning Covering non-exclusive inclusion, so that process, method, article or terminal device including a series of elements are not only wrapped Those elements are included, but also including other elements that are not explicitly listed or are further included as this process, method, article Or the element that terminal device is intrinsic.In the absence of more restrictions, it is wanted by what sentence "including a ..." limited Element, it is not excluded that also there are other identical elements in the process including the element, method, article or terminal device.
The flash chamber and one of expansion method to a kind of application cluster provided herein, a kind of application cluster above The capacity-enlarging system of kind of application cluster, is described in detail, used herein principle and implementation of the specific case to the application Mode is set forth, and the explanation of above example is only intended to help to understand the present processes and its core concept;Meanwhile For those of ordinary skill in the art, according to the thought of the application, have change in specific embodiments and applications Become part, in conclusion this specification content should not be construed as the limitation to the application.

Claims (10)

1. a kind of capacity-enlarging system of application cluster, which is characterized in that the system comprises:
One or more processors;
Memory;With
One or more modules, one or more of modules be stored in the memory and be configured to by one or Multiple processors perform, and one or more of modules have the function of as follows:
Monitor the whole resource load information of application cluster;
When the whole resource load information meets default pre- dilatation condition, example is added for the application cluster;
When the whole resource load information meets default dilatation condition, the example is accessed into the application cluster and is carried out Service.
2. a kind of expansion method of application cluster, which is characterized in that including:
Monitor the whole resource load information of application cluster;
When the whole resource load information meets default pre- dilatation condition, example is added for the application cluster;
When the whole resource load information meets default dilatation condition, the example is accessed into the application cluster and is carried out Service.
3. according to the method described in claim 2, it is characterized in that, the application cluster is disposed on multiple virtual machines;
The step of whole resource load information of the monitoring application cluster, includes:
Gather the monomer resource load information of the multiple virtual machine;
The whole resource load information of application cluster is calculated using the monomer resource load information.
4. according to the method described in claim 2, it is characterized in that, described is that the step of application cluster adds example is wrapped It includes:
To destination server application virtual machine;
The image file applied in the application cluster is obtained in preset container mirrored center;
The image file is disposed in the virtual machine;
When deployment success, start the example for being deployed in the virtual machine.
5. according to the method described in claim 2, it is characterized in that, described take the example access application cluster The step of business, includes:
Flow is cut the example by equally loaded to handle.
6. according to the method described in Claims 2 or 3 or 4 or 5, which is characterized in that start newly for the application cluster described Application the step of after, the method further includes:
When the whole resource load information meets default pre- dilatation release conditions, the resource that the example occupies is discharged.
7. according to the method described in claim 6, it is characterized in that, the release example occupy resource the step of wrap It includes:
The virtual machine for disposing the example is closed.
8. a kind of flash chamber of application cluster, which is characterized in that including:
Resource load information monitoring module, for monitoring the whole resource load information of application cluster;
Pre-expansion molar block, for being the application collection when the whole resource load information meets default pre- dilatation condition Group's addition example;
Dilatation module, for when the whole resource load information meets default dilatation condition, the example to be accessed institute Application cluster is stated to be serviced.
9. device according to claim 8, which is characterized in that the application cluster deployment is on multiple virtual machines;
The resource load information monitoring module includes:
Monomer resource load information gathers submodule, for gathering the monomer resource load information of the multiple virtual machine;
Whole resource load information computational submodule, for calculating the entirety of application cluster using the monomer resource load information Resource load information.
10. device according to claim 8, which is characterized in that the pre-expansion molar block includes:
Virtual machine application submodule, for destination server application virtual machine;
Image file acquisition submodule, for obtaining the mirror image applied in the application cluster in preset container mirrored center File;
Image file disposes submodule, for disposing the image file in the virtual machine;
Example promoter module, in deployment success, starting the example for being deployed in the virtual machine.
CN201610987442.9A 2016-11-09 2016-11-09 A kind of expansion method of application cluster, device and system Pending CN108076082A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610987442.9A CN108076082A (en) 2016-11-09 2016-11-09 A kind of expansion method of application cluster, device and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610987442.9A CN108076082A (en) 2016-11-09 2016-11-09 A kind of expansion method of application cluster, device and system

Publications (1)

Publication Number Publication Date
CN108076082A true CN108076082A (en) 2018-05-25

Family

ID=62153342

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610987442.9A Pending CN108076082A (en) 2016-11-09 2016-11-09 A kind of expansion method of application cluster, device and system

Country Status (1)

Country Link
CN (1) CN108076082A (en)

Cited By (27)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108984289A (en) * 2018-07-19 2018-12-11 北京车联天下信息技术有限公司 Priority control method, device and car networking service platform
CN109032805A (en) * 2018-08-06 2018-12-18 深圳乐信软件技术有限公司 A kind of scalable appearance method, apparatus of elasticity, server and storage medium
CN109032788A (en) * 2018-06-29 2018-12-18 北京百度网讯科技有限公司 Reserved resource pool dynamic dispatching method, device, computer equipment and storage medium
CN109067840A (en) * 2018-06-29 2018-12-21 优刻得科技股份有限公司 Method, system and the storage medium of artificial intelligence online service
CN109634747A (en) * 2018-12-12 2019-04-16 平安科技(深圳)有限公司 Resource capacity expansion method, apparatus, computer equipment and storage medium based on Saltstack
CN109976917A (en) * 2019-04-08 2019-07-05 科大讯飞股份有限公司 A kind of load dispatching method, device, load dispatcher, storage medium and system
CN110995856A (en) * 2019-12-16 2020-04-10 上海米哈游天命科技有限公司 Method, device and equipment for server expansion and storage medium
CN111327663A (en) * 2018-12-17 2020-06-23 中国移动通信集团青海有限公司 Bastion machine distribution method and equipment
CN111625251A (en) * 2020-04-23 2020-09-04 北京城市网邻信息技术有限公司 Method and device for processing application instance
CN111625195A (en) * 2020-05-26 2020-09-04 北京百度网讯科技有限公司 Method and device for server capacity expansion
CN111737083A (en) * 2020-06-22 2020-10-02 中国银行股份有限公司 VMware cluster resource monitoring method and device
CN111782147A (en) * 2020-06-30 2020-10-16 北京百度网讯科技有限公司 Method and apparatus for cluster scale-up
CN112463372A (en) * 2020-11-23 2021-03-09 中国建设银行股份有限公司 Target system capacity expansion method, device, equipment and storage medium
CN112738189A (en) * 2020-12-24 2021-04-30 航天信息股份有限公司 Cluster resource management method and device, storage medium and electronic equipment
CN112764825A (en) * 2020-12-30 2021-05-07 望海康信(北京)科技股份公司 Service integration system, corresponding device and storage medium
CN112905336A (en) * 2021-02-04 2021-06-04 深圳融安网络科技有限公司 Data acquisition method, device, equipment and storage medium
CN113051025A (en) * 2019-12-27 2021-06-29 阿里巴巴集团控股有限公司 Container cluster resource management method, device and equipment
CN113064696A (en) * 2021-03-25 2021-07-02 网易(杭州)网络有限公司 Cluster system capacity expansion method, device and medium
WO2021143702A1 (en) * 2020-01-14 2021-07-22 阿里巴巴集团控股有限公司 Traffic distribution method, device and system, and storage medium
CN113296880A (en) * 2020-10-30 2021-08-24 阿里巴巴集团控股有限公司 Container-based application management method and device
CN113656162A (en) * 2021-08-18 2021-11-16 恒生电子股份有限公司 Resource application method and device, electronic equipment and storage medium
CN113811013A (en) * 2021-09-10 2021-12-17 阿里巴巴达摩院(杭州)科技有限公司 Cluster capacity dynamic regulation method, device, storage medium and communication system
CN114356557A (en) * 2021-12-16 2022-04-15 北京穿杨科技有限公司 Cluster capacity expansion method and device
CN114584375A (en) * 2022-03-04 2022-06-03 深圳市技湛科技有限公司 Security protection method and device for streaming media system, platform equipment and storage medium
CN114615340A (en) * 2022-03-08 2022-06-10 北京字节跳动网络技术有限公司 Request processing method and device, computer equipment and storage device
US11811676B2 (en) 2022-03-30 2023-11-07 International Business Machines Corporation Proactive auto-scaling
CN113051025B (en) * 2019-12-27 2024-05-31 阿里巴巴集团控股有限公司 Container cluster resource management method, device and equipment

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102646062A (en) * 2012-03-20 2012-08-22 广东电子工业研究院有限公司 Flexible capacity enlargement method for cloud computing platform based application clusters
US20130104126A1 (en) * 2011-10-24 2013-04-25 Infosys Limited System and method for dynamically creating machine images for instantiating virtual machines
CN103533063A (en) * 2013-10-18 2014-01-22 北京华胜天成科技股份有限公司 Method and device capable of realizing dynamic expansion of WEB (World Wide Web) application resource
US20140123135A1 (en) * 2012-10-28 2014-05-01 Citrix Systems, Inc. Network offering in cloud computing environment
CN103810020A (en) * 2014-02-14 2014-05-21 华为技术有限公司 Virtual machine elastic scaling method and device
CN103957237A (en) * 2014-04-03 2014-07-30 华南理工大学 Architecture of elastic cloud
CN104836819A (en) * 2014-02-10 2015-08-12 阿里巴巴集团控股有限公司 Dynamic load balancing method and system, and monitoring and dispatching device
CN105141691A (en) * 2015-09-02 2015-12-09 浪潮集团有限公司 System and method for automatically expanding virtual machine cluster under cloud computing

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130104126A1 (en) * 2011-10-24 2013-04-25 Infosys Limited System and method for dynamically creating machine images for instantiating virtual machines
CN102646062A (en) * 2012-03-20 2012-08-22 广东电子工业研究院有限公司 Flexible capacity enlargement method for cloud computing platform based application clusters
US20140123135A1 (en) * 2012-10-28 2014-05-01 Citrix Systems, Inc. Network offering in cloud computing environment
CN103533063A (en) * 2013-10-18 2014-01-22 北京华胜天成科技股份有限公司 Method and device capable of realizing dynamic expansion of WEB (World Wide Web) application resource
CN104836819A (en) * 2014-02-10 2015-08-12 阿里巴巴集团控股有限公司 Dynamic load balancing method and system, and monitoring and dispatching device
CN103810020A (en) * 2014-02-14 2014-05-21 华为技术有限公司 Virtual machine elastic scaling method and device
CN103957237A (en) * 2014-04-03 2014-07-30 华南理工大学 Architecture of elastic cloud
CN105141691A (en) * 2015-09-02 2015-12-09 浪潮集团有限公司 System and method for automatically expanding virtual machine cluster under cloud computing

Cited By (34)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109032788A (en) * 2018-06-29 2018-12-18 北京百度网讯科技有限公司 Reserved resource pool dynamic dispatching method, device, computer equipment and storage medium
CN109067840A (en) * 2018-06-29 2018-12-21 优刻得科技股份有限公司 Method, system and the storage medium of artificial intelligence online service
CN108984289A (en) * 2018-07-19 2018-12-11 北京车联天下信息技术有限公司 Priority control method, device and car networking service platform
CN109032805A (en) * 2018-08-06 2018-12-18 深圳乐信软件技术有限公司 A kind of scalable appearance method, apparatus of elasticity, server and storage medium
CN109634747A (en) * 2018-12-12 2019-04-16 平安科技(深圳)有限公司 Resource capacity expansion method, apparatus, computer equipment and storage medium based on Saltstack
CN111327663A (en) * 2018-12-17 2020-06-23 中国移动通信集团青海有限公司 Bastion machine distribution method and equipment
CN109976917A (en) * 2019-04-08 2019-07-05 科大讯飞股份有限公司 A kind of load dispatching method, device, load dispatcher, storage medium and system
CN110995856A (en) * 2019-12-16 2020-04-10 上海米哈游天命科技有限公司 Method, device and equipment for server expansion and storage medium
CN110995856B (en) * 2019-12-16 2022-09-13 上海米哈游天命科技有限公司 Method, device and equipment for server expansion and storage medium
CN113051025A (en) * 2019-12-27 2021-06-29 阿里巴巴集团控股有限公司 Container cluster resource management method, device and equipment
CN113051025B (en) * 2019-12-27 2024-05-31 阿里巴巴集团控股有限公司 Container cluster resource management method, device and equipment
WO2021143702A1 (en) * 2020-01-14 2021-07-22 阿里巴巴集团控股有限公司 Traffic distribution method, device and system, and storage medium
CN111625251A (en) * 2020-04-23 2020-09-04 北京城市网邻信息技术有限公司 Method and device for processing application instance
CN111625251B (en) * 2020-04-23 2023-07-21 北京城市网邻信息技术有限公司 Method and device for processing application instance
CN111625195A (en) * 2020-05-26 2020-09-04 北京百度网讯科技有限公司 Method and device for server capacity expansion
CN111625195B (en) * 2020-05-26 2023-11-07 北京百度网讯科技有限公司 Method and device for server capacity expansion
CN111737083A (en) * 2020-06-22 2020-10-02 中国银行股份有限公司 VMware cluster resource monitoring method and device
CN111782147A (en) * 2020-06-30 2020-10-16 北京百度网讯科技有限公司 Method and apparatus for cluster scale-up
CN113296880A (en) * 2020-10-30 2021-08-24 阿里巴巴集团控股有限公司 Container-based application management method and device
CN112463372A (en) * 2020-11-23 2021-03-09 中国建设银行股份有限公司 Target system capacity expansion method, device, equipment and storage medium
CN112738189A (en) * 2020-12-24 2021-04-30 航天信息股份有限公司 Cluster resource management method and device, storage medium and electronic equipment
CN112764825A (en) * 2020-12-30 2021-05-07 望海康信(北京)科技股份公司 Service integration system, corresponding device and storage medium
CN112764825B (en) * 2020-12-30 2023-12-29 望海康信(北京)科技股份公司 Service integration system, corresponding device and storage medium
CN112905336A (en) * 2021-02-04 2021-06-04 深圳融安网络科技有限公司 Data acquisition method, device, equipment and storage medium
CN113064696A (en) * 2021-03-25 2021-07-02 网易(杭州)网络有限公司 Cluster system capacity expansion method, device and medium
CN113656162A (en) * 2021-08-18 2021-11-16 恒生电子股份有限公司 Resource application method and device, electronic equipment and storage medium
CN113811013A (en) * 2021-09-10 2021-12-17 阿里巴巴达摩院(杭州)科技有限公司 Cluster capacity dynamic regulation method, device, storage medium and communication system
CN113811013B (en) * 2021-09-10 2023-11-10 阿里巴巴达摩院(杭州)科技有限公司 Cluster capacity dynamic adjustment method, device, storage medium and communication system
CN114356557A (en) * 2021-12-16 2022-04-15 北京穿杨科技有限公司 Cluster capacity expansion method and device
CN114356557B (en) * 2021-12-16 2022-11-25 北京穿杨科技有限公司 Cluster capacity expansion method and device
CN114584375A (en) * 2022-03-04 2022-06-03 深圳市技湛科技有限公司 Security protection method and device for streaming media system, platform equipment and storage medium
CN114615340B (en) * 2022-03-08 2023-10-20 抖音视界有限公司 Request processing method and device, computer equipment and storage device
CN114615340A (en) * 2022-03-08 2022-06-10 北京字节跳动网络技术有限公司 Request processing method and device, computer equipment and storage device
US11811676B2 (en) 2022-03-30 2023-11-07 International Business Machines Corporation Proactive auto-scaling

Similar Documents

Publication Publication Date Title
CN108076082A (en) A kind of expansion method of application cluster, device and system
CN108023742A (en) A kind of expansion method of application, device and system
CN111344668B (en) Dynamic selection of deployment configuration for software applications
US10693759B2 (en) Dynamic network monitoring
US11706712B2 (en) Elastic resource control in a container orchestration environment
US20180101408A1 (en) Node selection for a new application in a multi-tenant cloud hosting environment
EP3438899A1 (en) Using machine learning to make network management decisions
US9317325B2 (en) Application idling in a multi-tenant cloud-based application hosting environment
US9329888B2 (en) Computing optimized virtual machine allocations using equivalence combinations
CN105468362A (en) Application deployment method and cloud computing system
Téllez et al. A tabu search method for load balancing in fog computing
WO2013009665A1 (en) Application resource manager over a cloud
CN111064781A (en) Multi-container cluster monitoring data acquisition method and device and electronic equipment
JP2021504780A (en) Application Prioritization for Automatic Diagonal Scaling in a Distributed Computing Environment
Abdullah et al. A heuristic-based approach for dynamic VMs consolidation in cloud data centers
CN109960579B (en) Method and device for adjusting service container
Garg et al. Power and resource-aware VM placement in cloud environment
Shalu et al. Artificial neural network-based virtual machine allocation in cloud computing
ur Rehman et al. Decision-making framework for user-based inter-cloud service migration
Li et al. Research on energy‐saving virtual machine migration algorithm for green data center
CN114035947A (en) Method, device, equipment and system for dynamically allocating resources
US10812407B2 (en) Automatic diagonal scaling of workloads in a distributed computing environment
Chinnaiah et al. A cloud resource allocation strategy based on fitness based live migration and clustering
CN118056183A (en) Optimizing just-in-time compilation processes
Kim et al. Study on proactive auto scaling for instance through the prediction of network traffic on the container environment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 1255819

Country of ref document: HK

RJ01 Rejection of invention patent application after publication

Application publication date: 20180525

RJ01 Rejection of invention patent application after publication