What is the difference between Clustering and Load balancing?
I know it is a simple question.But I asked this question to several people, But no one gave reliable answer.
Also I googled a lot and can't get an exact answer .
Hope our Stack users will give the best answer for me.
Clustering means you run a program on several machines (nodes). One reason why you want to do this is: Load balancing. If you have too much load/ work to do for a single machine you can use a cluster of machines instead. A load balancer then can distribute the load over the nodes in the cluster.
Clustering: Clustering is becoming increasingly important in the world of enterprise application development.just sharing the application state across multiple Java Virtual Machines (JVM's)
Load balancing its simple like balaning the request and forwarded to appropriate server for handling the request
Source
Source
So basically clustering is to create a cluster, and load balancing is to distribute the load among the nodes in the cluster
From Software journal blog an extract.