(1) High reliability (HA). With cluster management software, when the primary server fails, the backup server can proactively take over the work of the primary server and switch the past in time. To achieve uninterrupted service to users.
(2) High Performance Computing (HP).
That is to make full use of the resources of each computer in the cluster to realize the parallel processing of complex operations, which is often used in scientific computing field.
(3) Load balancing (load Balance).
Load balancing is one of the cluster functions. That is, the load pressure is allocated to each computer in the cluster reasonably according to an algorithm to reduce the pressure on the primary server and reduce the hardware and software requirements for the primary server. Load balancing is the assignment of compute requests to a cluster to balance the compute load of computers in the cluster.
load Balancing has two implications
1: A large number of concurrent interviews or data sharing on multiple nodes of the device processing, reducing the time the user waits for a response.
2: A single heavy load operation is shared on multiple node devices to do parallel processing. After each node device processing is finished, the results are summarized, returned to the user, the system processing capacity has been greatly improved.
implementation can be divided into
(1) Server Software-based cluster load balancing.
(implemented on the server.) )
(2) Nat cluster load balancing (on a fire wall, or on a switch). )
(3) DNS-based cluster load balancing (implemented on DNSServer.
)
(4) It is also possible to use ISA to set the load balance of the cluster, but it is necessary to have isaserver I think the feasibility is small.
I believe you already know what a cluster is and what is load balancing. Here go to the topic of the article, online already have a lot of apache+tomcat to achieve load balance of the article, but are only limited to teach you how to do, and did not tell us why to do so, so that everyone just know it does not know why, Below I will assemble the Tomcat cluster and Apache load balancer to specifically describe.
Apache reverse proxy combined with Tomcat cluster for load balancing (I.), conceptual understanding