Service preheating methods, equipment, media and products
By obtaining service preheating rules and resource information, and using the preheating control model to control the upper flow limit, the problem of improper change speed of the upper flow limit during the service preheating process is solved, fast and stable service preheating is achieved, and the preheating time is reduced. Resource shock.
Patent Information
- Application Number
- CN202210494586.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-05-07
- Publication Date
- 2025-01-03
- Estimated Expiration
- 2042-05-07
AI Technical Summary
In the prior art, during the service preheating process, the upper flow limit rises too slowly or too fast, which causes the service to take a long time from start to normal operation or the preheating effect is poor, which cannot effectively reduce the impact of traffic on the service and cannot ensure that it is not possible. On the premise of effectively reducing the flow impact, try to minimize the time taken by the preheating process.
By obtaining service preheating rule information and resource information, obtaining preheating control information, using the pre-trained target preheating control model, control the changes in the upper flow limit based on the resource status and preheating rules of the service instance to ensure that the preheating process complies with the rules , reduce preheating time and avoid resource shocks.
It realizes that on the premise of effectively reducing the impact of flow, the time occupied by the preheating process should be minimized as much as possible, and the service stability, low resource load and short preheating time should be ensured.
Smart Images

Figure CN114785760B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of network technology, and in particular to a service preheating method, device, medium and product. Background Art
[0002] With the continuous development of computer technology, in recent years, the software architecture of related services has also been evolving towards microservices, so that the functional units of related services are extracted and isolated according to the standards of independent deployment and release, so as to improve the reliability of related services and reduce the difficulty of managing related services. In practical applications, considering that if a large amount of real online traffic is introduced instantly to a newly started service, it may cause the service to respond too slowly under the impact of large traffic, which may lead to a large number of request blocking, and even cause the node carrying the service to crash, resulting in a decrease in the reliability of the service. Therefore, for the newly started service, a small amount of traffic can be used for preheating, that is, the upper limit of the service traffic is limited when it is just started to improve the stability of the service.
[0003] In the above scheme, although using a small flow rate to preheat the newly started service can effectively improve the stability of the service, during the preheating process, the service flow rate limit continues to rise until it reaches the flow rate limit when the service is working normally. If the flow rate limit rises too slowly and the preheating process takes too long, it may cause the service to take a long time from startup to normal operation, reducing the efficiency of the service; if the preheating process takes too short a time and the flow rate limit rises too quickly, it may not be able to effectively reduce the impact of the flow on the service, resulting in a poor preheating effect. Therefore, in the relevant technology, it is impossible to ensure that the time taken by the preheating process is minimized while effectively reducing the impact of the flow. Summary of the invention
[0004] In order to solve the problems in the related art, the embodiments of the present disclosure provide a service preheating method, device, medium and product.
[0005] In a first aspect, an embodiment of the present disclosure provides a service preheating method, which is applied to a service preheating control terminal, and includes:
[0006] Obtaining service preheating rule information corresponding to at least one service instance to be preheated, and receiving service instance resource information corresponding to at least one service instance to be preheated, the service preheating rule information being used to indicate a rule of a preheating process of the corresponding service instance, and the service instance resource information being used to indicate a resource state of resources corresponding to the corresponding service instance on a node that carries the corresponding service instance before the preheating process;
[0007] Acquire preheating control information corresponding to at least one service instance to be preheated according to the service preheating rule information and the service instance resource information, where the preheating control information is used to indicate a corresponding relationship between a corresponding service instance and a traffic upper limit at different times during the preheating process;
[0008] Send preheat control information.
[0009] In one implementation of the present disclosure, the service preheating rule information includes at least one of service instance batch information, service instance startup information and batch interval information. The service instance batch information is used to indicate the correspondence between the corresponding service instance and the preheating batch during the preheating process. The service instance startup information is used to indicate the correspondence between the corresponding service instance and the startup duration. The batch interval information is used to indicate the duration of the interval between at least two preheating batches during the preheating process.
[0010] In one implementation of the present disclosure, the resource status includes at least one of processor occupancy, processor occupancy, bandwidth occupancy, bandwidth occupancy, memory occupancy, memory occupancy, disk space occupancy, disk space occupancy, and query rate per second.
[0011] In an implementation of the present disclosure, obtaining preheating control information according to service preheating rule information and service instance resource information includes:
[0012] A pre-trained target preheating control model is obtained, and service preheating rule information and service instance resource information are used as inputs, and input into the target preheating control model to obtain output preheating control information.
[0013] In an implementation of the present disclosure, before obtaining service preheating rule information and receiving service instance resource information, the method further includes:
[0014] Acquire preheating history data, where the preheating history data includes service preheating rule information, service instance resource information, preheating control information, and preheating effect information corresponding to at least one preheated service instance, where the preheating effect information is used to indicate the resource status of resources corresponding to the corresponding service instance on the node carrying the corresponding service instance at different times during the preheating process, as well as the duration of the preheating process;
[0015] Determining target preheating historical data whose preheating effect information satisfies target preheating effect requirements in the preheating historical data;
[0016] A preheating control model is obtained, and service preheating rule information and service instance resource information in the target preheating historical data are taken as input, and preheating control information in the target preheating historical data is taken as output, and the preheating control model is trained to obtain the target preheating control model.
[0017] In a second aspect, an embodiment of the present disclosure provides a service preheating method, wherein the method is applied to a service preheating execution end, and the method includes:
[0018] Collecting service instance resource information and sending the service instance resource information, where the service instance resource information is used to indicate the resource status of resources corresponding to the service instance on the node used to host the service instance;
[0019] Receive preheating control information, and control the flow upper limit of the preheating service instance according to the preheating control information and the current time.
[0020] In one implementation of the present disclosure, the resource status includes at least one of processor occupancy, processor occupancy, bandwidth occupancy, bandwidth occupancy, memory occupancy, memory occupancy, disk space occupancy, disk space occupancy, and query rate per second.
[0021] In a third aspect, an embodiment of the present disclosure provides a service preheating device, the device comprising:
[0022] A rule information acquisition module is configured to acquire service preheating rule information corresponding to at least one service instance to be preheated, and receive service instance resource information corresponding to at least one service instance to be preheated, wherein the service preheating rule information is used to indicate a rule of a preheating process of the corresponding service instance, and the service instance resource information is used to indicate a resource state of a resource corresponding to the corresponding service instance on a node that carries the corresponding service instance before the preheating process;
[0023] A control information acquisition module is configured to acquire preheating control information corresponding to at least one service instance to be preheated according to the service preheating rule information and the service instance resource information, wherein the preheating control information is used to indicate a corresponding relationship between the corresponding service instance and the traffic upper limit at different times during the preheating process;
[0024] The control information sending module is configured to send preheating control information.
[0025] In a fourth aspect, an embodiment of the present disclosure provides a service preheating device, the device comprising:
[0026] A resource information sending module is configured to collect service instance resource information and send the service instance resource information, where the service instance resource information is used to indicate the resource status of resources corresponding to the service instance on the node used to carry the service instance;
[0027] The preheating control module is configured to receive preheating control information and control the flow upper limit of the preheated service instance according to the preheating control information and the current moment.
[0028] In a fifth aspect, an electronic device is provided in an embodiment of the present disclosure, comprising a memory and at least one processor; the memory is used to store one or more computer instructions, and the one or more computer instructions are executed by at least one processor to implement the method steps described in any one of the first aspect, any implementation manner of the first aspect, the second aspect, and any implementation manner of the second aspect.
[0029] In the sixth aspect, a computer-readable storage medium is provided in an embodiment of the present disclosure, on which computer instructions are stored. When the computer instructions are executed by a processor, the method steps described in any one of the first aspect, any one of the implementations of the first aspect, the second aspect, and any one of the implementations of the second aspect are implemented.
[0030] In the seventh aspect, a computer program product is provided in an embodiment of the present disclosure, comprising computer instructions, which, when executed by a processor, implement the method steps described in any one of the first aspect, any one of the implementations of the first aspect, the second aspect, and any one of the implementations of the second aspect.
[0031] The technical solution provided by the embodiments of the present disclosure may have the following beneficial effects:
[0032] According to the technical solution provided by the embodiment of the present disclosure, by obtaining service preheating rule information corresponding to at least one service instance to be preheated, and receiving service instance resource information corresponding to at least one service instance to be preheated, the preheating control information corresponding to at least one service instance to be preheated is obtained according to the service preheating rule information and the service instance resource information, and the preheating control information is sent. Among them, since the service preheating rule information is used to indicate the rules of the preheating process of the corresponding service instance, and the service instance resource information is used to indicate the resource status of the resources corresponding to the corresponding service instance on the node used to carry the corresponding service instance before the preheating process, the preheating control information obtained according to the service preheating rule information and the service instance resource information indicates that the flow limit of the corresponding service instance at different times during the preheating process can meet the rules of the preheating process, thereby minimizing the time occupied by the preheating, and at the same time, it will not cause a large impact on the resources of the node used to carry the corresponding service instance, so that the time occupied by the preheating process can be minimized under the premise of effectively reducing the impact caused by the flow.
[0033] According to the technical solution provided by the embodiment of the present disclosure, by limiting the service preheating rule information to include at least one of the service instance batch information, service instance startup information and batch interval information, the rules of the preheating process of the corresponding service instance can be refined, thereby facilitating accurate control of the rules of the preheating process of the service instance.
[0034] According to the technical solution provided in the embodiment of the present disclosure, by limiting the resource status to include at least one of processor occupancy, processor occupancy, bandwidth occupancy, bandwidth occupancy, memory occupancy, memory occupancy, disk space occupancy, disk space occupancy, and query rate per second, it can be ensured that the resource status of the hardware on the corresponding node can be more clearly known based on the resource status.
[0035] According to the technical solution provided by the embodiment of the present disclosure, by obtaining a pre-trained target preheating control model, taking service preheating rule information and service instance resource information as input, and inputting the target preheating control model to obtain output preheating control information, it can be ensured that the accuracy of the obtained preheating control information is high.
[0036] According to the technical solution provided by the embodiment of the present disclosure, by acquiring preheating history data, and determining in the preheating history data the target preheating history data in which the preheating effect information meets the target preheating effect requirements, a preheating control model is acquired, and the service preheating rule information and the service instance resource information in the target preheating history data are used as input, and the preheating control information in the target preheating history data is used as output, and the preheating control model is trained to acquire the target preheating control model, so as to ensure that the target preheating control model is a preheating process that learns the service preheating rule information, the service instance resource information and the preheating control information corresponding to the preheating process that meets the target preheating effect requirements. A rule is formed, wherein, since in the preheating process that meets the target preheating effect requirements, the resource state of the resource corresponding to the corresponding service instance on the node carrying the corresponding service instance is in a state of low load, and / or the resource state is in a state of high stability, and the duration of the preheating process is short, when the service instance is preheated according to the preheating control information output by the target preheating control model, the preheating process can meet the service preheating rule information input into the target preheating control model, and will not cause a high burden on the resource corresponding to the service instance on the node carrying the service instance, and / or make the corresponding resource more stable, and the preheating time is short.
[0037] According to the technical solution provided by the embodiment of the present disclosure, by collecting service instance resource information and sending the service instance resource information, the service preheating control terminal can obtain the preheating control information corresponding to at least one service instance to be preheated according to the service preheating rule information and the service instance resource information, thereby receiving the preheating control information sent by the service preheating control terminal, and controlling the flow limit of the preheated service instance according to the preheating control information and the current moment. Among them, since the service preheating rule information is used to indicate the rules of the preheating process of the corresponding service instance, and the service instance resource information is used to indicate the resource status of the resources corresponding to the corresponding service instance on the node used to carry the corresponding service instance before the preheating process, the preheating control information obtained according to the service preheating rule information and the service instance resource information indicates that the flow limit of the corresponding service instance at different moments in the preheating process can meet the rules of the preheating process, thereby minimizing the time occupied by the preheating, and at the same time, it will not cause a large impact on the resources of the node used to carry the corresponding service instance, so that the time occupied by the preheating process can be minimized under the premise of effectively reducing the impact caused by the flow.
[0038] According to the technical solution provided in the embodiment of the present disclosure, by limiting the resource status to include at least one of processor occupancy, processor occupancy, bandwidth occupancy, bandwidth occupancy, memory occupancy, memory occupancy, disk space occupancy, disk space occupancy, and query rate per second, it can be ensured that the resource status of the hardware on the corresponding node can be more clearly known based on the resource status.
[0039] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] Other features, objectives and advantages of the present disclosure will become more apparent through the following detailed description of non-limiting embodiments in conjunction with the accompanying drawings. In the accompanying drawings:
[0041] Figure 1 A schematic structural diagram of a service preheating system according to an embodiment of the present disclosure is shown.
[0042] Figure 2 A flow chart of a service preheating method according to an embodiment of the present disclosure is shown.
[0043] Figure 3 A flow chart of a service preheating method according to an embodiment of the present disclosure is shown.
[0044] Figure 4 A schematic block diagram showing a service preheating system according to an embodiment of the present disclosure
[0045] Figure 5A structural block diagram of a service preheating device according to an embodiment of the present disclosure is shown.
[0046] Figure 6 A structural block diagram of a service preheating device according to an embodiment of the present disclosure is shown.
[0047] Figure 7 A structural block diagram of an electronic device according to an embodiment of the present disclosure is shown.
[0048] Figure 8 It is a schematic diagram of the structure of a computer system suitable for implementing a method according to an embodiment of the present disclosure. DETAILED DESCRIPTION
[0049] Hereinafter, exemplary embodiments of the present disclosure will be described in detail with reference to the accompanying drawings so that those skilled in the art can easily implement them. In addition, for the sake of clarity, parts not related to the description of the exemplary embodiments are omitted in the accompanying drawings.
[0050] In the present disclosure, it should be understood that terms such as "include" or "have" are intended to indicate the presence of labels, numbers, steps, behaviors, components, parts, or combinations thereof disclosed in the present specification, and are not intended to exclude the possibility that one or more other labels, numbers, steps, behaviors, components, parts, or combinations thereof exist or are added.
[0051] It should also be noted that, in the absence of conflict, the embodiments and labels in the embodiments of the present disclosure can be combined with each other. The present disclosure will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.
[0052] In order to preheat the service, the inventors of the present disclosure have considered the following solutions.
[0053] Based on the pre-set duration of the preheating process and the traffic limit of the service to be started when it is working normally, the traffic limit of the service at the start of the preheating process is 0, and the traffic limit of the service at the end of the preheating process is the traffic limit of the service when it is working normally. The traffic limit of the service at different times during the preheating process is calculated to ensure that the traffic limit of the service can increase at a uniform rate during the preheating process.
[0054] Disadvantages of this solution: In the above solution, although the stability of the preheated service can be effectively improved, since the preheating process duration is often set manually, if the preheating process duration is set to be long, it may cause the service to take a long time from startup to normal operation, reducing the service efficiency; if the preheating process duration is set to be short, it may cause the traffic limit to rise too fast, thereby failing to effectively reduce the impact of traffic on the service, resulting in poor preheating effect. Therefore, the above solution cannot ensure that the time taken by the preheating process is minimized while effectively reducing the impact of traffic.
[0055] Considering the shortcomings of the above schemes, the inventors of the present disclosure have proposed a new scheme: the scheme obtains service preheating rule information corresponding to at least one service instance to be preheated, receives service instance resource information corresponding to at least one service instance to be preheated, obtains preheating control information corresponding to at least one service instance to be preheated according to the service preheating rule information and the service instance resource information, and sends the preheating control information. Among them, since the service preheating rule information is used to indicate the rules of the preheating process of the corresponding service instance, and the service instance resource information is used to indicate the resource status of the resources corresponding to the corresponding service instance on the node used to carry the corresponding service instance before the preheating process, the preheating control information obtained according to the service preheating rule information and the service instance resource information indicates that the flow limit of the corresponding service instance at different times during the preheating process can meet the rules of the preheating process, thereby minimizing the time occupied by the preheating, and at the same time, it will not cause a large impact on the resources of the node used to carry the corresponding service instance, so that the time occupied by the preheating process can be minimized under the premise of effectively reducing the impact caused by the flow.
[0056] Specifically, the present disclosure proposes a service preheating method, equipment, medium and product.
[0057] Figure 1 A schematic structural diagram of a service preheating system according to an embodiment of the present disclosure is shown as follows: Figure 1 As shown, the service preheating system includes a service preheating control terminal 101 and a service preheating execution terminal 102 .
[0058] Among them, the service preheating control terminal 101 and the service preheating execution terminal 102
[0059] In some embodiments, the service preheating control terminal 101 and the service preheating execution terminal 102 may be virtual machines or physical machines. In some embodiments, the service preheating control terminal 101 may be local or remote relative to the service preheating execution terminal 102. For example, the service preheating control terminal 101 may exchange information and / or data with the user-side service preheating execution terminal 102 via a network.
[0060] It should be noted that the physical machine in the above embodiment can be understood as the name of the physical computer relative to the virtual machine. The physical machine can provide a hardware environment for the virtual machine. Exemplarily, the physical machine may include a mobile device, a tablet computer, a laptop computer, or a built-in device in a motor vehicle, or any combination thereof; in some embodiments, the mobile device may include a smart home device, a wearable device, a smart mobile device, a virtual reality device, or an augmented reality device, or any combination thereof; in some embodiments, the smart mobile device may include a smart phone, a personal digital assistant (PDA), a gaming device, a navigation device, or a point of sale (POS) device, or any combination thereof.
[0061] The virtual machines in the above embodiments can be understood as virtualization layers running on virtualization platforms. Exemplarily, in a cloud computing platform, a virtual machine can be one or more independent hosts (i.e., cloud hosts) or one or more independent servers (i.e., cloud servers) divided on a cluster server by the virtualization technology; in other virtualization systems or platforms, a virtual machine can be one or more virtual hosts implemented by the virtualization technology on one or more physical hosts, or can be one or more virtual dedicated servers implemented by the virtualization technology on one or more physical servers. Among them, cloud computing platforms can include private clouds, public clouds, hybrid clouds, community clouds, distributed clouds, inter-clouds, multi-clouds, etc., or any combination thereof.
[0062] The network in the above-mentioned embodiments can be used for the exchange of information and / or data. In some embodiments, the network can be any type of wired or wireless network, or a combination thereof. As an example only, the network can include a wired network, a wireless network, an optical fiber network, a telecommunication network, an intranet, the Internet, a local area network (LAN), a wide area network (WAN), a wireless local area network (WLAN), a metropolitan area network (MAN), a wide area network (WAN), a public switched telephone network (PSTN), a Bluetooth network, a ZigBee network, or a near field communication (NFC) network, or any combination thereof.
[0063] Figure 2 A flow chart of a service preheating method according to an embodiment of the present disclosure is shown. The method is applied to a service preheating control terminal, such as Figure 2 As shown, the service preheating method includes steps S101-S103.
[0064] In step S101, service preheating rule information corresponding to at least one service instance to be preheated is obtained, and service instance resource information corresponding to at least one service instance to be preheated is received.
[0065] Among them, the service preheating rule information is used to indicate the rules of the preheating process of the corresponding service instance, and the service instance resource information is used to indicate the resource status of the resources corresponding to the corresponding service instance on the node used to carry the corresponding service instance before the preheating process.
[0066] In step S102, preheating control information corresponding to at least one service instance to be preheated is obtained according to the service preheating rule information and the service instance resource information.
[0067] The preheating control information is used to indicate the corresponding relationship between the corresponding service instance and the traffic upper limit at different times during the preheating process.
[0068] In step S103, preheating control information is sent.
[0069] In one embodiment of the present disclosure, a service instance can be understood as a functional module carried by a node for providing a corresponding service. Among them, a service can be understood as corresponding to the specific function of an application. Exemplarily, when the application is a payment application, functions such as scanning, transferring, and withdrawing cash can be understood as services under the application. In actual deployment, a service often corresponds to multiple service instances, wherein multiple service instances can be completely equivalent, that is, one service instance can completely replace another service instance. A node can be understood as a device that carries corresponding data and applications and has data processing functions. Nodes may include but are not limited to personal computers (PCs), tablet computers, laptops, mobile communication terminals, wearable devices, voice interaction devices, and servers. Among them, a server can be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a server in a cloud computing system for providing cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (CDNs), and at least one of the services in big data and artificial intelligence platforms.
[0070] In one embodiment of the present disclosure, obtaining service preheating rule information can be understood as receiving service preheating rule information sent by a user terminal, or can be understood as reading service preheating rule information stored in advance from a database. The user can input the service preheating rule information through a human-computer interaction device of the user terminal, such as a keyboard, a mouse, a microphone, etc.
[0071] In one embodiment of the present disclosure, receiving service instance resource information can be understood as receiving service instance resource information sent by the service preheating execution end, or can be understood as receiving service instance resource information forwarded by other devices or systems. The service preheating execution end can detect the node carrying the corresponding service instance to obtain the resource status of the resource corresponding to the corresponding service instance on the node.
[0072] In one embodiment of the present disclosure, the resources on a node corresponding to the corresponding service instance can be understood as all or part of the resources on the node used to support the operation of the corresponding service instance, wherein the resources can be understood as hardware resources or software resources. Exemplarily, when a node carries a service instance, that is, the node has a one-to-one correspondence with the service instance carried by the node, all resources on the node can be understood as resources corresponding to the service instance carried by the node; when the node carries two service instances, and the node includes two resource units that can independently support the operation of the service instances, the resources in one resource unit on the node can be understood as resources corresponding to one of the two service instances, and the resources in another resource unit on the node can be understood as resources corresponding to the other of the two service instances.
[0073] In an implementation of the present disclosure, the resource status may be understood as an indication of the degree to which a corresponding resource is occupied, or may be understood as the ability of a corresponding resource to support the operation of a corresponding service instance.
[0074] In one embodiment of the present disclosure, preheating control information corresponding to at least one service instance to be preheated is obtained based on service preheating rule information and service instance resource information. This can be understood as substituting the service preheating rule information and service instance resource information into a preheating control algorithm obtained in advance for calculation to obtain the preheating control information corresponding to at least one service instance to be preheated. It can also be understood as sending the service preheating rule information and service instance resource information to other devices or systems, and receiving the preheating control information corresponding to at least one service instance to be preheated obtained by other devices or systems based on the service preheating rule information and service instance resource information.
[0075] In one embodiment of the present disclosure, in the correspondence between the corresponding service instance and the traffic upper limit at different moments in the preheating process indicated by the preheating control information, the traffic upper limit can be understood as a specific traffic upper limit value, or as a traffic upper limit value ratio with a preset target traffic upper limit value, wherein the target traffic upper limit value can be understood as the upper limit value of the traffic that can be processed by the service instance when it is working normally after the preheating of the service instance is completed. Calculate the flow upper limit ratio f(x), where k is a preset fixed parameter, startTime is the warmup start time, and warmupTime is the preset warmup duration.
[0076] According to the technical solution provided by the embodiment of the present disclosure, by obtaining service preheating rule information corresponding to at least one service instance to be preheated, and receiving service instance resource information corresponding to at least one service instance to be preheated, the preheating control information corresponding to at least one service instance to be preheated is obtained according to the service preheating rule information and the service instance resource information, and the preheating control information is sent. Among them, since the service preheating rule information is used to indicate the rules of the preheating process of the corresponding service instance, and the service instance resource information is used to indicate the resource status of the resources corresponding to the corresponding service instance on the node used to carry the corresponding service instance before the preheating process, the preheating control information obtained according to the service preheating rule information and the service instance resource information indicates that the flow limit of the corresponding service instance at different times during the preheating process can meet the rules of the preheating process, thereby minimizing the time occupied by the preheating, and at the same time, it will not cause a large impact on the resources of the node used to carry the corresponding service instance, so that the time occupied by the preheating process can be minimized under the premise of effectively reducing the impact caused by the flow.
[0077] In one implementation of the present disclosure, the service preheating rule information includes at least one of service instance batch information, service instance startup information, and batch interval information. The service instance batch information is used to indicate the correspondence between the corresponding service instance and the preheating batch during the preheating process. The service instance startup information is used to indicate the correspondence between the corresponding service instance and the startup duration. The batch interval information is used to indicate the duration of the interval between at least two preheating batches during the preheating process.
[0078] In one embodiment of the present disclosure, during the preheating process, different service instances may be preheated in batches at different times, wherein service instances that are preheated at the same time may be understood to belong to the same preheating batch.
[0079] In an implementation of the present disclosure, the startup duration may be understood as the duration from the time when the service instance is triggered to the time when the service instance can work normally.
[0080] According to the technical solution provided by the embodiment of the present disclosure, by limiting the service preheating rule information to include at least one of the service instance batch information, service instance startup information and batch interval information, the rules of the preheating process of the corresponding service instance can be refined, thereby facilitating accurate control of the rules of the preheating process of the service instance.
[0081] In one implementation of the present disclosure, the resource status includes at least one of processor occupancy, processor occupancy, bandwidth occupancy, bandwidth occupancy, memory occupancy, memory occupancy, disk space occupancy, disk space occupancy, and query rate per second.
[0082] According to the technical solution provided in the embodiment of the present disclosure, by limiting the resource status to include at least one of processor occupancy, processor occupancy, bandwidth occupancy, bandwidth occupancy, memory occupancy, memory occupancy, disk space occupancy, disk space occupancy, and query rate per second, it can be ensured that the resource status of the hardware on the corresponding node can be more clearly known based on the resource status.
[0083] In one implementation of the present disclosure, in step S102, obtaining preheating control information according to service preheating rule information and service instance resource information can be implemented by the following steps:
[0084] A pre-trained target preheating control model is obtained, and service preheating rule information and service instance resource information are used as inputs, and input into the target preheating control model to obtain output preheating control information.
[0085] In one embodiment of the present disclosure, the target preheating control model may be a long short-term memory (LSTM) model, a random forest (RF) model, an extreme gradient boosting (xgboost) model, a transformer (Transformer) model, etc. The target preheating control model may be pre-acquired or acquired from other devices or systems.
[0086] According to the technical solution provided by the embodiment of the present disclosure, by obtaining a pre-trained target preheating control model, taking service preheating rule information and service instance resource information as input, and inputting the target preheating control model to obtain output preheating control information, it can be ensured that the accuracy of the obtained preheating control information is high.
[0087] In one implementation of the present disclosure, in step S101, before obtaining service preheating rule information and receiving service instance resource information, the method further includes the following steps:
[0088] Acquire preheating history data, where the preheating history data includes service preheating rule information, service instance resource information, preheating control information, and preheating effect information corresponding to at least one preheated service instance, where the preheating effect information is used to indicate the resource status of resources corresponding to the corresponding service instance on the node carrying the corresponding service instance at different times during the preheating process, as well as the duration of the preheating process;
[0089] Determining target preheating historical data whose preheating effect information satisfies target preheating effect requirements in the preheating historical data;
[0090] A preheating control model is obtained, and service preheating rule information and service instance resource information in the target preheating historical data are taken as input, and preheating control information in the target preheating historical data is taken as output, and the preheating control model is trained to obtain the target preheating control model.
[0091] In one embodiment of the present disclosure, a preheated service instance may be understood as having completed preheating, and the upper limit of the traffic that it can handle is the upper limit of the traffic that the service instance can handle when operating normally.
[0092] In one embodiment of the present disclosure, the target preheating history data that determines the preheating effect information in the preheating history data to meet the target preheating effect requirements can be understood as the duration of the preheating process is less than or equal to the preset duration, and during the preheating process, the resource state of the resource corresponding to the corresponding service instance on the node carrying the corresponding service instance is a low-load state, and / or the resource state is a high-stability state. Exemplarily, the resource state of the resource is a low-load state, which can be understood as at least one of the following: the processor occupancy rate is less than or equal to the target processor occupancy rate, the processor occupancy is less than or equal to the target processor occupancy rate, the bandwidth occupancy rate is less than or equal to the target bandwidth occupancy rate, the bandwidth occupancy rate is less than or equal to the target bandwidth occupancy rate, the memory occupancy rate is less than or equal to the target memory occupancy rate, the memory occupancy rate is less than or equal to the target memory occupancy rate, the disk space occupancy rate is less than or equal to the target disk space occupancy rate, the disk space occupancy rate is less than or equal to the target disk space occupancy rate, and the query rate per second is greater than or equal to the target query rate per second. Among them, when the processor occupancy, processor occupancy, bandwidth occupancy, bandwidth occupancy, memory occupancy, memory occupancy, disk space occupancy, and disk space occupancy are low, the resource status of the corresponding resources is a low load state, and when the query rate per second is high, the resource status of the corresponding resources is a high stability state.
[0093] In one embodiment of the present disclosure, the preheating control model may be a long short-term memory network model, a random forest model, an extreme gradient boosting model, a transformer model, etc. The preheating control model may be pre-acquired or acquired from other devices or systems.
[0094] According to the technical solution provided by the embodiment of the present disclosure, by acquiring preheating history data, and determining in the preheating history data the target preheating history data in which the preheating effect information meets the target preheating effect requirements, a preheating control model is acquired, and the service preheating rule information and the service instance resource information in the target preheating history data are used as input, and the preheating control information in the target preheating history data is used as output, and the preheating control model is trained to acquire the target preheating control model, so as to ensure that the target preheating control model is a preheating process that learns the service preheating rule information, the service instance resource information and the preheating control information corresponding to the preheating process that meets the target preheating effect requirements. A rule is formed, wherein, since in the preheating process that meets the target preheating effect requirements, the resource state of the resource corresponding to the corresponding service instance on the node carrying the corresponding service instance is in a state of low load, and / or the resource state is in a state of high stability, and the duration of the preheating process is short, when the service instance is preheated according to the preheating control information output by the target preheating control model, the preheating process can meet the service preheating rule information input into the target preheating control model, and will not cause a high burden on the resource corresponding to the service instance on the node carrying the service instance, and / or make the corresponding resource more stable, and the preheating time is short.
[0095] Figure 3 A flowchart of a service preheating method according to an embodiment of the present disclosure is shown. The method is applied to a service preheating execution end. Figure 3 As shown, the service preheating method includes steps S201-S202.
[0096] In step S201, service instance resource information is collected and sent.
[0097] The service instance resource information is used to indicate the resource status of resources corresponding to the service instance on the node used to host the service instance.
[0098] In one embodiment of the present disclosure, a service instance can be understood as a functional module carried by a node for providing a corresponding service. Among them, a service can be understood as corresponding to the specific function of an application. Exemplarily, when the application is a payment application, functions such as scanning, transferring, and withdrawing cash can be understood as services under the application. In actual deployment, a service often corresponds to multiple service instances, wherein multiple service instances can be completely equivalent, that is, one service instance can completely replace another service instance. A node can be understood as a device that carries corresponding data and applications and has data processing functions. Nodes may include but are not limited to personal computers (PCs), tablet computers, laptops, mobile communication terminals, wearable devices, voice interaction devices, and servers. Among them, a server may be an independent physical server, or a server cluster or distributed system composed of multiple physical servers, or a server in a cloud computing system for providing cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (CDNs), and at least one of the services in big data and artificial intelligence platforms.
[0099] In one embodiment of the present disclosure, the resources on a node corresponding to the corresponding service instance can be understood as all or part of the resources on the node used to support the operation of the corresponding service instance, wherein the resources can be understood as hardware resources or software resources. Exemplarily, when a node carries a service instance, that is, the node has a one-to-one correspondence with the service instance carried by the node, all resources on the node can be understood as resources corresponding to the service instance carried by the node; when the node carries two service instances, and the node includes two resource units that can independently support the operation of the service instances, the resources in one resource unit on the node can be understood as resources corresponding to one of the two service instances, and the resources in another resource unit on the node can be understood as resources corresponding to the other of the two service instances.
[0100] In an implementation of the present disclosure, the resource status may be understood as an indication of the degree to which a corresponding resource is occupied, or may be understood as the ability of a corresponding resource to support the operation of a corresponding service instance.
[0101] In step S202, preheating control information is received, and the flow upper limit of the preheated service instance is controlled according to the preheating control information and the current moment.
[0102] According to the technical solution provided by the embodiment of the present disclosure, by collecting service instance resource information and sending the service instance resource information, the service preheating control terminal can obtain the preheating control information corresponding to at least one service instance to be preheated according to the service preheating rule information and the service instance resource information, thereby receiving the preheating control information sent by the service preheating control terminal, and controlling the flow limit of the preheated service instance according to the preheating control information and the current moment. Among them, since the service preheating rule information is used to indicate the rules of the preheating process of the corresponding service instance, and the service instance resource information is used to indicate the resource status of the resources corresponding to the corresponding service instance on the node used to carry the corresponding service instance before the preheating process, the preheating control information obtained according to the service preheating rule information and the service instance resource information indicates that the flow limit of the corresponding service instance at different moments in the preheating process can meet the rules of the preheating process, thereby minimizing the time occupied by the preheating, and at the same time, it will not cause a large impact on the resources of the node used to carry the corresponding service instance, so that the time occupied by the preheating process can be minimized under the premise of effectively reducing the impact caused by the flow.
[0103] In one implementation of the present disclosure, the resource status includes at least one of processor occupancy, processor occupancy, bandwidth occupancy, bandwidth occupancy, memory occupancy, memory occupancy, disk space occupancy, disk space occupancy, and query rate per second.
[0104] According to the technical solution provided in the embodiment of the present disclosure, by limiting the resource status to include at least one of processor occupancy, processor occupancy, bandwidth occupancy, bandwidth occupancy, memory occupancy, memory occupancy, disk space occupancy, disk space occupancy, and query rate per second, it can be ensured that the resource status of the hardware on the corresponding node can be more clearly known based on the resource status.
[0105] Figure 4 A schematic block diagram of a service preheating system according to an embodiment of the present disclosure is shown as follows: Figure 4 As shown, the service preheating system includes a service preheating control terminal and a running application environment, wherein a plurality of nodes are deployed in the running application environment, a service preheating execution terminal is deployed on each node, and carries a service instance corresponding to each node one by one.
[0106] Among them, the service preheating execution end can collect service instance resource information corresponding to at least one service instance to be preheated from each node, and upload the service instance resource information to the application state collector module of the service preheating control end, and the application state collector module provides the service instance resource information to the preheating model analyzer module, the rule parser module of the service preheating control end can receive the service preheating rule information corresponding to at least one service instance to be preheated sent by the user end, and store the service preheating rule information in the database, and the preheating model analyzer module can read the service preheating rule information from the database. The preheating model analyzer module can obtain the preheating control information corresponding to at least one service instance to be preheated based on the service preheating rule information and service instance resource information it obtains, and provides the obtained preheating control information to the configuration center module of the service preheating execution end, and the configuration center of the service preheating execution end can send the preheating control information to the service preheating execution end deployed on each node, so that the service preheating execution end can control the service instance carried by the same node to preheat according to the preheating control information.
[0107] The following reference Figure 5 A service preheating device according to an embodiment of the present disclosure is described. Figure 5 A structural block diagram of a service preheating device 200 according to an embodiment of the present disclosure is shown.
[0108] like Figure 5 As shown, the service preheating device 200 includes:
[0109] The rule information acquisition module 201 is configured to acquire service preheating rule information corresponding to at least one service instance to be preheated, and receive service instance resource information corresponding to at least one service instance to be preheated, wherein the service preheating rule information is used to indicate a rule of a preheating process of the corresponding service instance, and the service instance resource information is used to indicate a resource state of a resource corresponding to the corresponding service instance on a node for carrying the corresponding service instance before the preheating process;
[0110] The control information acquisition module 202 is configured to acquire preheating control information corresponding to at least one service instance to be preheated according to the service preheating rule information and the service instance resource information, wherein the preheating control information is used to indicate the corresponding relationship between the corresponding service instance and the traffic upper limit at different times during the preheating process;
[0111] The control information sending module 203 is configured to send preheating control information.
[0112] According to the technical solution provided by the embodiment of the present disclosure, by obtaining service preheating rule information corresponding to at least one service instance to be preheated, and receiving service instance resource information corresponding to at least one service instance to be preheated, the preheating control information corresponding to at least one service instance to be preheated is obtained according to the service preheating rule information and the service instance resource information, and the preheating control information is sent. Among them, since the service preheating rule information is used to indicate the rules of the preheating process of the corresponding service instance, and the service instance resource information is used to indicate the resource status of the resources corresponding to the corresponding service instance on the node used to carry the corresponding service instance before the preheating process, the preheating control information obtained according to the service preheating rule information and the service instance resource information indicates that the flow limit of the corresponding service instance at different times during the preheating process can meet the rules of the preheating process, thereby minimizing the time occupied by the preheating, and at the same time, it will not cause a large impact on the resources of the node used to carry the corresponding service instance, so that the time occupied by the preheating process can be minimized under the premise of effectively reducing the impact caused by the flow.
[0113] Those skilled in the art will understand that referring to Figure 5 The technical solutions described can be compared with Figure 2 Any corresponding embodiment is combined to have Figure 2 The technical effects achieved by any corresponding embodiment can be referred to the description of the above embodiment for specific contents, and the specific contents will not be repeated here.
[0114] The following reference Figure 5 A service preheating device according to an embodiment of the present disclosure is described. Figure 5 A structural block diagram of a service preheating device according to an embodiment of the present disclosure is shown.
[0115] like Figure 5 As shown, the service preheating device 300 includes:
[0116] The resource information sending module 301 is configured to collect service instance resource information and send the service instance resource information, where the service instance resource information is used to indicate the resource status of the resources corresponding to the service instance on the node used to carry the service instance;
[0117] The preheating control module 302 is configured to receive preheating control information, and control the flow upper limit of the preheated service instance according to the preheating control information and the current moment.
[0118] According to the technical solution provided by the embodiment of the present disclosure, by collecting service instance resource information and sending the service instance resource information, the service preheating control terminal can obtain the preheating control information corresponding to at least one service instance to be preheated according to the service preheating rule information and the service instance resource information, thereby receiving the preheating control information sent by the service preheating control terminal, and controlling the flow limit of the preheated service instance according to the preheating control information and the current moment. Among them, since the service preheating rule information is used to indicate the rules of the preheating process of the corresponding service instance, and the service instance resource information is used to indicate the resource status of the resources corresponding to the corresponding service instance on the node used to carry the corresponding service instance before the preheating process, the preheating control information obtained according to the service preheating rule information and the service instance resource information indicates that the flow limit of the corresponding service instance at different moments in the preheating process can meet the rules of the preheating process, thereby minimizing the time occupied by the preheating, and at the same time, it will not cause a large impact on the resources of the node used to carry the corresponding service instance, so that the time occupied by the preheating process can be minimized under the premise of effectively reducing the impact caused by the flow.
[0119] Those skilled in the art will understand that referring to Figure 6 The technical solutions described can be compared with Figure 3 Any corresponding embodiment is combined to have Figure 3 The technical effects achieved by any corresponding embodiment can be referred to the description of the above embodiment for specific contents, and the specific contents will not be repeated here.
[0120] Figure 7 A structural block diagram of an electronic device according to an embodiment of the present disclosure is shown.
[0121] The present disclosure also provides an electronic device, such as Figure 7 As shown, it includes at least one processor 401; and a memory 402 that is communicatively connected to the at least one processor 401; wherein the memory 402 stores instructions that can be executed by the at least one processor 401, and the instructions are executed by the at least one processor 401 to implement the following steps:
[0122] In a first aspect, an embodiment of the present disclosure provides a service preheating method, which is applied to a service preheating control terminal, and includes:
[0123] Obtaining service preheating rule information corresponding to at least one service instance to be preheated, and receiving service instance resource information corresponding to at least one service instance to be preheated, the service preheating rule information being used to indicate a rule of a preheating process of the corresponding service instance, and the service instance resource information being used to indicate a resource state of resources corresponding to the corresponding service instance on a node that carries the corresponding service instance before the preheating process;
[0124] Acquire preheating control information corresponding to at least one service instance to be preheated according to the service preheating rule information and the service instance resource information, where the preheating control information is used to indicate a corresponding relationship between a corresponding service instance and a traffic upper limit at different times during the preheating process;
[0125] Send preheat control information.
[0126] In one implementation of the present disclosure, the service preheating rule information includes at least one of service instance batch information, service instance startup information and batch interval information. The service instance batch information is used to indicate the correspondence between the corresponding service instance and the preheating batch during the preheating process. The service instance startup information is used to indicate the correspondence between the corresponding service instance and the startup duration. The batch interval information is used to indicate the duration of the interval between at least two preheating batches during the preheating process.
[0127] In one implementation of the present disclosure, the resource status includes at least one of processor occupancy, processor occupancy, bandwidth occupancy, bandwidth occupancy, memory occupancy, memory occupancy, disk space occupancy, disk space occupancy, and query rate per second.
[0128] In an implementation of the present disclosure, obtaining preheating control information according to service preheating rule information and service instance resource information includes:
[0129] A pre-trained target preheating control model is obtained, and service preheating rule information and service instance resource information are used as inputs, and input into the target preheating control model to obtain output preheating control information.
[0130] In an implementation of the present disclosure, before obtaining service preheating rule information and receiving service instance resource information, the method further includes:
[0131] Acquire preheating history data, where the preheating history data includes service preheating rule information, service instance resource information, preheating control information, and preheating effect information corresponding to at least one preheated service instance, where the preheating effect information is used to indicate the resource status of resources corresponding to the corresponding service instance on the node carrying the corresponding service instance at different times during the preheating process, as well as the duration of the preheating process;
[0132] Determining target preheating historical data whose preheating effect information satisfies target preheating effect requirements in the preheating historical data;
[0133] A preheating control model is obtained, and service preheating rule information and service instance resource information in the target preheating historical data are taken as input, and preheating control information in the target preheating historical data is taken as output, and the preheating control model is trained to obtain the target preheating control model.
[0134] In a second aspect, an embodiment of the present disclosure provides a service preheating method, wherein the method is applied to a service preheating execution end, and the method includes:
[0135] Collecting service instance resource information and sending the service instance resource information, where the service instance resource information is used to indicate the resource status of resources corresponding to the service instance on the node used to host the service instance;
[0136] Receive preheating control information, and control the flow upper limit of the preheating service instance according to the preheating control information and the current time.
[0137] In one implementation of the present disclosure, the resource status includes at least one of processor occupancy, processor occupancy, bandwidth occupancy, bandwidth occupancy, memory occupancy, memory occupancy, disk space occupancy, disk space occupancy, and query rate per second.
[0138] Figure 8 It is a schematic diagram of the structure of a computer system suitable for implementing a method according to an embodiment of the present disclosure.
[0139] like Figure 8 As shown, the computer system 500 includes a processing unit 501, which can perform various processes in the embodiments shown in the above figures according to the program stored in the read-only memory (ROM) 502 or the program loaded from the storage part 508 to the random access memory (RAM) 503. In the RAM 503, various programs and data required for the operation of the computer system 500 are also stored. The CPU 501, the ROM 502, and the RAM 503 are connected to each other through a bus 504. An input / output (I / O) interface 505 is also connected to the bus 504.
[0140] The following components are connected to the I / O interface 505: an input part 506 including a keyboard, a mouse, etc.; an output part 507 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker; a storage part 508 including a hard disk, etc.; and a communication part 509 including a network interface card such as a LAN card, a modem, etc. The communication part 509 performs communication processing via a network such as the Internet. The drive 510 is also connected to the I / O interface 505 as needed. Removable media 511, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., are installed on the drive 510 as needed, so that the computer program read therefrom is installed into the storage part 508 as needed. Among them, the processing unit 501 can be implemented as a processing unit such as a CPU, a GPU, a TPU, an FPGA, an NPU, etc.
[0141] In particular, according to an embodiment of the present disclosure, the method described above with reference to the accompanying drawings can be implemented as a computer software program. Exemplarily, an embodiment of the present disclosure includes a computer program product, which includes a computer program tangibly contained on a readable medium thereof, and the computer program includes a program code for executing the method in the accompanying drawings. In such an embodiment, the computer program can be downloaded and installed from a network through a communication part 509, and / or installed from a removable medium 511. Exemplarily, an embodiment of the present disclosure includes a readable storage medium on which computer instructions are stored, and when the computer instructions are executed by a processor, the program code for executing the method in the accompanying drawings is implemented.
[0142] The flowchart and block diagram in the accompanying drawings illustrate the possible architecture, functions and operations of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each box in the road map or block diagram can represent a module, a program segment or a part of a code, and the module, a program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. Exemplary, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flow chart, and the combination of boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0143] The units or modules involved in the embodiments described in the present disclosure may be implemented by software or hardware. The units or modules described may also be set in a processor, and the names of these units or modules do not constitute limitations on the units or modules themselves in some cases.
[0144] As another aspect, the present disclosure further provides a computer-readable storage medium, which may be a computer-readable storage medium included in the node described in the above embodiment; or a computer-readable storage medium that exists independently and is not installed in a device. The computer-readable storage medium stores one or more programs, and the programs are used by one or more processors to execute the method described in the present disclosure.
[0145] The above description is only a preferred embodiment of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of the invention involved in the present disclosure is not limited to the technical solution formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the inventive concept. The above exemplary features are replaced with the technical features with similar functions disclosed in the present disclosure (but not limited to) to form a technical solution.
Claims
1. A service preheating method, wherein: The method is applied to a service preheating control terminal, and the method comprises: Obtaining service preheating rule information corresponding to at least one service instance to be preheated, and receiving service instance resource information corresponding to the at least one service instance to be preheated, wherein the service preheating rule information is used to indicate a rule of a preheating process of the corresponding service instance, and the service preheating rule information includes at least one of service instance batch information, service instance startup information, and batch interval information; the service instance resource information is used to indicate a resource status of resources corresponding to the corresponding service instance on a node that carries the corresponding service instance before the preheating process; Acquire preheating control information corresponding to at least one service instance to be preheated according to the service preheating rule information and the service instance resource information, wherein the preheating control information is used to indicate a corresponding relationship between a corresponding service instance and a traffic upper limit at different times during the preheating process; The preheating control information is sent.
2. The service preheating method according to claim 1, wherein: The service instance batch information is used to indicate the correspondence between the corresponding service instance and the preheating batch during the preheating process, the service instance startup information is used to indicate the correspondence between the corresponding service instance and the startup duration, and the batch interval information is used to indicate the duration of the interval between at least two preheating batches during the preheating process.
3. The service preheating method according to claim 1, wherein: The resource status includes at least one of processor occupancy, processor occupancy, bandwidth occupancy, bandwidth occupancy, memory occupancy, memory occupancy, disk space occupancy, disk space occupancy, and query rate per second.
4. The service preheating method according to any one of claims 1 to 3, wherein: The acquiring the preheating control information according to the service preheating rule information and the service instance resource information includes: A pre-trained target preheating control model is obtained, and the service preheating rule information and the service instance resource information are used as inputs and input into the target preheating control model to obtain the output preheating control information.
5. The service preheating method according to claim 4, wherein: Before obtaining the service preheating rule information and receiving the service instance resource information, the method further includes: Acquire preheating history data, the preheating history data including service preheating rule information, service instance resource information, preheating control information, and preheating effect information corresponding to at least one preheated service instance, the preheating effect information being used to indicate the resource status of resources corresponding to the corresponding service instance on the node carrying the corresponding service instance at different times during the preheating process, and the duration of the preheating process; Determining target preheating history data whose preheating effect information satisfies target preheating effect requirements in the preheating history data; A preheating control model is obtained, and the service preheating rule information and service instance resource information in the target preheating history data are taken as input, and the preheating control information in the target preheating history data is taken as output, and the preheating control model is trained to obtain the target preheating control model.
6. A service preheating method, wherein: The method is applied to a service preheating execution end, and the method includes: Collecting service instance resource information and sending the service instance resource information, wherein the service instance resource information is used to indicate the resource status of resources corresponding to the service instance on the node used to carry the service instance; Receive preheating control information, and control the traffic upper limit of the preheated service instance according to the preheating control information and the current moment; wherein the preheating control information is obtained according to the service preheating rule information and the service instance resource information, and the service preheating rule information includes at least one of service instance batch information, service instance startup information and batch interval information; the preheating control information is used to indicate the corresponding relationship between the corresponding service instance and the traffic upper limit at different moments in the preheating process.
7. The service preheating method according to claim 6, wherein: The resource status includes at least one of processor occupancy, processor occupancy, bandwidth occupancy, bandwidth occupancy, memory occupancy, memory occupancy, disk space occupancy, disk space occupancy, and query rate per second.
8. An electronic device, characterized in that: The method comprises a memory and at least one processor; wherein the memory is used to store one or more computer instructions, and the one or more computer instructions are executed by the at least one processor to implement the method steps described in any one of claims 1 to 7.
9. A computer-readable storage medium having computer instructions stored thereon, wherein: When the computer instructions are executed by a processor, the method steps described in any one of claims 1 to 7 are implemented.
10. A computer program product comprising a computer program / instructions, wherein: When the computer program / instructions are executed by a processor, the method steps described in any one of claims 1 to 7 are implemented.
Citation Information
Patent Citations
Method and apparatus for publishing online message, and electronic device
CN107682205A
Data preheating method and device, server and storage medium
CN109933544A