CN113765960A - Operation and maintenance flow cutting method and system - Google Patents

Operation and maintenance flow cutting method and system Download PDF

Info

Publication number
CN113765960A
CN113765960A CN202010622608.3A CN202010622608A CN113765960A CN 113765960 A CN113765960 A CN 113765960A CN 202010622608 A CN202010622608 A CN 202010622608A CN 113765960 A CN113765960 A CN 113765960A
Authority
CN
China
Prior art keywords
server
reverse proxy
flow
flow switching
connection
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.)
Granted
Application number
CN202010622608.3A
Other languages
Chinese (zh)
Other versions
CN113765960B (en
Inventor
周鑫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology Co Ltd
Original Assignee
Beijing Jingdong Century Trading Co Ltd
Beijing Jingdong Shangke Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Jingdong Century Trading Co Ltd, Beijing Jingdong Shangke Information Technology Co Ltd filed Critical Beijing Jingdong Century Trading Co Ltd
Priority to CN202010622608.3A priority Critical patent/CN113765960B/en
Publication of CN113765960A publication Critical patent/CN113765960A/en
Application granted granted Critical
Publication of CN113765960B publication Critical patent/CN113765960B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control

Abstract

The invention discloses an operation and maintenance flow cutting method and system, and relates to the technical field of computers. One embodiment of the method comprises: receiving a version release request transmitted by a client, and determining a back-end server and a reverse proxy server associated with the back-end server based on an IP address in the version release request; transmitting a flow switching instruction to a proxy process configured in a reverse proxy server so as to perform flow switching operation on the back-end server through the proxy process and acquire the connection quantity connected to the back-end server through the reverse proxy server; and receiving the connection quantity uploaded by the agent process, if the connection quantity is zero, determining that the flow switching is successful, generating information of a version which can be released, and transmitting the information to the client. The embodiment adopts the proxy process of the reverse proxy server, and can report the real flow situation in real time by matching the flow sensing with the high-performance cache; the central control system controls the flow cutting task according to the residual flow, and can achieve the purpose of high reliability and fine automatic flow cutting.

Description

Operation and maintenance flow cutting method and system
Technical Field
The invention relates to the technical field of computers, in particular to an operation and maintenance flow cutting method and system.
Background
With the development of internet micro-services, more and more industries use a clustering mode to manage online production systems. As the requirement of the production system for reliability is gradually increased, new services are more and more difficult to be brought online, for example, how to ensure that the real flow of a user is not affected by service interruption of online in the production system, and stream switching becomes more important.
Referring to fig. 1, 2 sets of backend servers are deployed, each backend server having associated with it a reverse proxy server. The technical means adopted at present comprise: cut off the flow from DNS (domain name System) to shut off the traffic of the reverse proxy server 2, or cut off the flow directly from the reverse proxy server 2.
In the process of implementing the invention, the inventor finds that the prior art has at least the following problems:
the flow switching from the DNS and the flow switching from the reverse proxy server both need manual intervention to monitor whether the flow switching operation is correct and the flow residual condition. And the number of the rear-end servers in the production environment is large, if the production environment depends on manual intervention, the labor cost is high, mistakes are easy to occur, and once the production environment is unattended, the whole flow switching operation cannot be completed.
Disclosure of Invention
In view of this, embodiments of the present invention provide an operation and maintenance flow cutting method and system, which can at least solve the problem that the prior art cannot implement highly reliable and refined automatic operation and maintenance flow cutting.
To achieve the above object, according to an aspect of the embodiments of the present invention, there is provided an operation and maintenance cut flow method applied to a version release scenario, including:
receiving a version release request transmitted by a client, and determining a back-end server and a reverse proxy server associated with the back-end server based on an IP address in the version release request;
transmitting a flow switching instruction to a proxy process configured in the reverse proxy server, so as to perform flow switching operation on the back-end server through the proxy process and acquire a connection quantity connected to the back-end server through the reverse proxy server;
and receiving the connection quantity uploaded by the agent process, if the connection quantity is zero, determining that the flow switching is successful, generating information of a version which can be released, and transmitting the information to the client.
Optionally, the determining a backend server and a reverse proxy server associated with the backend server based on the IP address in the version release request further includes:
acquiring the offline occupation ratio of the rear-end servers in the version release request, and determining the number of the offline rear-end servers by combining the total number of the current front-end and rear-end servers;
and extracting the IP addresses of the back-end servers corresponding to the quantity according to the sequence among the back-end servers.
Optionally, the receiving the connection amount uploaded by the agent process further includes:
subscribing to the connection volume in a cache component; and the proxy process reports the acquired connection quantity to the cache component.
Optionally, performing a stream switching operation on the back-end server through the proxy process includes:
and the proxy process sets the state of the back-end server to be a down-line state in the reverse proxy server so as to execute connection rejection operation when the reverse proxy server receives a new connection request.
In order to achieve the above object, according to another aspect of the embodiments of the present invention, there is provided an operation and maintenance cut flow system applied to a version release scenario, including a central control system and a proxy process, where the proxy process is configured in a reverse proxy server, including:
the central control system is used for receiving a version release request transmitted by a client, and determining a back-end server and a reverse proxy server associated with the back-end server based on an IP address in the version release request; transmitting a flow switching instruction to an agent process configured in the reverse agent server, then receiving a connection quantity uploaded by the agent process, if the connection quantity is zero, determining that the flow switching is successful, generating information of a version which can be released, and transmitting the information to the client;
and the proxy process is used for performing flow switching operation on the back-end server, acquiring the connection quantity connected to the back-end server through the reverse proxy server, and uploading the connection quantity to the central control system.
Optionally, the agent process is configured to perform a stream switching operation on the back-end server, and includes: and the proxy process sets the state of the back-end server to be a down-line state in the reverse proxy server so as to execute connection rejection operation when the reverse proxy server receives a new connection request.
Optionally, the determining a backend server and a reverse proxy server associated with the backend server based on the IP address in the version release request further includes:
acquiring the offline occupation ratio of the rear-end servers in the version release request, and determining the number of the offline rear-end servers by combining the total number of the current front-end and rear-end servers;
and extracting the IP addresses of the back-end servers corresponding to the quantity according to the sequence among the back-end servers.
Optionally, the system further includes a cache component, configured to: receiving the connection quantity uploaded by the agent process; and
and receiving the subscription of the central control system to the connection quantity in the cache component.
To achieve the above object, according to still another aspect of the embodiments of the present invention, an operation and maintenance flow-cutting electronic device is provided.
The electronic device of the embodiment of the invention comprises: one or more processors; a storage system, configured to store one or more programs, and when the one or more programs are executed by the one or more processors, enable the one or more processors to implement any one of the operation and maintenance flow switching methods described above.
To achieve the above object, according to a further aspect of the embodiments of the present invention, there is provided a computer readable medium, on which a computer program is stored, where the computer program is executed by a processor to implement any one of the operation and maintenance flow switching methods described above.
According to the scheme provided by the invention, one embodiment of the invention has the following advantages or beneficial effects: the proxy process is configured in the reverse proxy server, so that the operations of flow switching and connection quantity statistics can be completed, the existing manual service is replaced, and the reliability is higher; by combining with a central control system, the fine granularity of the cut flow can reach a single rear-end server, the residual condition of the cut flow is detected in real time, the cut flow task is controlled according to the actual cut flow condition, and the automatic and highly reliable fine cut flow is realized
Further effects of the above-mentioned non-conventional alternatives will be described below in connection with the embodiments.
Drawings
The drawings are included to provide a better understanding of the invention and are not to be construed as unduly limiting the invention. Wherein:
FIG. 1 is a schematic diagram of a prior art operation and maintenance cut flow;
FIG. 2 is a schematic flow chart of an operation and maintenance flow cutting method according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of the interaction between the central control system, the agent process and the cache components;
FIG. 4 is a schematic diagram of a main structure of an operation and maintenance flow-cutting system according to an embodiment of the present invention;
FIG. 5 is a schematic diagram of the main structure of an alternative operation and maintenance flow-cutting system according to an embodiment of the present invention;
FIG. 6 is an exemplary system architecture diagram in which embodiments of the present invention may be employed;
FIG. 7 is a schematic block diagram of a computer system suitable for use with a mobile device or server implementing an embodiment of the invention.
Detailed Description
Exemplary embodiments of the present invention are described below with reference to the accompanying drawings, in which various details of embodiments of the invention are included to assist understanding, and which are to be considered as merely exemplary. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.
It should be noted that the present solution is applied to a business online scenario, and business online is usually implemented by releasing a new version, so that the version release scenario is used for description. In addition, the server in the scheme is a backend server (for example, http service), is independent of an operating device and an operating system, and only considers how to switch traffic, and does not relate to how to switch traffic to other backend servers or other clusters.
Referring to fig. 2, a schematic main flow chart of an operation, maintenance and flow cutting method according to an embodiment of the present invention is shown, including the following steps:
s201: receiving a version release request transmitted by a client, and determining a back-end server and a reverse proxy server associated with the back-end server based on an IP address in the version release request;
s202: transmitting a flow switching instruction to a proxy process configured in the reverse proxy server, so as to perform flow switching operation on the back-end server through the proxy process and acquire a connection quantity connected to the back-end server through the reverse proxy server;
s203: and receiving the connection quantity uploaded by the agent process, if the connection quantity is zero, determining that the flow switching is successful, generating information of a version which can be released, and transmitting the information to the client.
In the above embodiment, in step S201, the client, that is, the device operated by the on-line staff, for example, the revops system, sends a version release request to the central control system, where the request usually carries the IP address of the back-end server that needs to be offline.
In practice, the version release request may not directly carry the IP address, but rather a duty of the backend server that needs to be taken offline, e.g. 30%. Assuming that the total number of current (normal operation) backend servers is 100, the number of the backend servers needing to be offline is 30 by taking the total number of the current (normal operation) backend servers.
The determining mode of the back-end server needing to be offline is various:
1) randomly selecting;
2) extracting the back-end servers corresponding to the quantity according to the sequence (including the sequence or the reverse sequence) of the back-end servers;
3) considering the fast completion of the cut flow, the connection amount of the back-end servers can be counted, the connection amount is sorted from small to large, and then the back-end servers of the number are extracted according to the sorting order.
Before the interaction with the agent process is carried out, the connection amount at the position mainly depends on manual execution, for example, the connection amount is checked through a status interface of nginx, but the current connection amount needs to be refreshed on each back-end server, the operation is complex, and therefore the scheme mainly adopts the former two modes to execute.
The reverse proxy server is located between the user and the back-end server, but for the user, the reverse proxy server is equivalent to the back-end server, that is, the user can obtain the resources on the back-end server by directly accessing the reverse proxy server. Therefore, after determining the backend server according to the IP address, it is necessary to determine the reverse proxy server associated with the backend server.
For step S202, the proxy process is configured in the reverse proxy server, and is configured to interact with the central control system, receive a flow switching instruction issued by the central control system, and execute a flow switching operation to replace a manual operation, specifically:
1) disconnecting the back-end server in the execution plan, namely changing the state of the back-end server from an online state to an offline state in the reverse proxy server, so as to execute refusal operation when the reverse proxy server receives a new connection request;
2) and regularly polling the connection quantity connected to the back-end server through the reverse proxy server and reporting to the central control system.
When the number of the back-end servers needing to be offline is large, the number of the agent processes interacting with the central control system is also large. In order to reduce the service pressure of the central control system, a (high performance) cache component may be provided between the agent process and the central control system. And the agent process reports the polled connection quantity to the cache component, and then the central control system subscribes the flow switching result in the cache component.
For step S203, the central control system determines whether the connection quantity of each IP address still remains through the connection quantity reported by the agent process, and if so, continues to wait; if not, returning the information of the on-line service/release version of the client to carry out the original on-line logic.
The overall operation interaction diagram is shown in fig. 3:
1. the client sends a version release request to the central control system; the request carries the IP address of the back-end server needing to be offline, or the occupation ratio of the back-end server perhaps offline, and then the central control system calculates the back-end servers needing to be offline;
2. the central control system determines a back-end server needing offline and a reverse proxy server associated with the back-end server according to the IP address;
3. the central control system generates a flow switching instruction and transmits the flow switching instruction to an agent process configured in a reverse agent server;
4. after receiving a flow switching instruction issued by a central control system, the proxy process changes the state of a back-end server from an online state to an offline state in a reverse proxy server;
5. after the state is changed, acquiring the connection quantity of the back-end server connected through the reverse proxy server;
6. the agent process reports the connection amount to the cache component;
7. the central control component subscribes the connection quantity in the cache component;
8. if the connection quantity corresponding to each IP address is not 0, continuing waiting;
9. and if the number of the versions is 0, generating information of the version which can be released and returning the information to the client.
The method provided by the embodiment has the advantages that the proxy process is configured in the reverse proxy server, the flow switching and the connection quantity counting operation can be completed, the existing manual service is replaced, and the reliability is high; and by combining a central control system, the fine granularity of the cut flow can reach a single rear-end server, the residual condition of the cut flow is detected in real time, the cut flow task is controlled according to the actual cut flow condition, and the automatic and high-reliability fine cut flow is realized.
Referring to fig. 4, a schematic diagram of a main structure of an operation, maintenance and flow-cutting system according to an embodiment of the present invention is shown, which includes the following steps:
the central control system is used for receiving the version release request transmitted by the client and determining a back-end server and a reverse proxy server associated with the back-end server based on the IP address in the version release request; transmitting a flow switching instruction to an agent process configured in the reverse agent server, then receiving a connection quantity uploaded by the agent process, if the connection quantity is zero, determining that the flow switching is successful, generating information of a version which can be released, and transmitting the information to the client;
and the proxy process is used for performing flow switching operation on the back-end server, acquiring the connection quantity connected to the back-end server through the reverse proxy server and uploading the connection quantity to the central control system.
In the above implementation system, two components, namely a central control system and an agent process, are provided, wherein the agent process is deployed in each reverse proxy server, and the number of the central control system is usually one, so as to interact with a plurality of agent processes.
In addition to the central control component and the proxy process, the system further includes a cache component for receiving the connection amount uploaded by the proxy process, and receiving a subscription of the central control system to the connection amount in the cache component, as shown in fig. 5.
The system according to the embodiment of the present invention is implemented in the above method, and therefore, the repeated description is not repeated here.
The system provided by the embodiment adopts the embedded script of the reverse proxy server, and can report the real flow situation in real time by matching the flow sensing with the high-performance cache; the central control system controls the flow switching task according to the residual flow, and can realize highly reliable and refined unattended automatic flow switching.
FIG. 6 illustrates an exemplary system architecture 600 to which embodiments of the invention may be applied.
As shown in fig. 6, the system architecture 600 may include terminal devices 601, 602, 603, a network 604, and a server 605 (by way of example only). The network 604 serves to provide a medium for communication links between the terminal devices 601, 602, 603 and the server 605. Network 604 may include various types of connections, such as wire, wireless communication links, or fiber optic cables, to name a few.
A user may use the terminal devices 601, 602, 603 to interact with the server 605 via the network 604 to receive or send messages or the like. Various communication client applications can be installed on the terminal devices 601, 602, 603.
The terminal devices 601, 602, 603 may be various electronic devices having display screens and supporting web browsing. The server 605 may be a server that provides various services. It should be noted that the method provided by the embodiment of the present invention is generally executed by the server 605, and accordingly, the system is generally disposed in the server 605.
It should be understood that the number of terminal devices, networks, and servers in fig. 6 is merely illustrative. There may be any number of terminal devices, networks, and servers, as desired for implementation.
Referring now to FIG. 7, shown is a block diagram of a computer system 700 suitable for use with a terminal device implementing an embodiment of the present invention. The terminal device shown in fig. 7 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present invention.
As shown in fig. 7, the computer system 700 includes a Central Processing Unit (CPU)701, which can perform various appropriate actions and processes in accordance with a program stored in a Read Only Memory (ROM)702 or a program loaded from a storage section 708 into a Random Access Memory (RAM) 703. In the RAM 703, various programs and data necessary for the operation of the system 700 are also stored. The CPU 701, the ROM 702, and the RAM 703 are connected to each other via a bus 704. An input/output (I/O) interface 705 is also connected to bus 704.
The following components are connected to the I/O interface 705: an input portion 706 including a keyboard, a mouse, and the like; an output section 707 including a display such as a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, and a speaker; a storage section 708 including a hard disk and the like; and a communication section 709 including a network interface card such as a LAN card, a modem, or the like. The communication section 709 performs communication processing via a network such as the internet. A drive 710 is also connected to the I/O interface 705 as needed. A removable medium 711 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 710 as necessary, so that a computer program read out therefrom is mounted into the storage section 708 as necessary.
In particular, according to the embodiments of the present disclosure, the processes described above with reference to the flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method illustrated in the flow chart. In such an embodiment, the computer program can be downloaded and installed from a network through the communication section 709, and/or installed from the removable medium 711. The computer program performs the above-described functions defined in the system of the present invention when executed by the Central Processing Unit (CPU) 701.
It should be noted that the computer readable medium shown in the present invention can be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, 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), an optical fiber, 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 present invention, 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, or device. In the present invention, however, a computer readable signal medium may include a propagated data signal with computer readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, or device. Program code embodied on a computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wire, fiber optic cable, RF, etc., or any suitable combination of the foregoing.
The flowchart 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 invention. 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.
The modules described in the embodiments of the present invention may be implemented by software or hardware. The described modules may also be provided in a processor, which may be described as: a processor includes a central control system, an agent process, and a cache component. Where the names of these modules do not in some cases constitute a limitation on the modules themselves, for example, a cache component may also be described as "cache".
As another aspect, the present invention also provides a computer-readable medium that may be contained in the apparatus described in the above embodiments; or may be separate and not incorporated into the device. The computer readable medium carries one or more programs which, when executed by a device, cause the device to comprise:
receiving a version release request transmitted by a client, and determining a back-end server and a reverse proxy server associated with the back-end server based on an IP address in the version release request;
transmitting a flow switching instruction to a proxy process configured in the reverse proxy server, so as to perform flow switching operation on the back-end server through the proxy process and acquire a connection quantity connected to the back-end server through the reverse proxy server;
and receiving the connection quantity uploaded by the agent process, if the connection quantity is zero, determining that the flow switching is successful, generating information of a version which can be released, and transmitting the information to the client.
According to the technical scheme of the embodiment of the invention, the proxy process is configured in the reverse proxy server, the operations of flow switching and connection quantity statistics can be completed, the existing manual service is replaced, and the reliability is higher; and by combining a central control system, the fine granularity of the cut flow can reach a single rear-end server, the residual condition of the cut flow is detected in real time, the cut flow task is controlled according to the actual cut flow condition, and the automatic and high-reliability fine cut flow is realized.
The above-described embodiments should not be construed as limiting the scope of the invention. Those skilled in the art will appreciate that various modifications, combinations, sub-combinations, and substitutions can occur, depending on design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. An operation, maintenance and flow switching system applied to a version release scene comprises a central control system and an agent process, wherein the agent process is configured in a reverse agent server, and the operation, maintenance and flow switching system is characterized by comprising:
the central control system is used for receiving a version release request transmitted by a client, and determining a back-end server and a reverse proxy server associated with the back-end server based on an IP address in the version release request; transmitting a flow switching instruction to an agent process configured in the reverse agent server, then receiving a connection quantity uploaded by the agent process, if the connection quantity is zero, determining that the flow switching is successful, generating information of a version which can be released, and transmitting the information to the client;
and the proxy process is used for performing flow switching operation on the back-end server, acquiring the connection quantity connected to the back-end server through the reverse proxy server, and uploading the connection quantity to the central control system.
2. The system of claim 1, wherein the proxy process, configured to perform a cut-flow operation on the backend server, comprises:
and the proxy process sets the state of the back-end server to be a down-line state in the reverse proxy server so as to execute connection rejection operation when the reverse proxy server receives a new connection request.
3. The system of claim 1, wherein the determining a backend server and a reverse proxy server associated with the backend server based on the IP address in the version issue request further comprises:
acquiring the offline occupation ratio of the rear-end servers in the version release request, and determining the number of the offline rear-end servers by combining the total number of the current front-end and rear-end servers;
and extracting the IP addresses of the back-end servers corresponding to the quantity according to the sequence among the back-end servers.
4. The system of any of claims 1-3, further comprising a caching component to:
receiving the connection quantity uploaded by the agent process; and
and receiving the subscription of the central control system to the connection quantity in the cache component.
5. An operation, maintenance and flow switching method is applied to a version release scene and is characterized by comprising the following steps:
receiving a version release request transmitted by a client, and determining a back-end server and a reverse proxy server associated with the back-end server based on an IP address in the version release request;
transmitting a flow switching instruction to a proxy process configured in the reverse proxy server, so as to perform flow switching operation on the back-end server through the proxy process and acquire a connection quantity connected to the back-end server through the reverse proxy server;
and receiving the connection quantity uploaded by the agent process, if the connection quantity is zero, determining that the flow switching is successful, generating information of a version which can be released, and transmitting the information to the client.
6. The method of claim 5, wherein determining a backend server and a reverse proxy server associated with the backend server based on the IP address in the version issue request further comprises:
acquiring the offline occupation ratio of the rear-end servers in the version release request, and determining the number of the offline rear-end servers by combining the total number of the current front-end and rear-end servers;
and extracting the IP addresses of the back-end servers corresponding to the quantity according to the sequence among the back-end servers.
7. The method of claim 5, wherein receiving the connection volume uploaded by the proxy process further comprises:
subscribing to the connection volume in a cache component; and the proxy process reports the acquired connection quantity to the cache component.
8. The method of claim 5, wherein performing a stream cut operation on the backend server through the proxy process comprises:
and the proxy process sets the state of the back-end server to be a down-line state in the reverse proxy server so as to execute connection rejection operation when the reverse proxy server receives a new connection request.
9. An electronic device, comprising:
one or more processors;
a storage system for storing one or more programs,
when executed by the one or more processors, cause the one or more processors to implement the method of any one of claims 5-8.
10. A computer-readable medium, on which a computer program is stored, which, when being executed by a processor, carries out the method according to any one of claims 5-8.
CN202010622608.3A 2020-07-01 2020-07-01 Operation and maintenance tangential flow method, system and computer readable medium Active CN113765960B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010622608.3A CN113765960B (en) 2020-07-01 2020-07-01 Operation and maintenance tangential flow method, system and computer readable medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010622608.3A CN113765960B (en) 2020-07-01 2020-07-01 Operation and maintenance tangential flow method, system and computer readable medium

Publications (2)

Publication Number Publication Date
CN113765960A true CN113765960A (en) 2021-12-07
CN113765960B CN113765960B (en) 2023-12-05

Family

ID=78785428

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010622608.3A Active CN113765960B (en) 2020-07-01 2020-07-01 Operation and maintenance tangential flow method, system and computer readable medium

Country Status (1)

Country Link
CN (1) CN113765960B (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107682205A (en) * 2017-11-01 2018-02-09 北京奇艺世纪科技有限公司 On-line message dissemination method, device and electronic equipment
CN109683936A (en) * 2018-12-20 2019-04-26 恒生电子股份有限公司 Gray scale dissemination method and device, storage medium and electronic equipment
CN109726099A (en) * 2018-04-12 2019-05-07 平安普惠企业管理有限公司 A kind of application gray scale dissemination method, device and equipment
CN110750278A (en) * 2019-09-24 2020-02-04 苏宁云计算有限公司 Gray scale distribution method and device, routing equipment and storage medium
CN111030839A (en) * 2019-11-04 2020-04-17 厦门亿联网络技术股份有限公司 Method, device and equipment for automatically switching operation and maintenance modes and storage medium
CN111090452A (en) * 2019-11-11 2020-05-01 福建天泉教育科技有限公司 Service environment switching method and computer-readable storage medium

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107682205A (en) * 2017-11-01 2018-02-09 北京奇艺世纪科技有限公司 On-line message dissemination method, device and electronic equipment
CN109726099A (en) * 2018-04-12 2019-05-07 平安普惠企业管理有限公司 A kind of application gray scale dissemination method, device and equipment
CN109683936A (en) * 2018-12-20 2019-04-26 恒生电子股份有限公司 Gray scale dissemination method and device, storage medium and electronic equipment
CN110750278A (en) * 2019-09-24 2020-02-04 苏宁云计算有限公司 Gray scale distribution method and device, routing equipment and storage medium
CN111030839A (en) * 2019-11-04 2020-04-17 厦门亿联网络技术股份有限公司 Method, device and equipment for automatically switching operation and maintenance modes and storage medium
CN111090452A (en) * 2019-11-11 2020-05-01 福建天泉教育科技有限公司 Service environment switching method and computer-readable storage medium

Also Published As

Publication number Publication date
CN113765960B (en) 2023-12-05

Similar Documents

Publication Publication Date Title
CN112860451A (en) Multi-tenant data processing method and device based on SaaS
CN111478781B (en) Message broadcasting method and device
CN113361838A (en) Business wind control method and device, electronic equipment and storage medium
CN116627333A (en) Log caching method and device, electronic equipment and computer readable storage medium
CN111510480B (en) Request sending method and device and first server
CN112948138A (en) Method and device for processing message
CN113765960A (en) Operation and maintenance flow cutting method and system
CN114070889A (en) Configuration method, traffic forwarding method, device, storage medium, and program product
CN114049065A (en) Data processing method, device and system
CN112688982B (en) User request processing method and device
CN111290873B (en) Fault processing method and device
CN113141236A (en) Message processing method and device
CN113761433A (en) Service processing method and device
CN112579447A (en) Browser testing method and device
CN114090397A (en) Alarm information processing method and device
CN112783716B (en) Monitoring method and device
CN112181699B (en) Fault isolation method and device and multilayer fault isolation system
US11526499B2 (en) Adaptively updating databases of publish and subscribe systems using optimistic updates
CN113132447A (en) Reverse proxy method and system
CN115545861A (en) Method, device, equipment and computer readable medium for data interaction
CN114490128A (en) Data storage method and device under remote multi-active architecture
CN113760523A (en) Redis high hot spot data migration method
CN113076256A (en) Pressure testing method and device
CN111199000A (en) Method and device for processing request
CN113778660A (en) System and method for managing hot spot data

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