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
In reply to instances of CGI in web server by shahzama
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |