lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Gora Mohanty <>
Subject Re: Improving Solr performance
Date Fri, 14 Jan 2011 16:24:18 GMT
On Fri, Jan 14, 2011 at 1:56 PM, supersoft <> wrote:
> The tests are performed with a selfmade program.

May I ask in what language is the program written in? The reason to
ask that is to eliminate the possibility that there is an issue with the
threading model, e.g., if you were using Python, for example.

Would it be possible for you to run Apache bench, ab, against
your Solr setup, e.g., something like:

# For 10 simultaneous connections
ab -n 100 -c 10 http://localhost:8983/solr/select/?q=my_query1

# For 50 simultaneous connections
ab -n 500 -c 50 http://localhost:8983/solr/select/?q=my_query2

Please pay attention to the meaning of the -n parameter (there
is a slight gotcha there). "man ab" for details on usage, or see,
for example.

> In the last post, I wrote the results of the 100 threads example orderered
> by the response date. The results ordered by the creation date are:

OK, the numbers makes more sense now.

As someone else has pointed out, your throughput does increase
with more simultaneous queries, and there are better ways to do
the measurement. Nevertheless, your results are very much at odds
with what we see, and I would like to understand the issue.


View raw message