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