On 2/20/2014 10:40 PM, Jay Potharaju wrote: > I 'm looking for some tips or guidelines to installing solr on the > production server. I am currently using jetty in my dev environment. > Is it recommended to use tomcat on the production server? Are there are > major advantages of using one over another.
The recommendation is to use the jetty (version 8) that comes with Solr. It has had a number of unnecessary components removed, and its config has had a few things tweaked, but otherwise it is unchanged from what you get if you download the same version from www.eclipse.org. Jetty is not a toy servlet container. It is a battle-tested enterprise-ready system. It is also the only servlet container that gets officially tested with Solr. I have been using Solr under jetty for nearly four years. If you don't want to mess with creating your own startup scripts, you could use a packaged jetty made for (or provided by) your operating system, but the configuration will probably need tweaking. At the very least you may need to increase maxThreads. There's only one good reason I can think of to use something like Tomcat. That is when you already know another servlet container *really* well, and know how to tune it for varying application requirements. Thanks, Shawn