+1 on exploring ways to address slow startup. My experience too, Houston. On Fri, 19 May, 2023, 8:25 pm Houston Putman, <houstonput...@gmail.com> wrote:
> Somewhat related question/thoughts on the Java SolrCLI: > > I have noticed that, at least for me, the SolrCLI is very slow. I added > timing information to the gradle integration tests to show how slow it > actually is. > > It looks like a baseline of starting a SolrCLI process is around 2.5 > seconds for me, not including interacting with Solr at all. > I'm not really sure how we could think of improving this, since it just > takes a while for the JVM to start unfortunately. > > I would love to use the SolrCLI to do auth checks by default for the Solr > Operator, but the fact that it takes 4-5 seconds for a healthy check to > complete is worrisome. Also creating the JVM every 10 seconds might be a > burden on the system. (not really sure how big of a burden though) > > A few questions: > > - Are my settings messed up, and other people see very quick SolrCLI > times? > - Are these times generally ok for everyone? > - Do we want to look into the possibility of using other > languages/tools to build out the SolrCLI? > - This is even more possible once the v2 API work is done and we > can create APIs in any language. > - Though the ZK interaction and Auth stuff will certainly be more > complicated... > > - Houston > > On Tue, May 9, 2023 at 1:05 PM Eric Pugh <ep...@opensourceconnections.com> > wrote: > >> We have some dueling Solr CLI umbrella JIRA issues. If images were >> allowed, I would have a picture of Shawn and I waving folded umbrellas >> around like 17th century swordsmen ;-). >> >> [SOLR-16757] Umbrella Ticket for Reading Solr CLI's for the Future - ASF >> JIRA <https://issues.apache.org/jira/browse/SOLR-16757> >> issues.apache.org <https://issues.apache.org/jira/browse/SOLR-16757> >> [image: fav-jsw.png] <https://issues.apache.org/jira/browse/SOLR-16757> >> <https://issues.apache.org/jira/browse/SOLR-16757> >> Is the one I started, and it’s really just a grab bag of various JIRA’s >> that have been open around the Solr CLI. >> >> [SOLR-16790] Umbrella - Improve Solr CLI tools - ASF JIRA >> <https://issues.apache.org/jira/browse/SOLR-16790> >> issues.apache.org <https://issues.apache.org/jira/browse/SOLR-16790> >> [image: fav-jsw.png] <https://issues.apache.org/jira/browse/SOLR-16790> >> <https://issues.apache.org/jira/browse/SOLR-16790> >> Is one that Shawn opened that is a bit more targeted around how we start >> Solr from the CLI. >> >> What if we rename SOLR-16790 to just “Improve Solr CLI tools startup of >> Solr” (removing the umbrella term since just two tickets under it)? If >> it makes sense to make it linked form SOLR-16757 then we could do that, but >> I don’t have a strong opinion there. >> >> I do think it’s important that Shawn and I (and anyone involved!) be >> communicative on what we’re working on and the state of the JIRAs so that >> we don’t work at cross purposes. As I finish tickets, I’ll try to let >> folks know, and which is the next one so that we don’t work against each >> other. >> >> >> Eric >> >> >> _______________________ >> *Eric Pugh **| *Founder & CEO | OpenSource Connections, LLC | 434.466.1467 >> | http://www.opensourceconnections.com | My Free/Busy >> <http://tinyurl.com/eric-cal> >> Co-Author: Apache Solr Enterprise Search Server, 3rd Ed >> <https://www.packtpub.com/big-data-and-business-intelligence/apache-solr-enterprise-search-server-third-edition-raw> >> This e-mail and all contents, including attachments, is considered to be >> Company Confidential unless explicitly stated otherwise, regardless >> of whether attachments are marked as such. >> >> > --------------------------------------------------------------------- > To unsubscribe, e-mail: dev-unsubscr...@solr.apache.org > For additional commands, e-mail: dev-h...@solr.apache.org