Method of health detection on server and device
A health detection and server technology, applied in the field of cloud computing, can solve the problems of reducing the performance of the back-end server and increasing the power consumption of the back-end server, so as to ensure the efficiency of health detection, reduce power consumption and improve performance
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0074] refer to figure 2 As shown, in the embodiment of the present application, a detailed process of a method for performing health check on a server is as follows:
[0075] Step 200: Perform health check on each server based on the set first check frequency.
[0076] In practical applications, the load balancer will perform health checks on each of the backend servers under its jurisdiction according to the first detection frequency set by the user, which is lower than the first set threshold. The first set threshold can be user-defined according to different application scenarios.
[0077] Specifically, the following only uses the load balancer to perform health detection on a backend server as an example to illustrate the specific process of the load balancer performing health detection on the backend server.
[0078] First, the load balancer sends a health detection request message to a server; then, it judges whether the above-mentioned server can return a correspond...
Embodiment 2
[0106] refer to Figure 4 As shown, in the embodiment of the present application, a detailed process of a method for performing health check on a server is as follows:
[0107] Step 400: Perform a health check on each server based on a set first check frequency, wherein the first check frequency is lower than a first set threshold.
[0108] Step 410: Monitor the running status of each server, and determine whether the running status of each server is normal.
[0109] Step 420: When it is determined that there is a server with an abnormal operating condition, switch the set first detection frequency to the set second detection frequency for the above-mentioned abnormal server, and continue to detect the above-mentioned abnormal server according to the above-mentioned second detection frequency Health detection is performed, wherein the second detection frequency is higher than a second set threshold, and the first set threshold is lower than the second set threshold.
Embodiment 3
[0111] The following uses a specific application scenario to further describe the above-mentioned embodiment in detail, refer to Figure 5 As shown, in the embodiment of the present application, the detailed flow of the method for the load balancer to perform health check on the server X is as follows:
[0112] Step 500: the load balancer monitors the outgoing traffic of server X in real time.
[0113] Specifically, the load balancer performs a sampling operation on the outgoing traffic of each server, and generates a corresponding outgoing traffic graph according to the sampling result.
[0114] Step 510: According to the set calculation period, the load balancer calculates the slope r of the straight line where the first outflow sampling point and the last outflow sampling point are located in the current calculation period, and judges whether r is less than 0, and if so, executes the step 520, otherwise go to step 500.
[0115] Specifically, the load balancer calculates t...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


