You are viewing a plain text version of this content. The canonical link for it is here.
Posted to solr-user@lucene.apache.org by Andrea Gazzarini <an...@atcult.it> on 2010/04/17 11:08:14 UTC

Jetty, Tomcat or JBoss?

Hi all,
I have a web application which is basically a (user) search interface 
towards SOLR.
My index is something like 7GB and has a lot of records so apart other 
things like optiming SOLR schema, config ,clustering etc... I'd like to 
keep SOLR installation as light as possible.
At the moment my SOLR instance is running under JBoss but I saw that 
running under the bundled Jetty it takes a very little amount of memory 
(at least at startup and after one hour of usage)

So my questions is: since SOLR is using JEE web components what are the 
drawback of using the following architecture?

-My Application (Full JEE application with web components and EJB) on JBoss;
- SOLR on Jetty or Tomcat

Having said that and supposing that the idea is good, what are the main 
differences / advantages / disadvamtages (from this point of view) 
between Tomcat and Jetty?

Best Regards,
Andrea


Re: Jetty, Tomcat or JBoss?

Posted by Bill Au <bi...@gmail.com>.
I never said they weren't.

Bill

On Tue, Apr 20, 2010 at 5:54 PM, Abdelhamid ABID <ae...@gmail.com> wrote:

> Which are JEE Web components, aren't they?
>
> On 4/20/10, Bill Au <bi...@gmail.com> wrote:
> >
> > Solr only uses Servlet and JSP.
> >
> >
> > Bill
> >
> >
> > On Sat, Apr 17, 2010 at 9:11 AM, Abdelhamid ABID <ae...@gmail.com>
> > wrote:
> >
> > > Solr does use JEE WEB components
> > >
> > > On 4/17/10, Lukáš Vlček <lu...@gmail.com> wrote:
> > > >
> > > > Hi,
> > > >
> > > > may be you should be aware that JBoss AS is using Tomcat for web
> > > container
> > > > (with modified classloader), so if your web application is running
> > inside
> > > > JBoss AS then it is in fact running in Tomcat.
> > > > I don't think Solr uses JEE technologies provided by JEE Application
> > > server
> > > > (JMS, Transaction services, pooling services, clustered EJB...
> etc...).
> > > All
> > > > it requires is web container AFAIK. This being said it will always
> take
> > > > longer for application server to start and it will require more
> > resources
> > > > as
> > > > opposed to lightweight web container.
> > > >
> > > > Regards,
> > > > Lukas
> > > >
> > > >
> > > > On Sat, Apr 17, 2010 at 11:08 AM, Andrea Gazzarini <
> > > > andrea.gazzarini@atcult.it> wrote:
> > > >
> > > > > Hi all,
> > > > > I have a web application which is basically a (user) search
> interface
> > > > > towards SOLR.
> > > > > My index is something like 7GB and has a lot of records so apart
> > other
> > > > > things like optiming SOLR schema, config ,clustering etc... I'd
> like
> > to
> > > > keep
> > > > > SOLR installation as light as possible.
> > > > > At the moment my SOLR instance is running under JBoss but I saw
> that
> > > > > running under the bundled Jetty it takes a very little amount of
> > memory
> > > > (at
> > > > > least at startup and after one hour of usage)
> > > > >
> > > > > So my questions is: since SOLR is using JEE web components what are
> > the
> > > > > drawback of using the following architecture?
> > > > >
> > > > > -My Application (Full JEE application with web components and EJB)
> on
> > > > > JBoss;
> > > > > - SOLR on Jetty or Tomcat
> > > > >
> > > > > Having said that and supposing that the idea is good, what are the
> > main
> > > > > differences / advantages / disadvamtages (from this point of view)
> > > > between
> > > > > Tomcat and Jetty?
> > > > >
> > > > > Best Regards,
> > > > > Andrea
> > > > >
> > > > >
> > > >
> > >
> > >
> > >
> > > --
> > > Abdelhamid ABID
> > >
> >
>
>
>
> --
> Abdelhamid ABID
> Software Engineer- J2EE / WEB
>

Re: Jetty, Tomcat or JBoss?

Posted by Abdelhamid ABID <ae...@gmail.com>.
Which are JEE Web components, aren't they?

On 4/20/10, Bill Au <bi...@gmail.com> wrote:
>
> Solr only uses Servlet and JSP.
>
>
> Bill
>
>
> On Sat, Apr 17, 2010 at 9:11 AM, Abdelhamid ABID <ae...@gmail.com>
> wrote:
>
> > Solr does use JEE WEB components
> >
> > On 4/17/10, Lukáš Vlček <lu...@gmail.com> wrote:
> > >
> > > Hi,
> > >
> > > may be you should be aware that JBoss AS is using Tomcat for web
> > container
> > > (with modified classloader), so if your web application is running
> inside
> > > JBoss AS then it is in fact running in Tomcat.
> > > I don't think Solr uses JEE technologies provided by JEE Application
> > server
> > > (JMS, Transaction services, pooling services, clustered EJB... etc...).
> > All
> > > it requires is web container AFAIK. This being said it will always take
> > > longer for application server to start and it will require more
> resources
> > > as
> > > opposed to lightweight web container.
> > >
> > > Regards,
> > > Lukas
> > >
> > >
> > > On Sat, Apr 17, 2010 at 11:08 AM, Andrea Gazzarini <
> > > andrea.gazzarini@atcult.it> wrote:
> > >
> > > > Hi all,
> > > > I have a web application which is basically a (user) search interface
> > > > towards SOLR.
> > > > My index is something like 7GB and has a lot of records so apart
> other
> > > > things like optiming SOLR schema, config ,clustering etc... I'd like
> to
> > > keep
> > > > SOLR installation as light as possible.
> > > > At the moment my SOLR instance is running under JBoss but I saw that
> > > > running under the bundled Jetty it takes a very little amount of
> memory
> > > (at
> > > > least at startup and after one hour of usage)
> > > >
> > > > So my questions is: since SOLR is using JEE web components what are
> the
> > > > drawback of using the following architecture?
> > > >
> > > > -My Application (Full JEE application with web components and EJB) on
> > > > JBoss;
> > > > - SOLR on Jetty or Tomcat
> > > >
> > > > Having said that and supposing that the idea is good, what are the
> main
> > > > differences / advantages / disadvamtages (from this point of view)
> > > between
> > > > Tomcat and Jetty?
> > > >
> > > > Best Regards,
> > > > Andrea
> > > >
> > > >
> > >
> >
> >
> >
> > --
> > Abdelhamid ABID
> >
>



-- 
Abdelhamid ABID
Software Engineer- J2EE / WEB

Re: Jetty, Tomcat or JBoss?

Posted by Bill Au <bi...@gmail.com>.
Solr only uses Servlet and JSP.

Bill

On Sat, Apr 17, 2010 at 9:11 AM, Abdelhamid ABID <ae...@gmail.com> wrote:

> Solr does use JEE WEB components
>
> On 4/17/10, Lukáš Vlček <lu...@gmail.com> wrote:
> >
> > Hi,
> >
> > may be you should be aware that JBoss AS is using Tomcat for web
> container
> > (with modified classloader), so if your web application is running inside
> > JBoss AS then it is in fact running in Tomcat.
> > I don't think Solr uses JEE technologies provided by JEE Application
> server
> > (JMS, Transaction services, pooling services, clustered EJB... etc...).
> All
> > it requires is web container AFAIK. This being said it will always take
> > longer for application server to start and it will require more resources
> > as
> > opposed to lightweight web container.
> >
> > Regards,
> > Lukas
> >
> >
> > On Sat, Apr 17, 2010 at 11:08 AM, Andrea Gazzarini <
> > andrea.gazzarini@atcult.it> wrote:
> >
> > > Hi all,
> > > I have a web application which is basically a (user) search interface
> > > towards SOLR.
> > > My index is something like 7GB and has a lot of records so apart other
> > > things like optiming SOLR schema, config ,clustering etc... I'd like to
> > keep
> > > SOLR installation as light as possible.
> > > At the moment my SOLR instance is running under JBoss but I saw that
> > > running under the bundled Jetty it takes a very little amount of memory
> > (at
> > > least at startup and after one hour of usage)
> > >
> > > So my questions is: since SOLR is using JEE web components what are the
> > > drawback of using the following architecture?
> > >
> > > -My Application (Full JEE application with web components and EJB) on
> > > JBoss;
> > > - SOLR on Jetty or Tomcat
> > >
> > > Having said that and supposing that the idea is good, what are the main
> > > differences / advantages / disadvamtages (from this point of view)
> > between
> > > Tomcat and Jetty?
> > >
> > > Best Regards,
> > > Andrea
> > >
> > >
> >
>
>
>
> --
> Abdelhamid ABID
>

Re: Jetty, Tomcat or JBoss?

Posted by Abdelhamid ABID <ae...@gmail.com>.
Solr does use JEE WEB components

On 4/17/10, Lukáš Vlček <lu...@gmail.com> wrote:
>
> Hi,
>
> may be you should be aware that JBoss AS is using Tomcat for web container
> (with modified classloader), so if your web application is running inside
> JBoss AS then it is in fact running in Tomcat.
> I don't think Solr uses JEE technologies provided by JEE Application server
> (JMS, Transaction services, pooling services, clustered EJB... etc...). All
> it requires is web container AFAIK. This being said it will always take
> longer for application server to start and it will require more resources
> as
> opposed to lightweight web container.
>
> Regards,
> Lukas
>
>
> On Sat, Apr 17, 2010 at 11:08 AM, Andrea Gazzarini <
> andrea.gazzarini@atcult.it> wrote:
>
> > Hi all,
> > I have a web application which is basically a (user) search interface
> > towards SOLR.
> > My index is something like 7GB and has a lot of records so apart other
> > things like optiming SOLR schema, config ,clustering etc... I'd like to
> keep
> > SOLR installation as light as possible.
> > At the moment my SOLR instance is running under JBoss but I saw that
> > running under the bundled Jetty it takes a very little amount of memory
> (at
> > least at startup and after one hour of usage)
> >
> > So my questions is: since SOLR is using JEE web components what are the
> > drawback of using the following architecture?
> >
> > -My Application (Full JEE application with web components and EJB) on
> > JBoss;
> > - SOLR on Jetty or Tomcat
> >
> > Having said that and supposing that the idea is good, what are the main
> > differences / advantages / disadvamtages (from this point of view)
> between
> > Tomcat and Jetty?
> >
> > Best Regards,
> > Andrea
> >
> >
>



-- 
Abdelhamid ABID

Re: Jetty, Tomcat or JBoss?

Posted by Lukáš Vlček <lu...@gmail.com>.
Hi,

may be you should be aware that JBoss AS is using Tomcat for web container
(with modified classloader), so if your web application is running inside
JBoss AS then it is in fact running in Tomcat.
I don't think Solr uses JEE technologies provided by JEE Application server
(JMS, Transaction services, pooling services, clustered EJB... etc...). All
it requires is web container AFAIK. This being said it will always take
longer for application server to start and it will require more resources as
opposed to lightweight web container.

Regards,
Lukas

On Sat, Apr 17, 2010 at 11:08 AM, Andrea Gazzarini <
andrea.gazzarini@atcult.it> wrote:

> Hi all,
> I have a web application which is basically a (user) search interface
> towards SOLR.
> My index is something like 7GB and has a lot of records so apart other
> things like optiming SOLR schema, config ,clustering etc... I'd like to keep
> SOLR installation as light as possible.
> At the moment my SOLR instance is running under JBoss but I saw that
> running under the bundled Jetty it takes a very little amount of memory (at
> least at startup and after one hour of usage)
>
> So my questions is: since SOLR is using JEE web components what are the
> drawback of using the following architecture?
>
> -My Application (Full JEE application with web components and EJB) on
> JBoss;
> - SOLR on Jetty or Tomcat
>
> Having said that and supposing that the idea is good, what are the main
> differences / advantages / disadvamtages (from this point of view) between
> Tomcat and Jetty?
>
> Best Regards,
> Andrea
>
>