METHOD AND SYSTEM FOR PROCESSING REQUEST MESSAGE, AND LOAD BALANCER DEVICE
First Claim
Patent Images
1. A method for processing a request message, comprising:
- receiving and parsing a request message sent by a request end, and obtaining a script name corresponding to the request message and a message type of the request message;
obtaining a target server of the request message according to a server list corresponding to the script name and the message type, and forwarding the request message to the target server; and
receiving a response message returned by the target server after the target server executes a script corresponding to the script name, and returning a response message that satisfies a return condition to the request end.
1 Assignment
0 Petitions
Accused Products
Abstract
A method and a system for processing a request message, and a load balancer device are provided. The load balancer obtains a service name and an operation name through simple string matching, and a large amount of computing is performed at a server side, thereby solving a session hold problem of a composition engine cluster, reducing a computing task of a load balancer, maximizing a fan-out capability of the load balancer, and increasing a throughput of the composition engine cluster to a maximum extent, therefore satisfying a demand for a large capacity of a composition engine.
-
Citations
15 Claims
-
1. A method for processing a request message, comprising:
-
receiving and parsing a request message sent by a request end, and obtaining a script name corresponding to the request message and a message type of the request message; obtaining a target server of the request message according to a server list corresponding to the script name and the message type, and forwarding the request message to the target server; and receiving a response message returned by the target server after the target server executes a script corresponding to the script name, and returning a response message that satisfies a return condition to the request end. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8)
-
-
9. A load balancer device, comprising:
-
a first processing module, configured to receive and parse a request message sent by a request end, and obtain a script name corresponding to the request message and a message type of the request message; a second processing module, configured to obtain a target server of the request message according to a server list corresponding to the script name and the message type, and forward the request message to the target server; and a third processing module, configured to receive a response message returned by the target server after the target server executes a script corresponding to the script name, and return a response message that satisfies a return condition to the request end. - View Dependent Claims (10, 11, 12, 13, 14, 15)
-
Specification