Question

How to scale out my solr 3.5 installation? How to replicate indexes? How to configure load balancing for POST and GET operations? How to auto-scale the servers? When load is low, put some servers down. When load is high, automatically add new servers to the cluster

Was it helpful?

Solution

For solr scalability, you can use data replication as described in this page. One node will be the master and the others will be slave. Put everybody behind any load balancing software for GET operations. You will have to take care that you do the POST operations directly to the master server (don't use the load balancing for that). The data will be automatically replicated to the slaves.

Auto-scaling depend on the cloud provider your are using. From what I know, Amazon AWS and Rackspace have solutions, web configurable. Basically, you will need to create an image of the slave server and use this image as the core image for the auto-scaling. Then, all you need is to configure auto-scaling policies.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top