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

[jira] [Created] (SOLR-15315) Solr Latency optimisation for LTR tree traversal

Suryakant Pandey created SOLR-15315:
---------------------------------------

             Summary: Solr Latency optimisation for LTR tree traversal
                 Key: SOLR-15315
                 URL: https://issues.apache.org/jira/browse/SOLR-15315
             Project: Solr
          Issue Type: Task
      Security Level: Public (Default Security Level. Issues are Public)
            Reporter: Suryakant Pandey


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-unsubscribe@solr.apache.org
For additional commands, e-mail: issues-help@solr.apache.org