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

ASF subversion and git services commented on SOLR-15315:
--------------------------------------------------------

Commit 2801defab5d8d3f4649285331aebf80ab5a99436 in solr's branch 
refs/heads/main from Suryakant Pandey
[ https://gitbox.apache.org/repos/asf?p=solr.git;h=2801def ]

SOLR-15315: contrib/ltr MultipleAdditiveTreesModel latency optimisation by 
changing recursion to loop (#58)



> MultipleAdditiveTreesModel Latency optimisation for LTR tree traversal
> ----------------------------------------------------------------------
>
>                 Key: SOLR-15315
>                 URL: https://issues.apache.org/jira/browse/SOLR-15315
>             Project: Solr
>          Issue Type: Task
>          Components: contrib - LTR
>            Reporter: Suryakant Pandey
>            Priority: Major
>          Time Spent: 5h
>  Remaining Estimate: 0h
>
> LTR tree traversal currently happens in a recursive way.
> *Background* :When we tried to increase the number of trees in our production 
> solr, we were facing latency issue. From solr profiling it came out that most 
> time is spent in recursive call for tree traversal.
>  
>  Recursion is slower due to overhead of function call stack, so we optimised 
> this and translated it to loop based approach. This improved solr latency 
> significantly and we were able to scale much better.
>   



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

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

Reply via email to