You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@solr.apache.org by "David Smiley (Jira)" <ji...@apache.org> on 2021/04/04 20:44:00 UTC

[jira] [Commented] (SOLR-15301) Eliminate repetitive index size calculation for Solr metrics

    [ https://issues.apache.org/jira/browse/SOLR-15301?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17314619#comment-17314619 ] 

David Smiley commented on SOLR-15301:
-------------------------------------

FWIW, I've found that to use metrics for real (not a POC), you really need to ask Solr for precisely the metrics you want, and nothing else.  Otherwise you end up polling Solr for megabytes of metrics that overwhelms "real" traffic.  This isn't to say that the issue you raised here isn't a problem, of course.

> Eliminate repetitive index size calculation for Solr metrics
> ------------------------------------------------------------
>
>                 Key: SOLR-15301
>                 URL: https://issues.apache.org/jira/browse/SOLR-15301
>             Project: Solr
>          Issue Type: Improvement
>      Security Level: Public(Default Security Level. Issues are Public) 
>          Components: metrics
>            Reporter: Andras Salamon
>            Priority: Minor
>
> During metrics calculation Solr asks for core indexSize three times. Twice in SolrCore and once in ReplicationHandler. It slows down metrics calculation and it is also possible that these three reported values are not exactly the same if size changes during calculation.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org