You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lucene.apache.org by "Shikhar Bhushan (JIRA)" <ji...@apache.org> on 2014/01/20 20:55:21 UTC
[jira] [Comment Edited] (SOLR-5637) Per-request cache statistics
[ https://issues.apache.org/jira/browse/SOLR-5637?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13876798#comment-13876798 ]
Shikhar Bhushan edited comment on SOLR-5637 at 1/20/14 7:54 PM:
----------------------------------------------------------------
Works in the distrib case now, though end up getting aggregate numbers out via {{DebugComponent#merge()} -- an enhancement might be to make the stats be part of the 'track' response from shards.
was (Author: shikhar):
works in the distrib case now
> Per-request cache statistics
> ----------------------------
>
> Key: SOLR-5637
> URL: https://issues.apache.org/jira/browse/SOLR-5637
> Project: Solr
> Issue Type: New Feature
> Reporter: Shikhar Bhushan
> Priority: Minor
> Attachments: SOLR-5367.patch, SOLR-5367.patch
>
>
> We have found it very useful to have information on the number of cache hits and misses for key Solr caches (filterCache, documentCache, etc.) at the request level.
> This is currently implemented in our codebase using custom {{SolrCache}} implementations.
> I am working on moving to maintaining stats in the {{SolrRequestInfo}} thread-local, and adding hooks in get() methods of SolrCache implementations. This will be glued up using the {{DebugComponent}} and can be requested using a "debug.cache" parameter.
--
This message was sent by Atlassian JIRA
(v6.1.5#6160)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@lucene.apache.org
For additional commands, e-mail: dev-help@lucene.apache.org