lucene-solr-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yonik Seeley <ysee...@gmail.com>
Subject Re: optimize requests that fetch 1000 rows
Date Thu, 11 Feb 2016 14:25:31 GMT
On Thu, Feb 11, 2016 at 7:45 AM, Matteo Grolla <matteo.grolla@gmail.com> wrote:
> Thanks Toke, yes, they are long times, and solr qtime (to execute the
> query) is a fraction of a second.
> The response in javabin format is around 300k.

OK, That tells us a lot.
And if you actually tested so that all the docs would be in the cache
(can you verify this by looking at the cache stats after you
re-execute?) then it seems like the slowness is down to any of:
a) serializing the response (it doesn't seem like a 300K response
should take *that* long to serialize)
b) reading/processing the response (how fast the client can do
something with each doc is also a factor...)
c) other (GC, network, etc)

You can try taking client processing out of the equation by trying a
curl request.

-Yonik

Mime
View raw message