Solr 容器 [英] Solr Container

查看:39
本文介绍了Solr 容器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

SOLR 哪个容器更好:Tomcat 或 Jetty

What is better container for SOLR: Tomcat or Jetty

推荐答案

Jetty 与 Solr 捆绑在一起,因为它的 尺寸:

Jetty is bundled with Solr due to it's size:

Solr 示例应用程序中有 Jetty 只是因为在我们设置的时间结果,Jetty 是我们发现的最简单/最小的 servlet 容器可以以跨平台的方式轻松运行(即:java -jarstart.jar").这并不意味着 Solr 在 Jetty 下运行得更好,或者Jetty 仅适用于演示——这只是 Jetty 制造的我们的演示设置更容易.

The Solr example app has Jetty in it just because at the time we set it up, Jetty was the simplest/smallest servlet container we found that could be run easily in a cross platform way (ie: "java -jar start.jar"). That does not imply that Solr runs better under Jetty, or that Jetty is only good enough for demos -- it's just that Jetty made our demo setup easier.

用户应该自己决定他们使用哪个 Servlet Container根据他们的用例考虑最简单/最好的用例需求/经验.对于高流量场景,投入时间调整 servlet 容器通常会产生很大的不同.

Users should decide for themselves which Servlet Container they consider the easiest/best for their use cases based on their needs/experience. For high traffic scenarios, investing time for tuning the servlet container can often make a big difference.

几个月来,我一直在为几个小网站运行 Solr 和 Jetty,并且没有出现任何问题.

I have been running Solr with Jetty for few small sites for months and had no problems.

我的票投给了 Jetty.

My vote goes for Jetty.

这篇关于Solr 容器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆