The invention discloses a load balancing method and
system of a
WEB server cluster. The method comprises the following steps: firstly, separately specifying a to-be-allocated
server for each type of static page access, meanwhile constructing a load balancing target function, when a page method request is received, classifying the page method request, and when the page method request is a static page access request, allocating the page method request to a corresponding
server according to the type of the page method request; when the page method request is a dynamic page access request, allocating the dynamic page access at various moments within a
current period according to an optimum allocation weight of the dynamic page access of the servers within the
current period obtained within the previous period; and when the time arrives at the last moment of the
current period, obtaining the optimum allocation weight of the dynamic page access of the servers within the next period through the load balancing target function. According to the load balancing method and
system disclosed by the invention, different
processing modes are respectively provided for static pages and dynamic pages, so the
server resources can be fully used, and a load balancing effect can still be achieved under complex access situations.