On 8/26/06, Andrew Miehs <[EMAIL PROTECTED]> wrote:
?! Now I am confused ?!

10,000 connections and 10,000 virtual hosts have NOTHING to do with
one another.

As to 10,000 virtual hosts in Tomcat, vs 10,000 virtual hosts in
Apache....

No idea - I don't think 10,000 virtual hosts on either is a good idea.
But with Tomcat, you have 10,000 'WebApps' ie: at least 10,000
objects, ignoring what ever else the webapp initialises, vs a look up
table (probably a hash) in Apache.

I don't think it is a very scalable solution.

According to the original poster, all 10,000 webapps, are the same,
so I would look at only having 1 web app, and dealing with the
'virtual hosting' inside my webapp.

That could be a good move. A JSP like the index.jsp which is in Tomcat
could do that, and is at least as fast as a static page.

Note: If APR is installed, Tomcat uses epoll if available too, so it
can support 1000s of connections easily (on Linux).

Rémy

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to