The invention discloses a load balancing method and
system. The method comprises the following steps: determining response coordination configuration information of the distributed coordination
system for each real
server configuration; querying a transmission target corresponding to the target real
server based on the response coordination configuration information corresponding to the target real
server; when the transmission target corresponding to the target real server is the target load balancer, forwarding a response message corresponding to the
client request message returned by the target real server to the load balancer, and forwarding the response message corresponding to the
client request message returned by the target real server to the target
client through the load balancer; and when the transmission target corresponding to the target real server is the target client, directly returning a response message corresponding to the client request message to the target client through the target real server. According to the scheme, the pressure of the load balancer connected with the distributed coordination
system is relieved, and the load balancer is prevented from becoming a system
bottleneck.