问题
my site is running on linode. I have got 380+ MB RAM. I need to run the web server + Solr + Postgres + memcached on the same space.
Which is best Jetty or Tomcat? It is simple, plain search server. We use Pylons for development.
回答1:
Jetty can be set up to load only the features you need. For example you can turn off session support.
I think Jetty is better in general case either, see Jetty vs Tomcat comparison.
回答2:
I have used both, and found that Jetty was a heck of a lot easier to set up on CentOS. However, I have one server running with Tomcat, and it's been rock solid (on a 512MB Linode).
I've seen a tiny bit of performance improvement on Jetty for a high-volume search server, but it's nothing that would make me choose it over Tomcat for performance reasons alone...
来源:https://stackoverflow.com/questions/727032/jetty-or-tomcat-for-small-linode