Re: preferred container for running SolrCloud

2013-07-13 Thread Tim Vaillancourt

We run Jetty 8 and 9 with Solr. No issues I can think of.

We use Jetty interally anyways, and it seemed to be the most common 
container out there for Solr (from reading this mailinglist, articles, 
etc), so that made me feel a bit better if I needed advice or help from 
the community - not to say there isn't a lot of Tomcat + Solr knowledge 
on the list.


Performance-wise, years back I heard Jetty was the faster/lighter-on-RAM 
container in regards to Tomcat, but recent benchmarks I've seen out 
there seem to indicate Tomcat is on par or possibly faster now, although 
I believe while using more RAM. Don't quote me here. I'd love if someone 
could do a Solr-specific benchmark.


Another neat, but sort of unimportant tidbit is Google App Engine went 
with Jetty, which to me indicates the Jetty project isn't going away 
anytime soon. Who knows, Google may even submit back valuable 
improvements to the project. Live in hope!


Tim

On 11/07/13 08:14 PM, Saikat Kanjilal wrote:

One last thing, no issues with jetty.  The issues we did have was actually 
running separate zookeeper clusters.


From: sxk1...@hotmail.com
To: solr-user@lucene.apache.org
Subject: RE: preferred container for running SolrCloud
Date: Thu, 11 Jul 2013 20:13:27 -0700

Separate Zookeeper.


Date: Thu, 11 Jul 2013 19:27:18 -0700
Subject: Re: preferred container for running SolrCloud
From: docbook@gmail.com
To: solr-user@lucene.apache.org

With the embedded Zookeeper or separate Zookeeper? Also have run into any
issues with running SolrCloud on jetty?


On Thu, Jul 11, 2013 at 7:01 PM, Saikat Kanjilalsxk1...@hotmail.comwrote:


We're running under jetty.

Sent from my iPhone

On Jul 11, 2013, at 6:06 PM, Ali, Saqibdocbook@gmail.com  wrote:


1) Jboss
2) Jetty
3) Tomcat
4) Other..

?






Re: preferred container for running SolrCloud

2013-07-13 Thread Furkan KAMACI
Of course you may have some reasons to use Tomcat or anything else (i.e.
your stuff may have more experience at Tomcat etc.) However developers
generally runs Jetty because it is default for Solr and I should point that
Solr unit tests run against jetty (in fact, a specific version of Jetty)
and well tested (if you search in mail list you can find some conversations
about it). If you follow Solr developer list you may realize using a well
tested container or not. For example:
https://issues.apache.org/jira/browse/SOLR-4716 and
https://issues.apache.org/jira/browse/SOLR-4584?focusedCommentId=13625276page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13625276can
show that there maybe some bugs for non Jetty containers and if you
choose any other container except for Jetty you can hit one of them.

If you want to look at the comparison of Jetty vs. Tomcat I suggest you
look at here:

http://www.openlogic.com/wazi/bid/257366/Power-Java-based-web-apps-with-Jetty-application-server

and here:

http://www.infoq.com/news/2009/08/google-chose-jetty



2013/7/13 Tim Vaillancourt t...@elementspace.com

 We run Jetty 8 and 9 with Solr. No issues I can think of.

 We use Jetty interally anyways, and it seemed to be the most common
 container out there for Solr (from reading this mailinglist, articles,
 etc), so that made me feel a bit better if I needed advice or help from the
 community - not to say there isn't a lot of Tomcat + Solr knowledge on the
 list.

 Performance-wise, years back I heard Jetty was the faster/lighter-on-RAM
 container in regards to Tomcat, but recent benchmarks I've seen out there
 seem to indicate Tomcat is on par or possibly faster now, although I
 believe while using more RAM. Don't quote me here. I'd love if someone
 could do a Solr-specific benchmark.

 Another neat, but sort of unimportant tidbit is Google App Engine went
 with Jetty, which to me indicates the Jetty project isn't going away
 anytime soon. Who knows, Google may even submit back valuable improvements
 to the project. Live in hope!

 Tim


 On 11/07/13 08:14 PM, Saikat Kanjilal wrote:

 One last thing, no issues with jetty.  The issues we did have was
 actually running separate zookeeper clusters.

  From: sxk1...@hotmail.com
 To: solr-user@lucene.apache.org
 Subject: RE: preferred container for running SolrCloud
 Date: Thu, 11 Jul 2013 20:13:27 -0700

 Separate Zookeeper.

  Date: Thu, 11 Jul 2013 19:27:18 -0700
 Subject: Re: preferred container for running SolrCloud
 From: docbook@gmail.com
 To: solr-user@lucene.apache.org

 With the embedded Zookeeper or separate Zookeeper? Also have run into
 any
 issues with running SolrCloud on jetty?


 On Thu, Jul 11, 2013 at 7:01 PM, Saikat Kanjilalsxk1...@hotmail.com
 wrote:

  We're running under jetty.

 Sent from my iPhone

 On Jul 11, 2013, at 6:06 PM, Ali, Saqibdocbook@gmail.com
  wrote:

  1) Jboss
 2) Jetty
 3) Tomcat
 4) Other..

 ?








Re: preferred container for running SolrCloud

2013-07-13 Thread Tim Vaillancourt

Very good point, Furkan.

The unit tests being ran against Jetty is another very good reason to 
feel safer on Jetty, IMHO. I'm assuming the SolrCloud ChaosMonkey tests 
are ran against Jetty as well?


Tim

On 13/07/13 02:46 PM, Furkan KAMACI wrote:

Of course you may have some reasons to use Tomcat or anything else (i.e.
your stuff may have more experience at Tomcat etc.) However developers
generally runs Jetty because it is default for Solr and I should point that
Solr unit tests run against jetty (in fact, a specific version of Jetty)
and well tested (if you search in mail list you can find some conversations
about it). If you follow Solr developer list you may realize using a well
tested container or not. For example:
https://issues.apache.org/jira/browse/SOLR-4716 and
https://issues.apache.org/jira/browse/SOLR-4584?focusedCommentId=13625276page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13625276can
show that there maybe some bugs for non Jetty containers and if you
choose any other container except for Jetty you can hit one of them.

If you want to look at the comparison of Jetty vs. Tomcat I suggest you
look at here:

http://www.openlogic.com/wazi/bid/257366/Power-Java-based-web-apps-with-Jetty-application-server

and here:

http://www.infoq.com/news/2009/08/google-chose-jetty



2013/7/13 Tim Vaillancourtt...@elementspace.com


We run Jetty 8 and 9 with Solr. No issues I can think of.

We use Jetty interally anyways, and it seemed to be the most common
container out there for Solr (from reading this mailinglist, articles,
etc), so that made me feel a bit better if I needed advice or help from the
community - not to say there isn't a lot of Tomcat + Solr knowledge on the
list.

Performance-wise, years back I heard Jetty was the faster/lighter-on-RAM
container in regards to Tomcat, but recent benchmarks I've seen out there
seem to indicate Tomcat is on par or possibly faster now, although I
believe while using more RAM. Don't quote me here. I'd love if someone
could do a Solr-specific benchmark.

Another neat, but sort of unimportant tidbit is Google App Engine went
with Jetty, which to me indicates the Jetty project isn't going away
anytime soon. Who knows, Google may even submit back valuable improvements
to the project. Live in hope!

Tim


On 11/07/13 08:14 PM, Saikat Kanjilal wrote:


One last thing, no issues with jetty.  The issues we did have was
actually running separate zookeeper clusters.

  From: sxk1...@hotmail.com

To: solr-user@lucene.apache.org
Subject: RE: preferred container for running SolrCloud
Date: Thu, 11 Jul 2013 20:13:27 -0700

Separate Zookeeper.

  Date: Thu, 11 Jul 2013 19:27:18 -0700

Subject: Re: preferred container for running SolrCloud
From: docbook@gmail.com
To: solr-user@lucene.apache.org

With the embedded Zookeeper or separate Zookeeper? Also have run into
any
issues with running SolrCloud on jetty?


On Thu, Jul 11, 2013 at 7:01 PM, Saikat Kanjilalsxk1...@hotmail.com

wrote:

  We're running under jetty.

Sent from my iPhone

On Jul 11, 2013, at 6:06 PM, Ali, Saqibdocbook@gmail.com
  wrote:

  1) Jboss

2) Jetty
3) Tomcat
4) Other..

?





Re: preferred container for running SolrCloud

2013-07-13 Thread Shawn Heisey
On 7/13/2013 3:55 PM, Tim Vaillancourt wrote:
 Very good point, Furkan.
 
 The unit tests being ran against Jetty is another very good reason to
 feel safer on Jetty, IMHO. I'm assuming the SolrCloud ChaosMonkey tests
 are ran against Jetty as well?

All Solr unit tests either access the underlying API directly or start a
full instance of Solr under Jetty.  A typical SolrCloud test starts up
multiple Jetty threads.

I've looked at a couple of the ChaosMonkey tests, and they do mention jetty.

Thanks,
Shawn



preferred container for running SolrCloud

2013-07-11 Thread Ali, Saqib
1) Jboss
2) Jetty
3) Tomcat
4) Other..

?


Re: preferred container for running SolrCloud

2013-07-11 Thread Saikat Kanjilal
We're running under jetty.

Sent from my iPhone

On Jul 11, 2013, at 6:06 PM, Ali, Saqib docbook@gmail.com wrote:

 1) Jboss
 2) Jetty
 3) Tomcat
 4) Other..
 
 ?


Re: preferred container for running SolrCloud

2013-07-11 Thread Ali, Saqib
With the embedded Zookeeper or separate Zookeeper? Also have run into any
issues with running SolrCloud on jetty?


On Thu, Jul 11, 2013 at 7:01 PM, Saikat Kanjilal sxk1...@hotmail.comwrote:

 We're running under jetty.

 Sent from my iPhone

 On Jul 11, 2013, at 6:06 PM, Ali, Saqib docbook@gmail.com wrote:

  1) Jboss
  2) Jetty
  3) Tomcat
  4) Other..
 
  ?



Re: preferred container for running SolrCloud

2013-07-11 Thread Anshum Gupta
On production, I'd highly recommend you to run Zk separately as that'd give
you, among other things, the liberty of shutting down a SolrCloud instance.
I haven't heard or seen any SolrCloud issues while running it on jetty.


On Fri, Jul 12, 2013 at 7:57 AM, Ali, Saqib docbook@gmail.com wrote:

 With the embedded Zookeeper or separate Zookeeper? Also have run into any
 issues with running SolrCloud on jetty?


 On Thu, Jul 11, 2013 at 7:01 PM, Saikat Kanjilal sxk1...@hotmail.com
 wrote:

  We're running under jetty.
 
  Sent from my iPhone
 
  On Jul 11, 2013, at 6:06 PM, Ali, Saqib docbook@gmail.com wrote:
 
   1) Jboss
   2) Jetty
   3) Tomcat
   4) Other..
  
   ?
 




-- 

Anshum Gupta
http://www.anshumgupta.net


Re: preferred container for running SolrCloud

2013-07-11 Thread Walter Underwood
Embedded Zookeeper is only for dev. Production needs to run a ZK cluster.  
--wunder

On Jul 11, 2013, at 7:27 PM, Ali, Saqib wrote:

 With the embedded Zookeeper or separate Zookeeper? Also have run into any
 issues with running SolrCloud on jetty?
 
 
 On Thu, Jul 11, 2013 at 7:01 PM, Saikat Kanjilal sxk1...@hotmail.comwrote:
 
 We're running under jetty.
 
 Sent from my iPhone
 
 On Jul 11, 2013, at 6:06 PM, Ali, Saqib docbook@gmail.com wrote:
 
 1) Jboss
 2) Jetty
 3) Tomcat
 4) Other..
 
 ?
 






Re: preferred container for running SolrCloud

2013-07-11 Thread Ali, Saqib
Thanks Walter. And the container..


On Thu, Jul 11, 2013 at 7:55 PM, Walter Underwood wun...@wunderwood.orgwrote:

 Embedded Zookeeper is only for dev. Production needs to run a ZK cluster.
  --wunder

 On Jul 11, 2013, at 7:27 PM, Ali, Saqib wrote:

  With the embedded Zookeeper or separate Zookeeper? Also have run into any
  issues with running SolrCloud on jetty?
 
 
  On Thu, Jul 11, 2013 at 7:01 PM, Saikat Kanjilal sxk1...@hotmail.com
 wrote:
 
  We're running under jetty.
 
  Sent from my iPhone
 
  On Jul 11, 2013, at 6:06 PM, Ali, Saqib docbook@gmail.com
 wrote:
 
  1) Jboss
  2) Jetty
  3) Tomcat
  4) Other..
 
  ?
 







Re: preferred container for running SolrCloud

2013-07-11 Thread Walter Underwood
We use Tomcat for everything. It might not be the best, but it is what our Ops 
group is used to.

wunder

On Jul 11, 2013, at 7:58 PM, Ali, Saqib wrote:

 Thanks Walter. And the container..
 
 
 On Thu, Jul 11, 2013 at 7:55 PM, Walter Underwood 
 wun...@wunderwood.orgwrote:
 
 Embedded Zookeeper is only for dev. Production needs to run a ZK cluster.
 --wunder
 
 On Jul 11, 2013, at 7:27 PM, Ali, Saqib wrote:
 
 With the embedded Zookeeper or separate Zookeeper? Also have run into any
 issues with running SolrCloud on jetty?
 
 
 On Thu, Jul 11, 2013 at 7:01 PM, Saikat Kanjilal sxk1...@hotmail.com
 wrote:
 
 We're running under jetty.
 
 Sent from my iPhone
 
 On Jul 11, 2013, at 6:06 PM, Ali, Saqib docbook@gmail.com
 wrote:
 
 1) Jboss
 2) Jetty
 3) Tomcat
 4) Other..
 
 ?
 
 
 
 
 
 

--
Walter Underwood
wun...@wunderwood.org





RE: preferred container for running SolrCloud

2013-07-11 Thread Saikat Kanjilal
Separate Zookeeper.

 Date: Thu, 11 Jul 2013 19:27:18 -0700
 Subject: Re: preferred container for running SolrCloud
 From: docbook@gmail.com
 To: solr-user@lucene.apache.org
 
 With the embedded Zookeeper or separate Zookeeper? Also have run into any
 issues with running SolrCloud on jetty?
 
 
 On Thu, Jul 11, 2013 at 7:01 PM, Saikat Kanjilal sxk1...@hotmail.comwrote:
 
  We're running under jetty.
 
  Sent from my iPhone
 
  On Jul 11, 2013, at 6:06 PM, Ali, Saqib docbook@gmail.com wrote:
 
   1) Jboss
   2) Jetty
   3) Tomcat
   4) Other..
  
   ?
 
  

RE: preferred container for running SolrCloud

2013-07-11 Thread Saikat Kanjilal
One last thing, no issues with jetty.  The issues we did have was actually 
running separate zookeeper clusters.

 From: sxk1...@hotmail.com
 To: solr-user@lucene.apache.org
 Subject: RE: preferred container for running SolrCloud
 Date: Thu, 11 Jul 2013 20:13:27 -0700
 
 Separate Zookeeper.
 
  Date: Thu, 11 Jul 2013 19:27:18 -0700
  Subject: Re: preferred container for running SolrCloud
  From: docbook@gmail.com
  To: solr-user@lucene.apache.org
  
  With the embedded Zookeeper or separate Zookeeper? Also have run into any
  issues with running SolrCloud on jetty?
  
  
  On Thu, Jul 11, 2013 at 7:01 PM, Saikat Kanjilal sxk1...@hotmail.comwrote:
  
   We're running under jetty.
  
   Sent from my iPhone
  
   On Jul 11, 2013, at 6:06 PM, Ali, Saqib docbook@gmail.com wrote:
  
1) Jboss
2) Jetty
3) Tomcat
4) Other..
   
?