Multi-core parallel reverse proxy method
The invention discloses a multi-core parallel reverse proxy method, which comprises the following steps: Worker calculates a HASH value of the IPs (Internet Protocol) and the ports of all servers, and distributes a response message to an own server of the Worker to serve as a candidate server; when...
Saved in:
Main Author | |
---|---|
Format | Patent |
Language | Chinese English |
Published |
07.12.2016
|
Subjects | |
Online Access | Get full text |
Cover
Loading…
Summary: | The invention discloses a multi-core parallel reverse proxy method, which comprises the following steps: Worker calculates a HASH value of the IPs (Internet Protocol) and the ports of all servers, and distributes a response message to an own server of the Worker to serve as a candidate server; when a request message reaches a reverse proxy node, the request message is processed on the corresponding Worker according to the HASH value calculated by a source IP and a source port Clinet_IP and Client_Port; the corresponding Worker selects one server from the own candidate server of the Worker, the request is sent to the server, and the corresponding Worker records connection information in a local connection table; when the response message of the sever reaches the reverse proxy node, causing the HASH value calculated according to the source IP and the source port Server_IP and Server_Port to be equal to the above Hash value, and processing is carried out on the corresponding Worker; and the Worker finds connecti |
---|---|
Bibliography: | Application Number: CN201610550583 |