lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shawn Heisey <>
Subject Re: Sending shard requests to all replicas
Date Sat, 27 Jul 2013 22:06:35 GMT
On 7/27/2013 3:33 PM, Isaac Hebsh wrote:
> I have about 40 shards. repFactor=2.
> The cause of slower shards is very interesting, and this is the main
> approach we took.
> Note that in every query, it is another shard which is the slowest. In 20%
> of the queries, the slowest shard takes about 4 times more than the average
> shard qtime.
> While continuing investigation, remember it might be the virtualization /
> storage-access / network / gc /..., so I thought that reducing the effect
> of the slow shards might be a good (temporary or permanent) solution.

Virtualization is not the best approach for Solr.  Assuming you're
dealing with your own hardware and not something based in the cloud like
Amazon, you can get better results by running on bare metal and having
multiple shards per host.

Garbage collection is a very likely source of this problem.

> I thought it should be an almost trivial code change (for proving the
> concept). Isn't it?

I have no idea what you're saying/asking here.  Can you clarify?

It seems to me that sending requests to all replicas would just increase
the overall load on the cluster, with no real benefit.


View raw message