While reading documentation of Cassandra, I came across the term called clustering growth. After reading blogs, I came to know that Clustering is way of grouping of server (Distributed server) via a LAN, to solve the problem, behind it uses the Data Sharding and Partitioning Algorithms. But If we look then in case of Distributed System, where we do horizontal scaling of server. We scale the server horizontally and distribute the load, So we are saying that those server are somehow acheiving the Clustering properties. I basically want to know the difference between Clustering of Server and Replication of Server behind Load Balancer.
I want to know the difference between both of them, Since I knew that clustering is a way for database but I have seen clustered server also. Is Clustering a way of Horizontal scaling or what? Not precisely getting the answer.