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

Haythem Khiri edited comment on SOLR-17441 at 9/27/24 9:34 AM:
---------------------------------------------------------------

Run locally a naive benchmark, after Solr warmup, getting following numbers;
Without the fix;
 !Screenshot 2024-09-27 at 11.28.28.png! 
With the fix;
 !Screenshot 2024-09-27 at 11.28.51.png! 

I measured the QTime each time through 
{{result.getJSONObject("responseHeader").get("QTime") }}


was (Author: haythemkh):
Run locally a naive benchmark, after Solr warmup, getting following numbers;
Without the fix;
 !Screenshot 2024-09-27 at 11.28.28.png! 
With the fix;
 !Screenshot 2024-09-27 at 11.28.51.png! 

I measured the QTime each time through 
result.getJSONObject("responseHeader").get("QTime") 

> MetricUtils optimization: skip unreadable properties
> ----------------------------------------------------
>
>                 Key: SOLR-17441
>                 URL: https://issues.apache.org/jira/browse/SOLR-17441
>             Project: Solr
>          Issue Type: Improvement
>            Reporter: Haythem Khiri
>            Priority: Minor
>              Labels: pull-request-available
>         Attachments: Screenshot 2024-09-27 at 11.28.28.png, Screenshot 
> 2024-09-27 at 11.28.51.png
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> The {{/solr/admin/info/system}} endpoint, used by the Solr Operator for 
> start-up and liveness probes, can fail if response times are excessive. This 
> update optimizes the addMXBeanMetrics method by skipping unreadable 
> properties earlier, minimizing exceptions and boosting performance. This 
> leads to more efficient MBean metric collection, enhancing monitoring and 
> diagnostics.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to