CGI (and its more modern variant FastCGI) are used in circumstances where the active web app component does not run in-process with the web server. That's not the case with Tomcat, though - it runs both web server and servlet container in the same process, so (Fast)CGI is not needed. What are you trying to do?
Joined: Aug 28, 2009
Ulf Dittmer wrote:CGI (and its more modern variant FastCGI) are used in circumstances where the active web app component does not run in-process with the web server. That's not the case with Tomcat, though - it runs both web server and servlet container in the same process, so (Fast)CGI is not needed. What are you trying to do?
Well i checked how they work.CGI creating a new process for every request and FASTCGI routing request to one process and not creating a new process everytime.
This is the reason i made the post.Well my tomcat is slow.We did load testing using HP load runner.And it wont take more than 25 requests.More so we do a lot of cgi calls.
Would you like to share how can one speed up tomcat and CGI calls.
The idea is to optimize i have gone through documentation.Increasing thread count,memory,minspare thread count.I am not very gud with linux and installation but i am working on it.Jamon was recommended for testing i will check that...
Meanwhile if you know things how can one optimize tomcat.Because there are always some basic steps that can be done to optimize i think .....we have 8GB of ram quard core processor.Resources is not an issue.CPU utilization doesnt go up, network is 1GB ethernet it works fine too,so does RAM.
Please do i let me know what you think about it more so if you want i can share settings too...thanks
Joined: Mar 22, 2005
OK, your web app is slow and you want to speed it up. The first step would be to measure where the slowness comes from - the network connection, or the application code, or any I/O or DB accesses the web app might be doing. Then you can start addressing the reason for the slowness.
What do you men by "we do a lot of cgi calls."? Tomcat itself doesn't use CGI (unless you're using the CGI Servlet to make Tomcat invoke some other process, which would be a very rare case indeed).
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com