Unlock instant, AI-driven research and patent intelligence for your innovation.

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

Inactive Publication Date: 2019-01-04
ALIBABA GRP HLDG LTD
View PDF4 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The purpose of the embodiment of the present application is to provide a method and device for health detection of servers to solve the problem in the prior art that the back-end server is too busy responding to a large number of health detection request messages sent by each load balancer, thus The problem of increasing the power consumption of the back-end server and reducing the performance of the back-end server

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method of health detection on server and device
  • Method of health detection on server and device
  • Method of health detection on server and device

Examples

Experimental program
Comparison scheme
Effect test

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...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention relates to the technical field of cloud computing and particularly relates to a method of health detection on a server and device. The method comprises steps: health detection on each server is carried out respectively based on a set first detection frequency smaller than a first set threshold; when a server with abnormal operation is judged to exist, in view of the above abnormal server, the set first detection frequency is switched to a set second detection frequency larger than a second set threshold, and continuous health detection on the above abnormal server is carried outaccording to the second detection frequency, wherein the first set threshold is smaller than the second set threshold. By adopting the above method, health detection on the server is carried out according to the first detection frequency, when the operation condition of a server is determined to be abnormal, the server with the abnormal operation is subjected to health detection according to the second detection frequency, and thus, the power consumption of the server is reduced, and while the server performance is enhanced, the health detection efficiency is ensured.

Description

technical field [0001] The present application relates to the technical field of cloud computing, and in particular to a method and device for health detection of a server. Background technique [0002] Server load balancing is a technology that balances the client's access traffic to multiple back-end servers to achieve a balanced effect on server load. In the process of implementing load balancing, it is a very important link to check the health of the servers connected to the backend of the load balancer. Through the health detection of the back-end server, if it is determined that a server is in an abnormal state, the server will be eliminated, that is, traffic forwarding to the server will be stopped, and if it is determined that the server is in a normal state, traffic forwarding to the server will be resumed. [0003] At present, the server load balancing technology in the field of cloud computing technology only supports a fixed health detection frequency (eg, 1s / ti...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): H04L12/26H04L29/08
CPCH04L43/0817H04L43/16H04L67/1001
Inventor 吴立欣王珺
Owner ALIBABA GRP HLDG LTD