Method and system for processing request message, and load balancer device
AssigneeHuawei Technologies Co., Ltd.
InventorsXianjun Zou, Heng Chang, Sihao Li, Qifeng Ma, Yan Li
Life of this patent
Estimating the term…
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.
Claims15
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.
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.
Dependencies are inferred from the claim text.