You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by "Branham, Jeremy [HR]" <Je...@sprint.com> on 2014/06/04 21:33:00 UTC
Cache response time
Is there a JMX metric for measuring the cache request time?
I can see the avg request times, but I'm assuming this includes the cache and non-cache values.
http://wiki.apache.org/solr/SolrPerformanceFactors
________________________________
This e-mail may contain Sprint proprietary information intended for the sole use of the recipient(s). Any use by others is prohibited. If you are not the intended recipient, please contact the sender and delete all copies of the message.
Re: Cache response time
Posted by Shalin Shekhar Mangar <sh...@gmail.com>.
Can you please open a Jira issue? It'd be nice to have this.
On Thu, Jun 5, 2014 at 1:03 AM, Branham, Jeremy [HR] <
Jeremy.D.Branham@sprint.com> wrote:
> Is there a JMX metric for measuring the cache request time?
>
> I can see the avg request times, but I'm assuming this includes the cache
> and non-cache values.
>
> http://wiki.apache.org/solr/SolrPerformanceFactors
>
>
>
>
> ________________________________
>
> This e-mail may contain Sprint proprietary information intended for the
> sole use of the recipient(s). Any use by others is prohibited. If you are
> not the intended recipient, please contact the sender and delete all copies
> of the message.
>
--
Regards,
Shalin Shekhar Mangar.
RE: Cache response time
Posted by Matt Kuiper <ma...@issinc.com>.
I have not come across one. Is your question directed to the queryResultCache?
My understanding is that the queryResultCache is the only cache that contains full query results that could be used to compare against non-cached results times. I believe the other caches can participate in speeding up a request for different parts of the query (i.e. filterCache can help with the filter query portions of a request, and documentCache for the stored fields). I am learning myself, so if someone wants to correct, or clarify, please do.
A possible manually approach to answer your question could be to use a JMX monitoring tool to retrieve a timestamp for when the Solr JMX metric "hits" increases for the queryResultCache. Then you could use the timestamp with the logs to find the request time for the request associated with the cache "hits" metric increasing.
Matt
-----Original Message-----
From: Branham, Jeremy [HR] [mailto:Jeremy.D.Branham@sprint.com]
Sent: Wednesday, June 04, 2014 1:33 PM
To: solr-user@lucene.apache.org
Subject: Cache response time
Is there a JMX metric for measuring the cache request time?
I can see the avg request times, but I'm assuming this includes the cache and non-cache values.
http://wiki.apache.org/solr/SolrPerformanceFactors
________________________________
This e-mail may contain Sprint proprietary information intended for the sole use of the recipient(s). Any use by others is prohibited. If you are not the intended recipient, please contact the sender and delete all copies of the message.
Re: Cache response time
Posted by Otis Gospodnetic <ot...@gmail.com>.
Hi Jeremy,
Nothing in Solr tracks that time. Caches are pluggable. If you really
want this info you could write your own cache that is just a proxy for the
real cache and then you can time it.
But why do you need this info? Do you suspect that is slow?
Otis
--
Performance Monitoring * Log Analytics * Search Analytics
Solr & Elasticsearch Support * http://sematext.com/
On Wed, Jun 4, 2014 at 3:33 PM, Branham, Jeremy [HR] <
Jeremy.D.Branham@sprint.com> wrote:
> Is there a JMX metric for measuring the cache request time?
>
> I can see the avg request times, but I'm assuming this includes the cache
> and non-cache values.
>
> http://wiki.apache.org/solr/SolrPerformanceFactors
>
>
>
>
> ________________________________
>
> This e-mail may contain Sprint proprietary information intended for the
> sole use of the recipient(s). Any use by others is prohibited. If you are
> not the intended recipient, please contact the sender and delete all copies
> of the message.
>