shahzama has asked for the wisdom of the Perl Monks concerning the following question:
CGI is put in web server in "cgi-bin". Whenever this CGI is invoked by user request, a separate instance is created. So if there are thousands of requests are there, then there will be those many processes(instances) putting constraints on server resources. Thats the disadvantage of CGI. So servlets came in picture. Servlets operate on application server and web server handle only user request and if request is for servlet, transfer it to servlet container. My confusion is, if thousands of requests come in for a particular servlet, then all those processes will be created in application server putting pressure on application server resources. That means problem has moved from web server to application server. How does it solve the problem ?
thanks
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: instances of CGI in web server
by stvn (Monsignor) on Mar 27, 2009 at 00:42 UTC | |
|
Re: instances of CGI in web server
by almut (Canon) on Mar 27, 2009 at 00:07 UTC | |
|
Re: instances of CGI in web server
by linuxer (Curate) on Mar 27, 2009 at 00:28 UTC |