Tsirkin Evgeny wrote:
> Hi list!
> Does anybody have an experience running cgi programs under tomcat?
Yes.

> We have a very high load ahead of us and one of my co workers suggestied to
> run the
> cgi program using a tomcat in place of apache .
Really? That wouldn't be my first choice (or my second or third for that
 matter).

> What we have one spare server that we can connect behind our main server
> using one of the two options:
> 1. setup mod_proxy to pass the cgi request to this backend machine and on
> that machine use apache server.
> 2. put tomcat on the backend ,make it run cgi and connect it using mod_jk
> Note that we can't use load balancer here to put the new machine _together_
> with the production one ,
> because we have no time to have a full install of _all_ the applications
> there & we need another ssl cert for it.
> We just want, at the mean time ,put it at the back and redirect some the
> traffic there.
> So ,which is better for cgi : tomcat or apache?
httpd - by a mile - by even more when correctly configured.

> The one who suggested tomcat have in mind the fact that tomcat is
> multithread and we will have less memory footprint with it,hopefully?
So is httpd.

I assume you have load test data that shows that the CGI represents a
sufficiently large proportion of your server load to justify off-loading
it to a separate box.

If that is the case... If you want to have a server dedicated to cgi I'd
suggest something like fastcgi.

Mark




---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to