CN113765960B - Operation and maintenance tangential flow method, system and computer readable medium - Google Patents

Operation and maintenance tangential flow method, system and computer readable medium Download PDF

Info

Publication number
CN113765960B
CN113765960B CN202010622608.3A CN202010622608A CN113765960B CN 113765960 B CN113765960 B CN 113765960B CN 202010622608 A CN202010622608 A CN 202010622608A CN 113765960 B CN113765960 B CN 113765960B
Authority
CN
China
Prior art keywords
server
end server
reverse proxy
proxy
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.)
Active
Application number
CN202010622608.3A
Other languages
Chinese (zh)
Other versions
CN113765960A (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

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses an operation and maintenance tangential flow method and system, and relates to the technical field of computers. One embodiment of the method comprises 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 cut-stream instruction to a proxy process configured in the reverse proxy server to perform a cut-stream operation on the back-end server through the proxy process, and acquiring a connection quantity connected to the back-end server through the reverse proxy server; and receiving the connection quantity uploaded by the proxy process, if the connection quantity is zero, determining that the streaming is successful, generating information capable of releasing the version and transmitting the information to the client. The embodiment adopts the proxy process of the reverse proxy server, and the real flow condition can be reported in real time through the cooperation of flow sensing and high-performance caching; 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 tangential flow method, system and computer readable medium
Technical Field
The invention relates to the technical field of computers, in particular to an operation and maintenance tangential flow method and system.
Background
With the development of internet micro-services, more and more industries use clustered ways to manage online production systems. With the gradual increase of the reliability requirements of the production system, new service online becomes more and more difficult, for example, in the production system, the current cutting becomes important to ensure that the real flow of the user is not affected by the online service interruption.
Referring to fig. 1, 2 sets of backend servers are deployed, each of which is associated with a reverse proxy server. The currently adopted technical means comprise: cut from DNS (DomainName System ) to shut down reverse proxy server 2 traffic, or cut directly from reverse proxy server 2.
In carrying out the present invention, the inventors have found that at least the following problems exist in the prior art:
both the cut from DNS and the cut from reverse proxy require human intervention to monitor whether the cut operation is correct and the traffic remains. And the number of the rear-end servers in the production environment is large, if the rear-end servers depend on manual intervention, the labor consumption cost is high, the mistakes are easy to occur, and once the rear-end servers are unattended, the whole tangential operation cannot be completed.
Disclosure of Invention
In view of this, the embodiments of the present invention provide an operation and maintenance tangential flow method and system, which at least can solve the problem that the prior art cannot realize high-reliability and fine automatic operation and maintenance tangential flow.
To achieve the above object, according to an aspect of an embodiment of the present invention, there is provided an operation and maintenance tangential 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 cut-flow instruction to a proxy process configured in the reverse proxy server, so as to perform cut-flow operation on the back-end server through the proxy process, and acquiring a connection quantity connected to the back-end server through the reverse proxy server;
and receiving the connection quantity uploaded by the proxy process, if the connection quantity is zero, determining that the streaming is successful, generating information capable of releasing the version and transmitting the information to the client.
Optionally, the determining, based on the IP address in the version release request, a backend server and a reverse proxy server associated with the backend server further includes:
acquiring the offline ratio of the back-end servers in the version release request, and determining the number of the offline back-end servers by combining the total number of the current back-end servers;
and extracting the IP addresses of the back-end servers corresponding to the number according to the ordering among the back-end servers.
Optionally, the receiving the connection amount uploaded by the proxy process further includes:
subscribing to the connection volume in the cache component; and the proxy process reports the acquired connection quantity to the cache component.
Optionally, the performing, by the proxy process, a tangential flow operation on the backend server includes:
the proxy process sets the state of the back-end server to be in a offline state in the reverse proxy server so as to execute connection rejection operation when the reverse proxy server receives a new connection request.
To achieve the above object, according to another aspect of the embodiments of the present invention, there is provided an operation and maintenance tangential 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, and the operation and maintenance tangential flow 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 streaming cutting instruction to an agent process configured in the reverse proxy server, then receiving connection quantity uploaded by the agent process, if the connection quantity is zero, determining that streaming cutting is successful, generating information capable of releasing a version and transmitting the information to the client;
and the proxy process is used for carrying out tangential operation on the back-end server, and acquiring the connection quantity connected to the back-end server through the reverse proxy server so as to upload the connection quantity to the central control system.
Optionally, the proxy process is configured to perform a tangential flow operation on the backend server, and includes: the proxy process sets the state of the back-end server to be in a offline 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, based on the IP address in the version release request, a backend server and a reverse proxy server associated with the backend server further includes:
acquiring the offline ratio of the back-end servers in the version release request, and determining the number of the offline back-end servers by combining the total number of the current back-end servers;
and extracting the IP addresses of the back-end servers corresponding to the number according to the ordering among the back-end servers.
Optionally, the system further comprises a buffer component for: receiving the connection quantity uploaded by the proxy 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, there is provided an operation and maintenance tangential electronic device.
The electronic equipment of the embodiment of the invention comprises: one or more processors; and the storage system is used for storing one or more programs, and when the one or more programs are executed by the one or more processors, the one or more processors are enabled to realize the operation and maintenance tangential flow method.
To achieve the above object, according to still another aspect of the embodiments of the present invention, there is provided a computer readable medium having stored thereon a computer program, which when executed by a processor, implements any of the above-described operation and maintenance tangential methods.
According to the solution provided by the present invention, one embodiment of the above invention has the following advantages or beneficial effects: the proxy process is configured in the reverse proxy server, so that the tangential flow and statistical connection quantity operation can be completed, the existing manual service is replaced, and the reliability is high; by combining a central control system, the tangential flow fine granularity can reach a single back-end server, the tangential flow residual condition is detected in real time, and the tangential flow task is controlled according to the actual tangential flow condition, so that the automatic and highly-reliable fine tangential flow is realized
Further effects of the above-described non-conventional alternatives are 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 tangential flow;
FIG. 2 is a schematic flow diagram of an operation and maintenance tangential flow method according to an embodiment of the invention;
FIG. 3 is a schematic diagram of interactions between a central control system, proxy processes, and cache components;
FIG. 4 is a schematic diagram of the main structure of an operation and maintenance tangential flow system according to an embodiment of the invention;
FIG. 5 is a schematic diagram of the main structure of an alternative operation and maintenance tangential flow system according to an embodiment of the invention;
FIG. 6 is an exemplary system architecture diagram in which embodiments of the present invention may be applied;
fig. 7 is a schematic diagram of a computer system suitable for use in implementing a mobile device or server of an embodiment of the invention.
Detailed Description
Exemplary embodiments of the present invention will now be described with reference to the accompanying drawings, in which various details of the embodiments of the present invention are included to facilitate understanding, and are to be considered 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 service online scenario, and service online is usually implemented by releasing a new version, so that description is performed in a version release scenario. In addition, the server in the scheme is a back-end server (such as an http service), is irrelevant to the operation device and the operation system, only considers how to switch traffic, and does not temporarily relate to how to switch traffic into other back-end servers or other clusters.
Referring to fig. 2, a main flow diagram of an operation and maintenance tangential flow 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 cut-flow instruction to a proxy process configured in the reverse proxy server, so as to perform cut-flow operation on the back-end server through the proxy process, and acquiring a connection quantity connected to the back-end server through the reverse proxy server;
s203: and receiving the connection quantity uploaded by the proxy process, if the connection quantity is zero, determining that the streaming is successful, generating information capable of releasing the version and transmitting the information to the client.
In the above embodiment, for step S201, the client, i.e., the device operated by the service online operator, for example, the devots 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 may require a back-end server of 30% duty cycle, for example, off-line. Assuming that the total number of current (normal running) backend servers is 100, the number of backend servers to be offline is 30 by taking the ratio of the total number.
The determination modes for the back-end server needing to be offline are various:
1) Randomly selecting;
2) Extracting the back-end servers corresponding to the number according to the ordering (including sequence or reverse order) of the back-end servers;
3) Considering the quick completion of the tangential flow, the connection amounts to each back-end server may be counted and ordered in order from small to large, after which the number of back-end servers is extracted in the order of order.
Before interacting with the proxy process, the connection amount is mainly performed manually, for example, checked through a status interface of the nginx, but the current connection amount needs to be refreshed on each back-end server, and the operation is complex, so the scheme is mainly performed in the former two modes.
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, i.e., the user can obtain the resources on the back-end server by directly accessing the reverse proxy server. Therefore, after the backend server is determined according to the IP address, a reverse proxy server associated with the backend server needs to be determined.
For step S202, the proxy process is configured in the reverse proxy server, and is configured to interact with the central control system, receive the tangential flow instruction issued by the central control system, and execute the tangential flow operation instead of the 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 a offline state in the reverse proxy server, so as to execute rejection operation when the reverse proxy server receives a new connection request;
2) The timing poll is used for reporting the connection quantity of the back-end server connected with the reverse proxy server to the central control system.
When the number of the back-end servers needing to be offline is large, the number of proxy processes interacting with the central control system is also large. To reduce the service pressure of the central control system, a (high performance) cache component may be provided between the proxy process and the central control system. The agent process reports the polled connection quantity to the cache component, and then the central control system subscribes to the tangential flow result in the cache component.
For step S203, the central control system judges whether the connection amount of each IP address remains through the connection amount reported by the proxy process, if so, the central control system continues to wait; if not, returning the information of the online service/release version of the client to perform the original online 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 which needs to be disconnected, perhaps the duty ratio of the back-end server which needs to be disconnected, and then the central control system calculates the back-end servers which need to be disconnected;
2. the central control system determines a back-end server needing to be offline and a reverse proxy server associated with the back-end server according to the IP address;
3. the central control system generates a tangential flow instruction and transmits the tangential flow instruction to a proxy process configured in the reverse proxy server;
4. after receiving a tangential flow instruction issued by the central control system, the proxy process changes the state of the back-end server from an online state to a offline state in the reverse proxy server;
5. after the state is changed, obtaining the connection quantity connected to the back-end server through the reverse proxy server;
6. the proxy process reports the connection quantity 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. if the version information is 0, information of the release version is generated and returned to the client.
According to the method provided by the embodiment, the proxy process is configured in the reverse proxy server, so that the tangential flow operation and the connection quantity statistics operation can be completed, the existing manual service is replaced, and the reliability is high; by combining the central control system, the tangential flow fine granularity can reach a single back-end server, the tangential flow residual condition is detected in real time, and the tangential flow task is controlled according to the actual tangential flow condition, so that the automatic and highly-reliable fine tangential flow is realized.
Referring to fig. 4, a schematic structural diagram of an operation and maintenance tangential flow system provided by an embodiment of the present invention is shown, including 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 streaming cutting instruction to an agent process configured in the reverse proxy server, then receiving connection quantity uploaded by the agent process, if the connection quantity is zero, determining that streaming cutting is successful, generating information capable of releasing a version and transmitting the information to the client;
and the proxy process is used for carrying out the tangential 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 implementation system, two components of the central control system and the proxy processes are provided, wherein the proxy processes are deployed in each reverse proxy server, and the number of the central control systems is usually one so as to interact with a plurality of proxy processes.
In addition to the central control component and the proxy process, the system further comprises a cache component for receiving the connection quantity uploaded by the proxy process and receiving the subscription of the central control system to the connection quantity in the cache component, as shown in fig. 5.
The implementation of the system in the embodiments of the present invention has been described in detail in the method described above, and thus the description thereof will not be repeated here.
The system provided by the embodiment adopts the embedded script of the reverse proxy server, and can report the real flow condition in real time through the cooperation of flow sensing and high-performance cache; the central control system controls the tangential flow task according to the residual flow, and can realize highly reliable and refined unattended automatic tangential flow.
Fig. 6 illustrates an exemplary system architecture 600 in which embodiments of the present 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 is used as a medium to provide communication links between the terminal devices 601, 602, 603 and the server 605. The network 604 may include various connection types, such as wired, wireless communication links, or fiber optic cables, among others.
A user may interact with the server 605 via the network 604 using the terminal devices 601, 602, 603 to receive or send messages, etc. 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 a display screen and supporting web browsing. The server 605 may be a server providing various services. It should be noted that, the method provided by the embodiment of the present invention is generally performed 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, there is illustrated a schematic diagram of a computer system 700 suitable for use in implementing an embodiment of the present invention. The terminal device shown in fig. 7 is only an example, and should not impose any limitation on the functions and the scope of use of the embodiment 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 according to 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 required for the operation of the system 700 are also stored. The CPU 701, ROM 702, and RAM 703 are connected to each other through 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 section 706 including a keyboard, a mouse, and the like; an output portion 707 including a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and the like, a speaker, and the like; a storage section 708 including a hard disk or 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. The 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 therefrom is mounted into the storage section 708 as necessary.
In particular, according to embodiments of the present disclosure, the processes described above with reference to 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 shown in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network via the communication portion 709, and/or installed from the removable medium 711. The above-described functions defined in the system of the present invention are performed when the computer program is executed by a Central Processing Unit (CPU) 701.
The computer readable medium shown in the present invention may be a computer readable signal medium or a computer readable storage medium, or any combination of the two. The computer readable storage medium can be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, or device, or a combination of any 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 context of this document, 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, the computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, with the computer-readable program code embodied therein. Such a propagated data signal may take any of a variety of forms, including, but not limited to, electro-magnetic, optical, or any suitable combination of the foregoing. 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 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 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 involved in the embodiments of the present invention may be implemented in software or in hardware. The described modules may also be provided in a processor, for example, as: a processor includes a central control system, a proxy process, and a cache component. The names of these modules do not in some way constitute a limitation on the module itself, for example, the caching 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 present alone without being fitted into the device. The computer readable medium carries one or more programs which, when executed by a device, cause the device to include:
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 cut-flow instruction to a proxy process configured in the reverse proxy server, so as to perform cut-flow operation on the back-end server through the proxy process, and acquiring a connection quantity connected to the back-end server through the reverse proxy server;
and receiving the connection quantity uploaded by the proxy process, if the connection quantity is zero, determining that the streaming is successful, generating information capable of releasing the version 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, so that the tangential flow operation and the connection quantity statistics operation can be completed, the existing manual service is replaced, and the reliability is higher; by combining the central control system, the tangential flow fine granularity can reach a single back-end server, the tangential flow residual condition is detected in real time, and the tangential flow task is controlled according to the actual tangential flow condition, so that the automatic and highly-reliable fine tangential flow is realized.
The above embodiments do not limit the scope of the present invention. It will be apparent to those skilled in the art that various modifications, combinations, sub-combinations and alternatives can occur depending upon design requirements and other factors. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the scope of the present invention.

Claims (6)

1. An operation and maintenance tangential flow system applied to a version release scene comprises a central control system and a proxy process, wherein the proxy process is configured in a reverse proxy server, and the operation and maintenance tangential flow system is characterized by comprising the following components:
the central control system is used for receiving the version release request transmitted by the client; the request carries the IP address of the back-end server to be offline or the duty ratio of the back-end server to be offline;
acquiring the offline ratio of the back-end servers in the version release request, and determining the number of the offline back-end servers by combining the total number of the current back-end servers; extracting IP addresses of the back-end servers corresponding to the number according to the ordering among the back-end servers;
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 or the extracted IP address of the back-end server;
transmitting a streaming cutting instruction to an agent process configured in the reverse proxy server, then receiving connection quantity uploaded by the agent process, if the connection quantity is zero, determining that streaming cutting is successful, generating information capable of releasing a version and transmitting the information to the client;
the proxy process is configured to perform a tangential operation on the backend server, and includes: the proxy process sets the state of the back-end server to be in a offline state in the reverse proxy server so as to execute connection refusing operation when the reverse proxy server receives a new connection request; and
and acquiring the connection quantity connected to the back-end server through the reverse proxy server so as to upload the connection quantity to the central control system.
2. The system of claim 1, further comprising a caching component for:
receiving the connection quantity uploaded by the proxy process; and
and receiving the subscription of the central control system to the connection quantity in the cache component.
3. An operation and maintenance tangential flow method applied to a version release scene is characterized by comprising the following steps:
receiving a version release request transmitted by a client; the request carries the IP address of the back-end server to be offline or the duty ratio of the back-end server to be offline;
acquiring the offline ratio of the back-end servers in the version release request, and determining the number of the offline back-end servers by combining the total number of the current back-end servers; extracting IP addresses of the back-end servers corresponding to the number according to the ordering among the back-end servers;
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 or the extracted IP address of the back-end server;
transmitting a cut-flow instruction to a proxy process configured in the reverse proxy server, so as to perform cut-flow operation on the back-end server through the proxy process, and acquiring a connection quantity connected to the back-end server through the reverse proxy server; the proxy process performs a tangential flow operation on the backend server, which includes: the proxy process sets the state of the back-end server to be in a offline state in the reverse proxy server so as to execute connection refusing operation when the reverse proxy server receives a new connection request;
and receiving the connection quantity uploaded by the proxy process, if the connection quantity is zero, determining that the streaming is successful, generating information capable of releasing the version and transmitting the information to the client.
4. The method of claim 3, wherein the receiving the connection volume uploaded by the proxy process further comprises:
subscribing to the connection volume in the cache component; and the proxy process reports the acquired connection quantity to the cache component.
5. 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, causes the one or more processors to implement the method of any of claims 3-4.
6. A computer readable medium, on which a computer program is stored, characterized in that the program, when being executed by a processor, implements the method according to any of claims 3-4.
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 CN113765960A (en) 2021-12-07
CN113765960B true 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
CN113765960A (en) 2021-12-07

Similar Documents

Publication Publication Date Title
CN107766509B (en) Method and device for static backup of webpage
US20200412830A1 (en) Intermediated Retrieval of Networked Content
CN111478781B (en) Message broadcasting method and device
CN111913884A (en) Distributed test method, device, equipment, system and readable storage medium
CN108243222A (en) Server network architecture method and device
CN111510480B (en) Request sending method and device and first server
CN108093036B (en) Method and device for acquiring resources
CN111786939A (en) Method, device and system for testing management platform of Internet of things
CN112596920A (en) Message processing method and device, electronic equipment and storage medium
CN109218041B (en) Request processing method and device for server system
CN116627333A (en) Log caching method and device, electronic equipment and computer readable storage medium
CN110534136B (en) Recording method and device
CN109873731B (en) Test method, device and system
CN110795328A (en) Interface testing method and device
CN113765960B (en) Operation and maintenance tangential flow method, system and computer readable medium
CN111831503B (en) Monitoring method based on monitoring agent and monitoring agent device
CN113760982A (en) Data processing method and device
CN112181942A (en) Time sequence database system and data processing method and device
CN114465919B (en) Network service testing method, system, electronic equipment and storage medium
CN106933449B (en) Icon processing method and device
CN112688982B (en) User request processing method and device
CN113434384B (en) Pressure testing method and device
CN112579447A (en) Browser testing method and device
CN113132447A (en) Reverse proxy method and system
CN112860505A (en) Method and device for regulating and controlling distributed clusters

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