Randomly slow response times for range queries

2010-09-08 Thread oleg.gnatovskiy

Hello all,

I am running two range queries on a double value as filter queries using
Solr 1.4, and for the most part am getting great performance (qTime 
100ms). However, at certain QPS, I start getting very slow queries
(2000+ms). I've tried this using the new trie fields, and using standar
sdouble fields, and have had similar results. Is there a known issue with
randomly slow queries when doing range searches with Solr?

Thanks for any support you can offer.
-- 
View this message in context: 
http://lucene.472066.n3.nabble.com/Randomly-slow-response-times-for-range-queries-tp1441724p1441724.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Randomly slow response times for range queries

2010-09-08 Thread Erick Erickson
Well, throw enough queries at any server and it'll slow right down, so
how many are we talking here?

But no, there're no SOLR issues like this that I know of. That said, you
could be getting cache thrashing. You could be getting garbage collection
by the JVM. You could be executing commits somehow (are you
updating?) and causing your caches to be refilled. You could be

The admin/stats.jsp page (also linked from the admin page) can give you
some clues, look particularly for evictions most the way down the page.

Best
Erick

On Wed, Sep 8, 2010 at 3:11 PM, oleg.gnatovskiy crooke...@gmail.com wrote:


 Hello all,

 I am running two range queries on a double value as filter queries using
 Solr 1.4, and for the most part am getting great performance (qTime 
 100ms). However, at certain QPS, I start getting very slow queries
 (2000+ms). I've tried this using the new trie fields, and using standar
 sdouble fields, and have had similar results. Is there a known issue with
 randomly slow queries when doing range searches with Solr?

 Thanks for any support you can offer.
 --
 View this message in context:
 http://lucene.472066.n3.nabble.com/Randomly-slow-response-times-for-range-queries-tp1441724p1441724.html
 Sent from the Solr - User mailing list archive at Nabble.com.



Re: Randomly slow response times for range queries

2010-09-08 Thread oleg.gnatovskiy

Well I am only sending about 50 QPS at it at the time that it temporarily
slows down, and then it's able to get all the way up to 100 QPS+ with no
problems (until the next random queries). I suppose it could be the garbage
collection. Is there a good way to limit this?
-- 
View this message in context: 
http://lucene.472066.n3.nabble.com/Randomly-slow-response-times-for-range-queries-tp1441724p1443086.html
Sent from the Solr - User mailing list archive at Nabble.com.


Re: Randomly slow response times for range queries

2010-09-08 Thread oleg.gnatovskiy

Also, does anyone know the best precisionStep to use on a trie field (float)
definition to achieve optimal performance?
-- 
View this message in context: 
http://lucene.472066.n3.nabble.com/Randomly-slow-response-times-for-range-queries-tp1441724p1443096.html
Sent from the Solr - User mailing list archive at Nabble.com.