Chris, On Sat, Oct 13, 2018 at 6:41 PM Christopher Schultz < ch...@christopherschultz.net> wrote:
> -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA256 > > All, > > I've posted a question to the Solr mailing list[1] about why Jetty is > being used instead of Tomcat, and it seems that it's just "always the > way it's been" for the most part. > > These seems to be some interest in moving from their existing model > (Jetty launches, then hosts Solr as a web application) to an embedded > model where a Solr-agent launches and then launches the app server > (e.g. tc) hosting itself. > > Is anyone familiar enough with Solr to whip-up a quick-and-dirty POC > for Tomcat-embedded-hosting-Solr? > The last time I used Solr was about 10 years ago. The Solr API seemed so cumbersome that I opted to embed Apache Lucene directly in my application. And ever since Elasticsearch was launched there was very little incentive to use Solr, as it provided similar functionality (and nowadays arguably better), with a much simpler UI/API. Woonsan's PoC looks very close to getting the job done, possibly missing some Solr config setting or something like that. > I'd like to make the case that Tomcat isn't some big, bad heavy > monster that should be avoided for some other product. There appears > to be soe unfounded hatred[4] going around. > > The Solr team seems especially conscious of runtime memory footprint, > and they don't have any use for JSP, Websocket, or anything fancy. > They just want to pump bytes back and forth to their basic > servlet-based service. > I have seen stuff like that years ago in the Railo project (Lucee's predecessor), where some users made similar claims and insisted on using Jetty. I was never able to confirm those claims in my tests, and most Lucee users run it in Tomcat nowadays. > Can anyone chime-in on that thread referenced below with some thoughts > on how Solr might be able to use Tomcat-embedded as a platform for soe > future version? > I would argue that they should have a container-agnostic configuration. They should really let the end users the freedom to choose their servlet container. Best, Igal > > Also see [2] and [3]. > > Thanks, > - -chris > > [1] > https://lists.apache.org/thread.html/69c3a6ef96d99aa79d5ab15b23e1eb75d8f > 32b0709fa14cc7cdded91@%3Cdev.lucene.apache.org%3E > [2] https://issues.apache.org/jira/browse/SOLR-6733 > [3] https://issues.apache.org/jira/browse/SOLR-6734 ?? > [4] > https://lists.apache.org/thread.html/c5786fd956d6d9029ddacc5af18147d098d > 5a8675ebda78db14c10f1@%3Cdev.lucene.apache.org%3E > -----BEGIN PGP SIGNATURE----- > Comment: Using GnuPG with Thunderbird - https://www.enigmail.net/ > > iQIzBAEBCAAdFiEEMmKgYcQvxMe7tcJcHPApP6U8pFgFAlvCnsMACgkQHPApP6U8 > pFiqwA/+PbcFqOUhXacAzRwzBGtK0WELMHrr1QCkPYWw1D6yxgNq2kKya6jWh9XK > +EFb1ZkaYDFunseLsXdLw6pN7fkxPjLRUVFLUr+57csGKR8nH+Y36uaKXErKG1TD > w1PHOIjZkNfN1i5x3aouqZVGwxbqB41HZeXYDmaknNX5yhZGoZQlgLkH8DXZRj4H > qLMIY2WV3q0tUz/9mVi4Lvtvejr01KUiALYxurwxJI9rToLdOEv3qIOk2+sNy5b7 > P8G2eUgMtA7vdXQ+sajXV+KptKkzcNHwehgX0YxYsV56tkaVgWkg6d63KZj11qgm > xWzUpdiGYXXVTFfEPSEVSu3psqBGIHDvv234PMGs2A+sqM8kaynJkbQsJJ7fu9Co > oA7clrptZbyGqVB4ASAxWC+PXeuycGnMFplZRfRXagmcmkChxli+Y2MqFekdKHO6 > VF6ExuzK7gg3ogZ1R+4sHYYW/KBTSaS+OVHXjJvTppATQbsnAGkZ5/93zTdlnbMh > Ua9WOICaOats7XDcDhgpSmClL5SdOWQ+THCeT5hrnI7CttefihdPp4fqrDOPJ0O+ > fhcVv1J80GJIIPq2g48MzmxQoT08tKxomM9EeZbApnV9ptQxz6RgLAYYGryYUqjn > 7v3Aoc6YS6WWEicZ6iR1j3AD5mE/kV0/GxZ8L52MPyVb4gvhiVU= > =/itJ > -----END PGP SIGNATURE----- > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > >