lucene-ruby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Erik Hatcher <e...@ehatchersolutions.com>
Subject Re: quick jruby + solr benchmarks
Date Wed, 26 Nov 2008 07:56:37 GMT

On Nov 25, 2008, at 7:13 PM, Jamie Orchard-Hays wrote:
> So about 2x? Not bad. I wonder what running httperf against a simple  
> app would show.

Keep in mind these points:

   * Solr's query cache.  Repeating a query 1000 times is really only  
executing the query one time and pulling the document set the rest of  
the time, except...

   * Solr supports HTTP cache headers.  Thus a "smart" HTTP client  
that is HTTP cache savvy will get 304's for 999 of those queries  
without Solr doing anything but checking the HTTP request headers and  
the current state of the index.  Note that Matt's benchmark code is  
not HTTP cache savvy at the moment (not a flaw per se, just worth  
noting).

	Erik

Mime
View raw message