Databases Reference
In-Depth Information
As shown in the preceding diagram, Apache Solr is installed on a separate server.
The Apache Solr server internally stores indexes on the filesystem. All Liferay Portal
servers are connected with the Apache Solr server. Every search request and index
write request will be sent to the Apache Solr server.
In the preceding architecture, we are using a single Solr server for both read and
write operations. Internally, the Solr server performs concurrent read and write
operations on the same index storage. If the Portal application is expected to perform
heavy write and search operations on the Solr server, this architecture as explained
earlier will not give good performance. In such situations, it is recommended to
use the master-slave Solr setup. In this approach, one master and many slave Solr
servers are configured to work together. The master server will handle all the write
operations and the slave servers will handle all read and search operations. Here is
the diagram explaining the master-slave Solr setup:
Apache Solr Slave
Tomcat Server
Index Storage
Read Index
Read Index
Read Index
Index
Replication
Tomcat
Application Server 1
Tomcat
Application Server N
Tomcat
Application Server 2
Write Index
Write Index
Write Index
Index Storage
Apache Solr Master
Tomcat Server
 
Search WWH ::




Custom Search