lucene-solr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Apache Wiki <wikidi...@apache.org>
Subject [Solr Wiki] Update of "SolrReplication" by ShalinMangar
Date Tue, 11 Aug 2009 10:00:56 GMT
Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Solr Wiki" for change notification.

The following page has been changed by ShalinMangar:
http://wiki.apache.org/solr/SolrReplication

The comment on the change is:
Added note on using compression on repeaters

------------------------------------------------------------------------------
  A master may be able to serve only so many slaves without affecting performance. Some organizations
have deployed slave servers across multiple data centers. If each slave downloads the index
from a remote data center, the resulting download may consume too much network bandwidth.
To avoid performance degradation in cases like this, you can configure one or more slaves
as repeaters.  A repeater is simply a node that acts as both a master and a slave.
   * To configure a server as a repeater, both the master and slave configuration lists need
to be present inside the !ReplicationHandler requestHandler in the solrconfig.xml file.
   * Be sure to have replicateAfter 'commit' setup on repeater even if replicateAfter is set
to optimize on the main master. This is because on a repeater (or any slave), only a commit
is called after index is downloaded. Optimize is never called on slaves.
+  * Optionally, one can configure the repeater to fetch compressed files from the master
through the 'compression' parameter (see 'slave' section for details) to reduce the index
download time.
  
  Example configuration of a repeater:
  {{{

Mime
View raw message