tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From KEGan <>
Subject Re: 10,000 Virtual Hosts in a Tomcat instance
Date Sat, 26 Aug 2006 10:30:49 GMT
I tried to use only Tomcat since the static content is dynamically
generated. Think blogging application.

However, users dont update the data that often, that's why I generate the
content and make it static for web access, as oppose to dynamically generate
the content each time it is requested. Using minimal CPU cycles.

Also, I tried to use ONLY Tomcat and do away with integration of Apache HTTP
+ Tomcat, or Lighthttpd + Tomcat, because its would be easier to maintain.

I will try to write some tests and see how much memory and such. Then post
back here. This may take a while.

Worse come to worst, I will keep only 1 webapp, then use servlet filter to
return different HTML depending on the httpServletRequest.getServerName().


On 8/26/06, Mladen Turk <> wrote:
> Andrew Miehs wrote:
> >
> > If you are only delivering static content, then use Apache or Lighttpd
> >
> >
> >
> > This is NOT what tomcat is designed for....
> >
> In theory the threaded model should consume less memory
> and less CPU cycles compared with prefork model.
> Of course if your application is stable then you
> should always prefer worker-mpm over the prefork-mpm.
> Did you ever tried to hit the Httpd with 10000 concurrent
> connections? I did, and Tomcat uses less memory then
> Apache httpd, and that's why it is 2 times faster then
> httpd.
> Regards,
> Mladen.
> ---------------------------------------------------------------------
> To start a new topic, e-mail:
> To unsubscribe, e-mail:
> For additional commands, e-mail:

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message