CN112882895B - Health check method, device, computer system and readable storage medium - Google Patents
Health check method, device, computer system and readable storage medium Download PDFInfo
- Publication number
- CN112882895B CN112882895B CN202110198950.XA CN202110198950A CN112882895B CN 112882895 B CN112882895 B CN 112882895B CN 202110198950 A CN202110198950 A CN 202110198950A CN 112882895 B CN112882895 B CN 112882895B
- Authority
- CN
- China
- Prior art keywords
- application server
- data
- target
- response data
- request
- 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.)
- Active
Links
- 230000036541 health Effects 0.000 title claims abstract description 161
- 238000000034 method Methods 0.000 title claims abstract description 78
- 230000004044 response Effects 0.000 claims abstract description 158
- 238000004590 computer program Methods 0.000 claims abstract description 29
- 238000004891 communication Methods 0.000 claims abstract description 26
- 238000012545 processing Methods 0.000 claims description 39
- 230000003862 health status Effects 0.000 claims description 11
- 230000015654 memory Effects 0.000 claims description 11
- 238000007689 inspection Methods 0.000 abstract description 4
- 238000010586 diagram Methods 0.000 description 10
- 230000006870 function Effects 0.000 description 7
- 230000008569 process Effects 0.000 description 5
- 230000005540 biological transmission Effects 0.000 description 4
- 238000005516 engineering process Methods 0.000 description 3
- 230000003287 optical effect Effects 0.000 description 3
- 108010001267 Protein Subunits Proteins 0.000 description 2
- 238000001514 detection method Methods 0.000 description 2
- 238000009472 formulation Methods 0.000 description 2
- 239000000203 mixture Substances 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 238000012544 monitoring process Methods 0.000 description 2
- 238000003672 processing method Methods 0.000 description 2
- 239000000758 substrate Substances 0.000 description 2
- 239000002699 waste material Substances 0.000 description 2
- 230000002159 abnormal effect Effects 0.000 description 1
- 239000003795 chemical substances by application Substances 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 239000002360 explosive Substances 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
- 238000004806 packaging method and process Methods 0.000 description 1
- 239000004065 semiconductor Substances 0.000 description 1
- 230000001960 triggered effect Effects 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3003—Monitoring arrangements specially adapted to the computing system or computing system component being monitored
- G06F11/3006—Monitoring arrangements specially adapted to the computing system or computing system component being monitored where the computing system is distributed, e.g. networked systems, clusters, multiprocessor systems
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/3051—Monitoring arrangements for monitoring the configuration of the computing system or of the computing system component, e.g. monitoring the presence of processing resources, peripherals, I/O links, software programs
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/30—Monitoring
- G06F11/32—Monitoring with visual or acoustical indication of the functioning of the machine
- G06F11/324—Display of status information
- G06F11/328—Computer systems status display
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/46—Multiprogramming arrangements
- G06F9/48—Program initiating; Program switching, e.g. by interrupt
- G06F9/4806—Task transfer initiation or dispatching
- G06F9/4843—Task transfer initiation or dispatching by program, e.g. task dispatcher, supervisor, operating system
- G06F9/4881—Scheduling strategies for dispatcher, e.g. round robin, multi-level priority queues
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/46—Multiprogramming arrangements
- G06F9/50—Allocation of resources, e.g. of the central processing unit [CPU]
- G06F9/5083—Techniques for rebalancing the load in a distributed system
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computing Systems (AREA)
- Software Systems (AREA)
- Quality & Reliability (AREA)
- Computer Hardware Design (AREA)
- Mathematical Physics (AREA)
- Medical Treatment And Welfare Office Work (AREA)
- Debugging And Monitoring (AREA)
Abstract
The disclosure provides a health inspection method, which can be used in the technical fields of cloud computing, information security or other fields. Wherein the method comprises the following steps: sending a health check request for a target link to an application server according to a first preset time interval, wherein the target link is a communication link between the application server and an application database; receiving response data sent by the application server in response to the health check request, wherein the response data is obtained by the application server from a dynamic page, the dynamic page is stored in the application server, the response data is displayed on the dynamic page, and the application server obtains the data aiming at the request for obtaining the target data from the application database according to a second preset time interval; and determining that the target link is in a healthy state under the condition that the response data is the target data. The present disclosure also provides a health check device, a computer system, a readable storage medium and a computer program product.
Description
Technical Field
The present disclosure relates to the field of cloud computing and information security technologies, and more particularly, to a health inspection method, apparatus, computer system, readable storage medium, and computer program product.
Background
With the popularization of mobile internet, users have higher and higher requirements on high available resources, and in order to ensure users to access available service processing resources all the time, the mobile internet can be suitable for a load balancer to schedule. When a load balancer and other devices are used for scheduling the access of the user, the health states of the application server and the application database need to be detected to judge whether to continue to distribute the user request to the corresponding application server.
In the process of implementing the disclosed concept, the inventor finds that at least the following problems exist in the related art: the load balancer initiates a health check request for each user request, resulting in excessive resource consumption.
Disclosure of Invention
In view of this, the present disclosure provides a health check method, apparatus, computer system, readable storage medium and computer program product.
One aspect of the present disclosure provides a health check method applied to a load balancer, including:
sending a health check request for a target link to an application server according to a first preset time interval, wherein the target link is a communication link between the application server and an application database;
Receiving response data sent by the application server in response to the health check request, wherein the response data is obtained by the application server from a dynamic page, the dynamic page is stored in the application server, the response data is displayed on the dynamic page, and the application server obtains the data aiming at the request for obtaining the target data from the application database according to a second preset time interval; and
And under the condition that the response data is the target data, determining that the target link is in a healthy state.
According to an embodiment of the present disclosure, further comprising:
comparing the response data with target data stored in the load balancer in advance to determine whether the response data is the target data;
and in the case that the response data is not the target data, determining that the target link is in an unhealthy state.
According to an embodiment of the present disclosure, further comprising:
Acquiring a request for processing a service sent by a user terminal;
Determining a target application server in a health state in a polling mode; and sending a request for processing the service to the target application server.
According to an embodiment of the present disclosure, further comprising:
Acquiring a request for processing a service sent by a user terminal;
Determining a target application server in a health state by adopting a mode of minimum connection number; and
A request for processing a service is sent to a target application server.
Another aspect of the present disclosure also provides a health check method applied to an application server, including:
Receiving a health check request for a target link sent by a load balancer according to a first preset time interval; the target link is a communication link between the application server and the application database; and
Responsive to the health check request, sending response data to the load balancer so that the load balancer determines a health status of the target link based on the response data; the response data are obtained from dynamic pages by the application server, the dynamic pages are stored in the application server, the response data are displayed on the dynamic pages, and the application server is used for obtaining data obtained by requesting to obtain target data from the application database according to a second preset time interval.
According to the embodiment of the disclosure, the target link is also connected with application equipment;
The method further comprises the steps of:
Sending a request for acquiring target data from an application database to the application equipment according to a preset second time interval; so that the application device performs a loop-through operation on the application database in response to a request for acquiring target data from the application database, and acquires the target data from the application database;
response data sent by the application device is received.
According to an embodiment of the present disclosure, further comprising:
based on the newly acquired response data, the response data displayed on the dynamic page is updated in real time so that the updated response data is transmitted to the load balancer in response to the request for health check.
According to an embodiment of the present disclosure, wherein the newly acquired response data includes one of: target data set in advance, data obtained by error response, response data whose data content is empty.
Yet another aspect of the present disclosure provides a health check device, comprising:
The system comprises a request module, a target link and an application database, wherein the request module is used for sending a health check request for the target link to the application server according to a first preset time interval, and the target link is a communication link between the application server and the application database;
The first receiving module is used for receiving response data sent by the application server in response to the health check request, wherein the response data is obtained by the application server from a dynamic page, the dynamic page is stored in the application server, the response data is displayed on the dynamic page, and the application server is used for obtaining data obtained by aiming at a request for obtaining target data from an application database according to a second preset time interval; and
And the determining module is used for determining that the target link is in a health state under the condition that the response data is the target data.
Another aspect of the present disclosure provides a health check device, comprising:
the second receiving module is used for receiving a health check request for the target link, which is sent by the load balancer according to a first preset time interval; the target link is a communication link between the application server and the application database; and
The response module is used for responding to the health check request and sending response data to the load balancer so that the load balancer can determine the health state of the target link based on the response data; the response data are obtained from dynamic pages by the application server, the dynamic pages are stored in the application server, the response data are displayed on the dynamic pages, and the application server is used for obtaining data obtained by requesting to obtain target data from the application database according to a second preset time interval.
Yet another aspect of the present disclosure provides a computer system comprising:
one or more processors;
A memory for storing one or more programs,
Wherein the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the health check method described above.
Yet another aspect of the present disclosure provides a computer-readable storage medium having stored thereon executable instructions that, when executed by a processor, cause the processor to implement the above-described health check method.
Yet another aspect of the present disclosure provides a computer program product comprising a computer program comprising computer executable instructions which, when executed, are adapted to carry out the above-described health check method.
According to the embodiment of the disclosure, the health check request for the target link is sent to the application server according to the first preset time interval, wherein the target link is a communication link between the application server and the application database; receiving response data sent by the application server in response to the health check request, wherein the response data is obtained by the application server from a dynamic page, the dynamic page is stored in the application server, the response data is displayed on the dynamic page, and the application server obtains the data aiming at the request for obtaining the target data from the application database according to a second preset time interval; and determining that the target link is in a healthy state in the case where the response data is the target data, the present disclosure transmits a health check request at a first preset time interval, instead of transmitting the health check request based on a request for processing a service as a trigger; therefore, the technical problems that a large amount of requests for processing the service are simultaneously sent to the load balancer in the prior art, and a large amount of explosive health check requests are simultaneously sent to the application server, so that the application server generates larger performance loss or resource waste are solved, and the technical effects of saving the resource waste and improving the application service performance are achieved.
Drawings
The above and other objects, features and advantages of the present disclosure will become more apparent from the following description of embodiments thereof with reference to the accompanying drawings in which:
FIG. 1 schematically illustrates a health check system of an embodiment of the present disclosure;
FIG. 2 schematically illustrates an exemplary system architecture to which the health check methods and apparatus of the present disclosure may be applied;
FIG. 3 schematically illustrates a flow chart of a health check method according to an embodiment of the disclosure;
FIG. 4 schematically illustrates a flow chart of a health check method according to another embodiment of the present disclosure;
FIG. 5 schematically illustrates a flow chart of a method of health checking according to another embodiment of the present disclosure;
FIG. 6 schematically illustrates a block diagram of a health check device according to an embodiment of the present disclosure;
FIG. 7 schematically illustrates a block diagram of a health check device according to another embodiment of the present disclosure; and
Fig. 8 schematically illustrates a block diagram of a computer system suitable for implementing a health check method, in accordance with an embodiment of the present disclosure.
Detailed Description
Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. It should be understood that the description is only exemplary and is not intended to limit the scope of the present disclosure. In the following detailed description, for purposes of explanation, numerous specific details are set forth in order to provide a thorough understanding of the embodiments of the present disclosure. It may be evident, however, that one or more embodiments may be practiced without these specific details. In addition, in the following description, descriptions of well-known structures and techniques are omitted so as not to unnecessarily obscure the concepts of the present disclosure.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the disclosure. The terms "comprises," "comprising," and/or the like, as used herein, specify the presence of stated features, steps, operations, and/or components, but do not preclude the presence or addition of one or more other features, steps, operations, or components.
All terms (including technical and scientific terms) used herein have the same meaning as commonly understood by one of ordinary skill in the art unless otherwise defined. It should be noted that the terms used herein should be construed to have meanings consistent with the context of the present specification and should not be construed in an idealized or overly formal manner.
Where a convention analogous to "at least one of A, B and C, etc." is used, in general such a convention should be interpreted in accordance with the meaning of one of skill in the art having generally understood the convention (e.g., "a system having at least one of A, B and C" would include, but not be limited to, systems having a alone, B alone, C alone, a and B together, a and C together, B and C together, and/or A, B, C together, etc.). Where a formulation similar to at least one of "A, B or C, etc." is used, in general such a formulation should be interpreted in accordance with the ordinary understanding of one skilled in the art (e.g. "a system with at least one of A, B or C" would include but not be limited to systems with a alone, B alone, C alone, a and B together, a and C together, B and C together, and/or A, B, C together, etc.).
Embodiments of the present disclosure provide a health check method. The method is applied to a load balancer and comprises the following steps: sending a health check request for a target link to an application server according to a first preset time interval, wherein the target link is a communication link between the application server and an application database; receiving response data sent by the application server in response to the health check request, wherein the response data is obtained by the application server from a dynamic page, the dynamic page is stored in the application server, the response data is displayed on the dynamic page, and the application server obtains the data aiming at the request for obtaining the target data from the application database according to a second preset time interval; and determining that the target link is in a healthy state under the condition that the response data is the target data.
Another embodiment of the present disclosure also provides a health check method. The method is applied to an application server and comprises the following steps: receiving a health check request for a target link sent by a load balancer according to a first preset time interval; the target link is a communication link between the application server and the application database; responsive to the health check request, sending response data to the load balancer so that the load balancer determines a health status of the target link based on the response data; the response data are obtained from dynamic pages by the application server, the dynamic pages are stored in the application server, the response data are displayed on the dynamic pages, and the application server is used for obtaining data obtained by requesting to obtain target data from the application database according to a second preset time interval.
Fig. 1 schematically illustrates a health check system 100 of an embodiment of the present disclosure.
As shown in fig. 1, the health check system 100 according to this embodiment may include a load balancer 101, an application server 102, and an application database 103.
The load balancer 101 is not limited to one, and may be a load balancer cluster. The load balancer 101 can be used for scheduling based on the request of the user, monitoring the health state of the link established between the application server 102 and the application database 103, and sending the request of the user to the application server of the health link, thereby playing a role in scheduling and ensuring that the user always accesses available application resources.
The application server 102, which may also be referred to as a back-end server, is a server for providing various services, such as a back-end management server (for example only) providing inquiry balances, transfers, and the like. The application server 102 may receive a request for service processing sent by the equalization server 101, and acquire data from the application database 103 and perform data processing based on the request.
In accordance with an alternative embodiment of the present disclosure, other application devices, such as one or more of a security detection device, an APP server, a web server, etc., are also connected in the full link established based on the application server 102 and the application database 103.
The application database 103 is used for storing data and supporting the application server 102 to perform operations such as adding, intercepting, updating, deleting and the like on the stored data. It should be noted that in embodiments of the present disclosure, the application database 103 may be a plurality of application databases, and data may be shared between the plurality of application databases.
It should be noted that fig. 1 is merely an example of a health check system to which embodiments of the present disclosure may be applied to assist those skilled in the art in understanding the technical content of the present disclosure, but does not mean that embodiments of the present disclosure may not be used in other devices, systems, environments, or scenarios.
Fig. 2 schematically illustrates an exemplary system architecture 200 to which the health check methods and apparatus may be applied, according to embodiments of the present disclosure. It should be noted that fig. 2 is only an example of a system architecture to which embodiments of the present disclosure may be applied to assist those skilled in the art in understanding the technical content of the present disclosure, but does not mean that embodiments of the present disclosure may not be used in other devices, systems, environments, or scenarios.
As shown in fig. 2, the system architecture 200 according to this embodiment may include terminal devices 201, 202, 203, a network 204, an application server 205, and a load balancer 206. The network 204 is the medium used to provide the communication links between the terminal devices 201, 202, 203, the application server 205 and the load balancer 206. The network 204 may include various connection types, such as wired and/or wireless communication links, and the like.
A user may interact with the load balancer 206 through the network 204 using the terminal devices 201, 202, 203 to receive or send messages, etc. Various communication client applications may be installed on the terminal devices 201, 202, 203, such as shopping class applications, web browser applications, search class applications, instant messaging tools, mailbox clients and/or social platform software, to name a few.
The terminal devices 201, 202, 203 may be various electronic devices having a display screen and supporting web browsing, including but not limited to smartphones, tablets, laptop and desktop computers, and the like.
The application server 205 may be a server providing various services, such as a background management server (by way of example only) providing support for websites browsed by users using the terminal devices 201, 202, 203. The background management server may analyze and process the received data such as the user request mobilized and distributed by the load balancer 206, and feed back the processing result (e.g., web page, information, data, etc. acquired or generated according to the user request) to the terminal device.
It should be noted that the health checking method provided by the embodiments of the present disclosure may be generally performed by the application server 205. Accordingly, the health check devices provided by embodiments of the present disclosure may be generally provided in the application server 205. The health check method provided by the embodiments of the present disclosure may also be performed by a server or a cluster of servers other than the application server 205 and capable of communicating with the terminal devices 201, 202, 203 and/or the application server 205. Accordingly, the health check device provided by the embodiments of the present disclosure may also be provided in a server or a server cluster different from the application server 205 and capable of communicating with the terminal devices 201, 202, 203 and/or the server 205. Or the health check method provided by the embodiments of the present disclosure may also be performed by the load balancer 206, or may also be performed by a server or cluster of servers that are different from the load balancer 206 and that are capable of communicating with the terminal devices 201, 202, 203 and/or the load balancer 206. Accordingly, the health checking apparatus provided by the embodiments of the present disclosure may also be provided in the load balancer 206, or in a server or a server cluster different from the load balancer 206 and capable of communicating with the terminal devices 201, 202, 203 and/or the load balancer 206.
For example, the target data may be originally stored in the load balancer 206 or stored on an external storage device and imported into the load balancer 206. The load balancer 206 may then send the target data to other application servers, or clusters of servers, and perform the health check methods provided by embodiments of the present disclosure by the other application servers, or clusters of servers, that receive the target data.
It should be understood that the number of terminal devices, networks and servers in fig. 2 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
It should be noted that the health checking method, the health checking device, the computer system, the computer readable storage medium and the computer program product of the present disclosure may be used in the fields of information security and cloud computing technology, and may also be used in any field other than the fields of information security and cloud computing technology, and the application fields of the health checking method, the health checking device, the computer system, the computer readable storage medium and the computer program product of the present disclosure are not limited.
Fig. 3 schematically illustrates a flow chart of a health check method according to an embodiment of the present disclosure.
As shown in fig. 3, the method is applied to a load balancer, including operations S310 to S330.
In operation S310, a health check request for a target link is sent to an application server at a first preset time interval, where the target link is a communication link between the application server and an application database.
In operation S320, response data transmitted by the application server in response to the health check request is received, wherein the response data is obtained by the application server from a dynamic page, the dynamic page is stored in the application server, the response data is displayed on the dynamic page, and the application server is directed to data obtained by the request for obtaining the target data from the application database at a second preset time interval.
In operation S330, in the case where the response data is the target data, it is determined that the target link is in a healthy state.
According to the embodiment of the disclosure, in order to meet the higher and higher high availability requirement of the user on the accessed application, the user is ensured to access the available resources all the time, and the access of the user is scheduled by adopting a load balancer. Before scheduling, the load balancer needs to monitor the health status of the application servers and the application database to determine whether to continue to distribute user requests to the corresponding application servers.
In the conventional processing method, each load balancer performs health check on an application server, and the health check method generally adopts a mode of simulating a service processing request of a user to send a request to the application server after receiving the service processing request of the user so as to confirm whether the application server can normally respond to the user request.
The conventional processing method, for the application server and the application database, consumes a large amount of computing resources of the application server and the application database for responding to the health check request of the load balancer. The large number of health check requests causes larger performance loss to the back-end server, and in addition, the number of load balancers is limited to be deployed in order to reduce the influence on the application server and the application database, which is unfavorable for expansion.
Compared with the traditional health inspection mode, the health inspection method provided by the embodiment of the disclosure is more suitable for the development needs of the distributed technical field.
According to the embodiment of the disclosure, the first preset time interval may be a second time interval, but is not limited to this, and may be adjusted according to practical situations, but the second time interval, for example, 1 second, 5 seconds or 10 seconds, is short, and can realize real-time monitoring.
According to an embodiment of the present disclosure, the health check request is sent by the load balancer to the application server at preset time intervals, not based on a user request trigger. The method and the system prevent a large number of users (for example, 1 ten thousand users) from simultaneously and burst sending the requests for service processing to the load balancer, and then the load balancer sends the requests to the application server in corresponding quantity (1 ten thousand) of health check requests based on the requests, so that resources of subsequent communication links are consumed by the health check requests, and the application server is prevented from triggering gun-closing transactions of an application database in the presence of an ultra-large quantity of health check requests.
According to the embodiment of the disclosure, the health check request is sent to the application server according to the preset time interval, and under the condition of inquiring of 1 ten thousand users, the request for service processing of 1 ten thousand users can be scheduled only based on the feedback information of the moment, so that the time and the resource consumption are saved.
According to the embodiment of the disclosure, the response data sent by the application server in response to the health check request may be acquired by a dynamic page of the application server, but is not limited thereto, and may be stored in the application server in other manners, as long as dynamic update based on update of the response data can be achieved.
According to the embodiment of the disclosure, the load balancer sends the health check request for the target link to the application server according to the first preset time interval instead of sending the health check request under the triggering of the request sent by the terminal equipment, so that the problem that the performance consumption of the application server and the application database is overlarge due to the fact that a large number of distributed load balancers repeatedly perform health check on the application server and the application database is avoided.
The method shown in fig. 3 is further described below in connection with specific examples.
According to an embodiment of the present disclosure, the response data is compared with target data stored in advance in the load balancer to determine whether the response data is the target data;
And under the condition that the response data is the target data, determining that the target link is in a healthy state.
And in the case that the response data is not the target data, determining that the target link is in an unhealthy state.
According to embodiments of the present disclosure, the target data may be data pre-stored in a database, where the target data is pre-agreed to one health check return data between the load balancer cluster and the application server cluster, and the data may be a character such as "success reply", but is not limited thereto, and may be a number or other identification.
According to the embodiment of the disclosure, whether the target link is in a healthy state can be determined by judging whether the response data is the target data. And under the condition that the response data is preset target data, the target link is in a health state, namely the transaction capability of the application server and the application database can be considered to be normal.
According to an embodiment of the present disclosure, in the case where the response data is not the target data, it is determined that the target link is in an unhealthy state. In this case, the response data may be data obtained by an error response, but is not limited thereto, and may be response data whose data content is empty. In the case where the target link is unhealthy, then this target link is not taken as an alternative to scheduling.
According to the embodiment of the disclosure, the result of the health examination state is obtained in this way, so that the judgment is simple and quick, and the judgment speed is high.
According to an alternative embodiment of the present disclosure, the health check method may further include the following operations.
Acquiring a request for processing a service sent by a user terminal; determining a target application server in a health state in a polling mode; and sending a request for processing the service to the target application server.
According to an embodiment of the present disclosure, in the case of a request for processing a service involving a plurality of users, or in the case of an application server having a plurality of same processing capabilities in a cluster of application servers, a target application server may be determined in a polling manner, and the request for processing the service may be transmitted to the target application server in a healthy state and having processing resources.
According to the embodiment of the disclosure, the polling mode is adopted, so that overload caused by excessive processing capacity of a single application server is avoided, the data transmission safety is improved, and the data loss is prevented.
According to an alternative embodiment of the present disclosure, the health check method may further include the following operations.
Acquiring a request for processing a service sent by a user terminal; determining a target application server in a health state by adopting a mode of minimum connection number; and sending a request for processing the service to the target application server.
According to embodiments of the present disclosure, in the case of a request for processing a service involving a plurality of users, or in the case of an application server having a plurality of identical processing capacities in a cluster of application servers, a target application server may be determined in a manner of a minimum connection number. The connection number may be understood as the number of requests sent by the load balancer for handling traffic sent by the user to the application server, and is accumulated once each time it is sent. In this way, the load balancer can count the number of processes per application server. Based on the connection numbers of the respective application servers, the application server with the smallest connection number is determined as the target server.
According to the embodiment of the disclosure, the request sent by the user can be reasonably scheduled by adopting the mode of the minimum connection number, so that the overall user request processing speed is improved, and the requirement of high availability is realized.
Fig. 4 schematically illustrates a flow chart of a health check method according to another embodiment of the present disclosure.
As shown in fig. 4, the method is applied to an application server, including operations S410 to S420.
At operation 410, receiving a health check request for a target link sent by a load balancer at a first preset time interval; wherein the target link is a communication link between the application server and the application database.
In response to the health check request, transmitting response data to the load balancer so that the load balancer determines a health status of the target link based on the response data at operation 420; the response data are obtained from dynamic pages by the application server, the dynamic pages are stored in the application server, the response data are displayed on the dynamic pages, and the application server is used for obtaining data obtained by requesting to obtain target data from the application database according to a second preset time interval.
According to an embodiment of the present disclosure, a dynamic page is deployed on an application server, the dynamic page displaying response data. The response data is obtained by the application server for the request for obtaining the target data from the application database at a second preset time interval.
According to the embodiment of the disclosure, the second preset time interval may be a second time interval, but is not limited to this, and may be adjusted according to practical situations, but the second time interval, for example, 1 second, 5 seconds or 10 seconds, is short, and can represent real-time performance. In an alternative embodiment of the present disclosure, the first preset time interval and the second preset time interval may be set to be identical.
According to embodiments of the present disclosure, a text box may be provided on the dynamic page into which response data is displayed by being entered.
According to an embodiment of the present disclosure, the health check request may be an HTTP request. The application server responds to the health check request sent by the load balancer, and sends the whole current dynamic page with response data to the load balancer as return data of the HTTP request. However, the health check request is not limited to this, and the health check request may be a request of another format, and the application server may send only response data corresponding to the text box of the dynamic page to the load balancer as return data. The method is not particularly limited in the disclosure, and the method can be set by itself according to actual conditions, so long as the dynamic page can be dynamically displayed.
According to the embodiment of the disclosure, the application server obtains response data according to the second preset time interval for the request for obtaining the target data in the application database, and the data is not required to be repeatedly obtained from the application database for the health check requests initiated by a plurality of load balancers. And the machine gun transaction request is not required to be initiated to the application database due to the triggering of the health check request initiated by the load balancer, so that the resource consumption is saved, and the efficiency is improved.
The health check method shown in fig. 4 is further described below with reference to specific examples.
According to the embodiment of the disclosure, the target link is also connected with application equipment; the application device may be a security detection device, but is not limited thereto, but may be various APP application servers, or web servers.
According to an embodiment of the present disclosure, the health check method may further include the following operations.
Sending a request for acquiring target data from an application database to the application equipment according to a preset second time interval; so that the application device performs a loop-through operation on the application database in response to a request for acquiring target data from the application database, and acquires the target data from the application database; response data sent by the application device is received.
According to the embodiment of the disclosure, the application server sends a request for acquiring target data from the application database to the application device, and the application device responds to the request and circularly traverses the application database according to a preset second time interval to acquire the target data from the application database. The application device then sends the response data to the application server for display by the application server on the dynamic page.
According to the embodiment of the disclosure, by the method, the health check is also carried out on the communication of the application equipment connected to the target link, and the multi-layer agent mode is realized, so that the check is comprehensive and effective. In addition, the resource consumption of the whole link in health check is reduced in a manner that the request for acquiring the target data from the application database is sent to the application equipment according to the second preset time interval.
According to an embodiment of the present disclosure, the health check method may further include the following operations.
Based on the newly acquired response data, the response data displayed on the dynamic page is updated in real time so that the updated response data is transmitted to the load balancer in response to the request for health check.
According to the embodiment of the disclosure, the response data can be matched with the acquired response data in a manner of displaying the response data on the dynamic page and updating the response data in real time, so that the hysteresis of information transmission is reduced, and the accuracy of health examination is improved.
According to an embodiment of the present disclosure, the newly acquired response data may include preset target data that characterizes the target link as a healthy state. However, the present invention is not limited to this, and in the case where the target link is in an unhealthy state, the newly acquired response data may be data obtained by an erroneous response or response data whose data content is empty.
Fig. 5 schematically illustrates a flow chart of a health check method according to another embodiment of the present disclosure.
As shown in fig. 5, the health check method includes operations S510 to S560.
In operation S510, a contracted health check return character, such as "success reply", is defined between the application server and the cluster of all load balancers.
In operation S520, the load balancer initiates a health check request.
At operation S530, a timed dynamic page is deployed on the application server at the same time, and the contracted character is retrieved from the dynamic page in the second dimension into the application database.
In operation S540, the load balancer determines whether the health status is normal.
If the contracted return character is acquired, the health status is normal, and the transaction capability of the application server and the application database is considered normal in operation S550. And sending the request for processing the service sent by the user to a target application server of which the corresponding target link is in a healthy state.
In operation S560, if the application server or the application database is abnormal, the dynamic page cannot retrieve the contracted character or returns an error character. The cluster of load balancers also cannot get the dynamic return of the application server.
It should be noted that, the load balancer may send the health check request to multiple application servers at the same time, or may send the health check request to only one application server, when it is determined that the target link is in a non-health state, operation S560 may be executed subsequently, and send the health check request to another application server in a polling manner, so as to send the request of the user for processing the service to the corresponding target application server whose target link is in a health state.
The health check method provided by the embodiment of the disclosure can simplify the service capability representing the target full link by contracted characters, optimize a great number of health check triggered requests to an application server by using the dynamic value request acceptable by the application database, and retrieve and display the application database content on a dynamic page. The application server does not need to repeatedly process health check requests initiated by a plurality of load balancers, but responds with locally stored dynamic page content. Meanwhile, the application server does not trigger the gun transaction request of the application database by the health check requests initiated by the plurality of load balancing devices, and the application database content is retrieved and displayed on the dynamic page instead of the dynamic value request acceptable by the application database.
In summary, the health checking method provided by the embodiment of the present disclosure reduces repeated health checking of the application server and the application database by a large number of load balancers, and improves performance, scalability, maintainability and fault tolerance of the distributed system to the maximum extent.
Fig. 6 schematically illustrates a block diagram of a health check device according to an embodiment of the present disclosure.
As shown in fig. 6, the health check device 600 includes a request module 610, a first receiving module 620, and a determining module 630.
A request module 610, configured to send a health check request for a target link to an application server at a first preset time interval, where the target link is a communication link between the application server and an application database;
the first receiving module 620 is configured to receive response data sent by the application server in response to the health check request, where the response data is obtained by the application server from a dynamic page, the dynamic page is stored in the application server, the response data is displayed on the dynamic page, and the application server is configured to obtain data for a request for obtaining target data from the application database according to a second preset time interval; and
The determining module 630 is configured to determine that the target link is in a healthy state if the response data is the target data.
According to an embodiment of the present disclosure, the health check device 600 further comprises a comparison module and a second determination module.
The comparison module is used for comparing the response data with target data stored in the load equalizer in advance so as to determine whether the response data is the target data or not;
And the second determining module is used for determining that the target link is in an unhealthy state under the condition that the response data is not the target data.
According to an embodiment of the present disclosure, the health check device 600 further comprises an acquisition module, a third determination module and a first transmission module.
The acquisition module is used for acquiring a request for processing the service, which is sent by the user terminal;
The third determining module is used for determining the target application server in the health state in a polling mode; and
And the first sending module is used for sending the request for processing the service to the target application server.
According to an embodiment of the present disclosure, the health check device 600 further comprises a second acquisition module, a fourth determination module and a second transmission module.
The second acquisition module is used for acquiring a request for processing the service, which is sent by the user terminal;
a fourth determining module, configured to determine, by using a minimum connection number, a target application server in a healthy state; and
And the second sending module is used for sending the request for processing the service to the target application server.
Fig. 7 schematically illustrates a block diagram of a health check device according to another embodiment of the present disclosure.
As shown in fig. 7, the health check device 700 includes a second receiving module 710 and a responding module 720.
A second receiving module 710, configured to receive a health check request for a target link sent by a load balancer according to a first preset time interval; the target link is a communication link between the application server and the application database; and
A response module 720 for sending response data to the load balancer in response to the health check request, so that the load balancer determines the health status of the target link based on the response data; the response data are obtained from dynamic pages by the application server, the dynamic pages are stored in the application server, the response data are displayed on the dynamic pages, and the application server is used for obtaining data obtained by requesting to obtain target data from the application database according to a second preset time interval.
According to the embodiment of the disclosure, the target link is also connected with application equipment;
The health check device 700 further comprises a third transmitting module and a third receiving module.
The third sending module is used for sending a request for acquiring target data from the application database to the application equipment according to a preset second time interval; so that the application device performs a loop-through operation on the application database in response to a request for acquiring target data from the application database, and acquires the target data from the application database;
and the third receiving module is used for receiving the response data sent by the application equipment.
According to an embodiment of the present disclosure, the health check device 700 further comprises an update module.
And the updating module is used for updating the response data displayed on the dynamic page in real time based on the newly acquired response data so as to send the updated response data to the load balancer under the condition of responding to the request for health check.
According to the embodiment of the present disclosure, the newly acquired response data may be target data set in advance, but is not limited thereto, and may be data obtained by an error response or response data whose data content is empty.
Any number of modules, sub-modules, units, sub-units, or at least some of the functionality of any number of the sub-units according to embodiments of the present disclosure may be implemented in one module. Any one or more of the modules, sub-modules, units, sub-units according to embodiments of the present disclosure may be implemented as split into multiple modules. Any one or more of the modules, sub-modules, units, sub-units according to embodiments of the present disclosure may be implemented at least in part as a hardware circuit, such as a Field Programmable Gate Array (FPGA), a Programmable Logic Array (PLA), a system-on-chip, a system-on-substrate, a system-on-package, an Application Specific Integrated Circuit (ASIC), or in any other reasonable manner of hardware or firmware that integrates or encapsulates the circuit, or in any one of or a suitable combination of three of software, hardware, and firmware. Or one or more of the modules, sub-modules, units, sub-units according to embodiments of the present disclosure may be at least partially implemented as computer program modules, which, when executed, may perform the corresponding functions.
For example, any of the request module 610, the first receiving module 620, and the determining module 630, or the second receiving module 710, and the responding module 720 may be combined in one module/unit/sub-unit, or any of the modules/units/sub-units may be split into a plurality of modules/units/sub-units. Or at least some of the functionality of one or more of these modules/units/sub-units may be combined with at least some of the functionality of other modules/units/sub-units and implemented in one module/unit/sub-unit. According to embodiments of the present disclosure, at least one of the request module 610, the first receiving module 620, and the determination module 630, or the second receiving module 710, and the response module 720 may be implemented at least in part as hardware circuitry, such as a Field Programmable Gate Array (FPGA), a Programmable Logic Array (PLA), a system on a chip, a system on a substrate, a system on a package, an Application Specific Integrated Circuit (ASIC), or may be implemented in hardware or firmware in any other reasonable way of integrating or packaging the circuitry, or in any one of or a suitable combination of any of the three. Either the request module 610, the first receiving module 620 and the determining module 630, or at least one of the second receiving module 710 and the response module 720 may be at least partly implemented as computer program modules which, when run, may perform the respective functions.
It should be noted that, in the embodiment of the present disclosure, the health check device portion corresponds to the health check method portion of the embodiment of the present disclosure, and the description of the health check device portion specifically refers to the health check method portion and is not described herein.
Fig. 8 schematically illustrates a block diagram of a computer system suitable for implementing the above-described methods, according to an embodiment of the present disclosure. The computer system illustrated in fig. 8 is merely an example, and should not be construed as limiting the functionality and scope of use of the embodiments of the present disclosure.
As shown in fig. 8, a computer system 800 according to an embodiment of the present disclosure includes a processor 801 that can perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) 802 or a program loaded from a storage section 808 into a Random Access Memory (RAM) 803. The processor 801 may include, for example, a general purpose microprocessor (e.g., a CPU), an instruction set processor and/or an associated chipset and/or special purpose microprocessor (e.g., an Application Specific Integrated Circuit (ASIC)), or the like. The processor 801 may also include on-board memory for caching purposes. The processor 801 may include a single processing unit or multiple processing units for performing the different actions of the method flows according to embodiments of the disclosure.
In the RAM 803, various programs and data required for the operation of the system 800 are stored. The processor 801, the ROM 802, and the RAM 803 are connected to each other by a bus 804. The processor 801 performs various operations of the method flow according to the embodiments of the present disclosure by executing programs in the ROM 802 and/or the RAM 803. Note that the program may be stored in one or more memories other than the ROM 802 and the RAM 803. The processor 801 may also perform various operations of the method flows according to embodiments of the present disclosure by executing programs stored in the one or more memories.
According to an embodiment of the present disclosure, the system 800 may further include an input/output (I/O) interface 805, the input/output (I/O) interface 805 also being connected to the bus 804. The system 800 may also include one or more of the following components connected to the I/O interface 805: an input portion 806 including a keyboard, mouse, etc.; an output portion 807 including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and a speaker; a storage section 808 including a hard disk or the like; and a communication section 809 including a network interface card such as a LAN card, a modem, or the like. The communication section 809 performs communication processing via a network such as the internet. The drive 810 is also connected to the I/O interface 805 as needed. A removable medium 811 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 810 as needed so that a computer program read out therefrom is mounted into the storage section 808 as needed.
According to embodiments of the present disclosure, the method flow according to embodiments of the present disclosure may be implemented as a computer software program. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable storage medium, the computer program comprising program code for performing the method shown in the flowcharts. In such an embodiment, the computer program may be downloaded and installed from a network via the communication section 809, and/or installed from the removable media 811. The above-described functions defined in the system of the embodiments of the present disclosure are performed when the computer program is executed by the processor 801. The systems, devices, apparatus, modules, units, etc. described above may be implemented by computer program modules according to embodiments of the disclosure.
The present disclosure also provides a computer-readable storage medium that may be embodied in the apparatus/device/system described in the above embodiments; or may exist alone without being assembled into the apparatus/device/system. The computer-readable storage medium carries one or more programs which, when executed, implement methods in accordance with embodiments of the present disclosure.
According to embodiments of the present disclosure, the computer-readable storage medium may be a non-volatile computer-readable storage medium. Examples may include, but are not limited to: a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the context of this disclosure, a computer-readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
For example, according to embodiments of the present disclosure, the computer-readable storage medium may include ROM 802 and/or RAM 803 and/or one or more memories other than ROM 802 and RAM 803 described above.
Embodiments of the present disclosure also include a computer program product comprising a computer program comprising program code for performing the methods provided by the embodiments of the present disclosure, the program code for causing an electronic device to implement the health check methods provided by the embodiments of the present disclosure when the computer program product is run on the electronic device.
The above-described functions defined in the system/apparatus of the embodiments of the present disclosure are performed when the computer program is executed by the processor 801. The systems, apparatus, modules, units, etc. described above may be implemented by computer program modules according to embodiments of the disclosure.
In one embodiment, the computer program may be based on a tangible storage medium such as an optical storage device, a magnetic storage device, or the like. In another embodiment, the computer program may also be transmitted, distributed, and downloaded and installed in the form of a signal on a network medium, and/or from a removable medium 811 via a communication portion 809. The computer program may include program code that may be transmitted using any appropriate network medium, including but not limited to: wireless, wired, etc., or any suitable combination of the foregoing.
According to embodiments of the present disclosure, program code for performing computer programs provided by embodiments of the present disclosure may be written in any combination of one or more programming languages, and in particular, such computer programs may be implemented in high-level procedural and/or object-oriented programming languages, and/or assembly/machine languages. Programming languages include, but are not limited to, such as Java, c++, python, "C" or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, partly on a remote computing device, or entirely on the remote computing device or server. In the case of remote computing devices, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., connected via the Internet using an Internet service provider).
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions. Those skilled in the art will appreciate that the features recited in the various embodiments of the disclosure and/or in the claims may be combined in various combinations and/or combinations, even if such combinations or combinations are not explicitly recited in the disclosure. In particular, the features recited in the various embodiments of the present disclosure and/or the claims may be variously combined and/or combined without departing from the spirit and teachings of the present disclosure. All such combinations and/or combinations fall within the scope of the present disclosure.
The embodiments of the present disclosure are described above. These examples are for illustrative purposes only and are not intended to limit the scope of the present disclosure. Although the embodiments are described above separately, this does not mean that the measures in the embodiments cannot be used advantageously in combination. The scope of the disclosure is defined by the appended claims and equivalents thereof. Various alternatives and modifications can be made by those skilled in the art without departing from the scope of the disclosure, and such alternatives and modifications are intended to fall within the scope of the disclosure.
Claims (13)
1. A health check method applied to a load balancer, comprising:
sending a health check request for a target link to an application server according to a first preset time interval, wherein the target link is a communication link between the application server and an application database;
Receiving response data sent by the application server in response to the health check request, wherein the response data is obtained by the application server from a dynamic page, the dynamic page is stored in the application server, the response data is displayed on the dynamic page, and the application server obtains data aiming at a request for obtaining target data in the application database according to a second preset time interval; and
Comparing the response data with the target data stored in the load balancer in advance to determine whether the response data is the target data;
And under the condition that the response data is the target data, determining that the target link is in a health state.
2. The method of claim 1, further comprising:
and if the response data is not the target data, determining that the target link is in an unhealthy state.
3. The method of claim 1, further comprising:
Acquiring a request for processing a service sent by a user terminal;
determining a target application server in a health state in a polling mode; and
And sending the request for processing the service to the target application server.
4. The method of claim 1, further comprising:
Acquiring a request for processing a service sent by a user terminal;
Determining a target application server in a health state by adopting a mode of minimum connection number; and
And sending the request for processing the service to the target application server.
5. A health check method is applied to an application server and comprises the following steps:
receiving a health check request for a target link sent by a load balancer according to a first preset time interval; wherein the target link is a communication link between the application server and an application database; and
Responsive to the health check request, sending response data to the load balancer so that the load balancer determines a health status of the target link based on the response data; the response data are acquired by the application server from dynamic pages, the dynamic pages are stored in the application server, the response data are displayed on the dynamic pages, and the application server is used for acquiring data obtained by requesting the application database for target data according to a second preset time interval;
wherein the load balancer determining a health status of the target link based on the response data comprises:
comparing the response data with the target data stored in the load balancer in advance to determine whether the response data is the target data;
And under the condition that the response data is the target data, determining that the target link is in a health state.
6. The method of claim 5, wherein the target link further has an application device connected thereto;
The method further comprises the steps of:
Sending a request for acquiring target data from the application database to the application equipment according to a preset second time interval; the application equipment responds to the request for acquiring the target data from the application database and performs the operation of circularly traversing the application database to acquire the target data from the application database;
and receiving the response data sent by the application equipment.
7. The method of claim 5 or 6, further comprising:
based on the newly acquired response data, the response data displayed on the dynamic page is updated in real time so as to respond to the request for health check, and the updated response data is sent to the load balancer.
8. The method of claim 7, wherein the newly acquired response data comprises one of: target data set in advance, data obtained by error response, response data whose data content is empty.
9. A health check device comprising:
The system comprises a request module, a target link and an application database, wherein the request module is used for sending a health check request for the target link to an application server according to a first preset time interval, and the target link is a communication link between the application server and the application database;
The first receiving module is used for receiving response data sent by the application server in response to the health check request, wherein the response data are acquired by the application server from dynamic pages, the dynamic pages are stored in the application server, the response data are displayed on the dynamic pages, and the application server is used for acquiring data obtained by requesting to acquire target data from the application database according to a second preset time interval; and
The comparison module is used for comparing the response data with the target data stored in the load equalizer in advance so as to determine whether the response data is the target data or not;
And the determining module is used for determining that the target link is in a health state under the condition that the response data is the target data.
10. A health check device comprising:
The second receiving module is used for receiving a health check request for the target link, which is sent by the load balancer according to a first preset time interval; the target link is a communication link between the application server and the application database; and
A response module for sending response data to the load balancer in response to the health check request, so that the load balancer determines the health status of the target link based on the response data; the response data are acquired by the application server from dynamic pages, the dynamic pages are stored in the application server, the response data are displayed on the dynamic pages, and the application server is used for acquiring data obtained by requesting the application database for target data according to a second preset time interval;
wherein the load balancer determining a health status of the target link based on the response data comprises:
comparing the response data with the target data stored in the load balancer in advance to determine whether the response data is the target data;
And under the condition that the response data is the target data, determining that the target link is in a health state.
11. A computer system, comprising:
one or more processors;
A memory for storing one or more programs,
Wherein the one or more programs, when executed by the one or more processors, cause the one or more processors to implement the method of any of claims 1-4 or any of claims 5-8.
12. A computer readable storage medium having stored thereon executable instructions which when executed by a processor cause the processor to implement the method of any one of claims 1 to 4 or any one of claims 5 to 8.
13. A computer program product comprising a computer program comprising computer executable instructions for implementing the method of any one of claims 1 to 4 or 5 to 8 when executed.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110198950.XA CN112882895B (en) | 2021-02-22 | 2021-02-22 | Health check method, device, computer system and readable storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202110198950.XA CN112882895B (en) | 2021-02-22 | 2021-02-22 | Health check method, device, computer system and readable storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112882895A CN112882895A (en) | 2021-06-01 |
CN112882895B true CN112882895B (en) | 2024-06-21 |
Family
ID=76056869
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202110198950.XA Active CN112882895B (en) | 2021-02-22 | 2021-02-22 | Health check method, device, computer system and readable storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN112882895B (en) |
Families Citing this family (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN115190047B (en) * | 2022-02-10 | 2023-07-07 | 统信软件技术有限公司 | Method, system and computing device for monitoring server health |
CN114938377B (en) * | 2022-04-20 | 2024-05-17 | 京东科技信息技术有限公司 | Back-end server management method and device, readable medium and electronic equipment |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110177028A (en) * | 2019-05-30 | 2019-08-27 | 北京字节跳动网络技术有限公司 | Distributed health examination method and device |
CN111767269A (en) * | 2020-06-24 | 2020-10-13 | 苏州紫焰网络科技有限公司 | Health detection method, device and equipment of database instance and storage medium |
Family Cites Families (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110347501A (en) * | 2019-06-20 | 2019-10-18 | 北京大米科技有限公司 | A kind of service testing method, device, storage medium and electronic equipment |
CN110581855B (en) * | 2019-09-12 | 2021-11-09 | 中国工商银行股份有限公司 | Application control method and device, electronic equipment and computer readable storage medium |
CN111651329B (en) * | 2020-06-08 | 2023-08-01 | 中国工商银行股份有限公司 | Health check method and device for application, computer system and storage medium |
CN112130936B (en) * | 2020-09-23 | 2023-12-19 | 平安科技(深圳)有限公司 | Data calling method, device, equipment and storage medium based on polling |
-
2021
- 2021-02-22 CN CN202110198950.XA patent/CN112882895B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110177028A (en) * | 2019-05-30 | 2019-08-27 | 北京字节跳动网络技术有限公司 | Distributed health examination method and device |
CN111767269A (en) * | 2020-06-24 | 2020-10-13 | 苏州紫焰网络科技有限公司 | Health detection method, device and equipment of database instance and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN112882895A (en) | 2021-06-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN112882895B (en) | Health check method, device, computer system and readable storage medium | |
CN112965916B (en) | Page testing method, page testing device, electronic equipment and readable storage medium | |
CN113900834A (en) | Data processing method, device, equipment and storage medium based on Internet of things technology | |
CN112953769B (en) | Data transmission method, device, computer system and readable storage medium | |
CN114760233B (en) | Service processing method, device, electronic equipment and storage medium | |
CN112995307A (en) | Log processing method, system, device, electronic equipment and storage medium | |
CN113132400B (en) | Business processing method, device, computer system and storage medium | |
CN114218283A (en) | Abnormality detection method, apparatus, device, and medium | |
CN113296911B (en) | Cluster calling method, cluster calling device, electronic equipment and readable storage medium | |
CN116302561A (en) | State control method, device, equipment and storage medium for application instance | |
CN116095005A (en) | Traffic management method, apparatus, device, medium, and program product | |
CN115103005A (en) | Request response method and device, electronic equipment and storage medium | |
CN114356713A (en) | Thread pool monitoring method and device, electronic equipment and storage medium | |
CN109981806B (en) | Domain name processing and registering method and system, and computer system | |
CN114443666A (en) | Data processing method, device, electronic equipment and medium | |
CN112769960A (en) | Active flow control method and system based on Nginx server | |
CN115333871B (en) | Firewall operation and maintenance method and device, electronic equipment and readable storage medium | |
CN114938341B (en) | Environment detection method and device, electronic equipment and storage medium | |
CN114117449B (en) | Testing method, device, electronic device and medium based on hidden parameter mining | |
CN114285743B (en) | Method, device, electronic equipment and storage medium for updating configuration information | |
CN116016646B (en) | Service access control method, device, equipment and medium | |
CN115514650B (en) | Bandwidth management method, device, medium and electronic equipment under current limiting scene | |
CN116074367B (en) | Data processing method, device, electronic device and storage medium | |
CN113760835B (en) | Log management method, middle platform system, electronic equipment and storage medium | |
CN109992428B (en) | Data processing method and system |
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 | ||
GR01 | Patent grant | ||
GR01 | Patent grant |