On Mon, Nov 2, 2009 at 8:13 AM, bharath venkatesh <bharathv6.proj...@gmail.com> wrote: > We are using solr for many of ur products it is doing quite well > . But since no of hits are becoming high we are experiencing latency > in certain requests ,about 15% of our requests are suffering a latency
How much of a latency compared to normal, and what version of Solr are you using? > . We are trying to identify the problem . It may be due to network > issue or solr server is taking time to process the request . other > than qtime which is returned along with the response is there any > other way to track solr servers performance ? > how is qtime calculated > , is it the total time from when solr server got the request till it > gave the response ? QTime is the time spent in generating the in-memory representation for the response before the response writer starts streaming it back in whatever format was requested. The stored fields of returned documents are also loaded at this point (to enable handling of huge response lists w/o storing all in memory). There are normally servlet container logs that can be configured to spit out the real total request time. > can we do some extra logging to track solr servers > performance . ideally I would want to pass some log id along with the > request (query ) to solr server and solr server must log the > response time along with that log id . Yep - Solr isn't bothered by params it doesn't know about, so just put logid=xxxxxxx and it should also be logged with the other request params. -Yonik http://www.lucidimagination.com