Hi all,

I have a scenario here and I'd love some advice on what my options are.  We 
have one Solr master and two read replicas.  The replicas query the master 
every 10 seconds because we need relatively quick availability of new 
documents.   We balance read queries across all three servers and send writes 
only to the master.

The problem that I'm seeing is that average query time is vastly higher on the 
replicas than on the master - 150ms vs 1600ms.  What I've noticed is that 
immediately after a replication, a query against the replica can take up to 5 
seconds.  Then subsequent queries are faster until the next replication.   On 
one level this makes sense, since when there's a change to the index I imagine 
that the caches get flushed.  But this is really bogging down performance on a 
pretty high number of queries.

We should have plenty of OS disk cache - the server has 12 GB of RAM, and the 
apps on the server are only using up about 6.  Our index is 2.7 GB, so it 
should fit in the OS disk cache.  Are there any other factors that I can look 
at to eliminate these slow queries?

Thanks,
Scott

Scott Rankin
Corporate Reimbursement Services, Inc.
Phone: 617-467-1931
Email: [email protected]<mailto:[email protected]>

This email message contains information that Corporate Reimbursement Services, 
Inc. considers confidential and/or proprietary, or may later designate as 
confidential and proprietary. It is intended only for use of the individual or 
entity named above and should not be forwarded to any other persons or entities 
without the express consent of Corporate Reimbursement Services, Inc., nor 
should it be used for any purpose other than in the course of any potential or 
actual business relationship with Corporate Reimbursement Services, Inc. If the 
reader of this message is not the intended recipient, or the employee or agent 
responsible to deliver it to the intended recipient, you are hereby notified 
that any dissemination, distribution, or copying of this communication is 
strictly prohibited. If you have received this communication in error, please 
notify sender immediately and destroy the original message.

Internal Revenue Service regulations require that certain types of written 
advice include a disclaimer. To the extent the preceding message contains 
advice relating to a Federal tax issue, unless expressly stated otherwise the 
advice is not intended or written to be used, and it cannot be used by the 
recipient or any other taxpayer, for the purpose of avoiding Federal tax 
penalties, and was not written to support the promotion or marketing of any 
transaction or matter discussed herein.

Reply via email to