As far as I know .... When a server receives a request that accesses a CGI program, it must create a new process to run the CGI program and then pass to it, via environment variables and standard input, every bit of information that might be necessary to generate a response. Creating a process for every such request requires time and significant server resources, which limits the number of requests a server can handle concurrently Writing a CGI script in Perl gives it a semblance of platform independence, but it also requires that each request start a separate Perl interpreter, which takes even more time and requires extra resources. when you use mod_perl ,the effect is that your CGI scripts are precompiled by the server and executed without forking, thus running much more quickly and efficiently..... mod_perl is relatively faster, because it uses the Apache Server API and has an embedded Perl interpreter inside Apache. Java servlets are run by the servlet engine as co-processes outside the Apache web server. All said and done I'd stick with java servlets
Siddharth -----Original Message----- From: christer.nordvik [SMTP:[EMAIL PROTECTED]] Sent: Friday, September 06, 2002 5:37 PM To: SERVLET-INTEREST Cc: christer.nordvik Subject: SV: UK-based web host Not sure. I tried to argue my case, but they only kept saying that Apache with Perl module used lot less resources. I have only seen articles saying how much better JSP/servlets are compared to ASP, CGI and Perl so maybe someone else has any views on this? -Christer > I got that response too from a UK-based company I approached recently, but > is it true? > I thought, maybe wrongly, that one of the advantages of servlets over > other > technologies (CGI, etc.) was that it used *less* resources. Am I wrong in > thinking I read this somewhere? > > Regards, Billy. > > > > -----Original Message----- > From: Christer Nordvik [mailto:[EMAIL PROTECTED]] > Sent: 06 September 2002 12:16 > To: [EMAIL PROTECTED] > Subject: Re: UK-based web host > > > Try go get a nearby hosting company to host your PC. Much easier because > then you have full control over the application server and you can run > your own DB on the same machine. Not many offers of JSP/servlets as I > know of mainly because many hosting companies claim that it consumes too > many resources compared to other technologies. > > Regards, > > -Christer > > > Can anybody recommend a UK-based host offering > > JSP/servlets, preferably with tomcat? > > > > Thanks, > > Gary. > > > > > > ===== > > ------------------------------------------ > > Email me [EMAIL PROTECTED] > > K's Web http://www.kingstonian.net > > > > __________________________________________________ > > Do You Yahoo!? > > Everything you'll ever need on one web page > > from News and Sport to Email and Music Charts > > http://uk.my.yahoo.com > > > > > ________________________________________________________________________ > __ > > _ > > To unsubscribe, send email to [EMAIL PROTECTED] and include in the > > body > > of the message "signoff SERVLET-INTEREST". > > > > Archives: http://archives.java.sun.com/archives/servlet-interest.html > > Resources: > http://java.sun.com/products/servlet/external-resources.html > > LISTSERV Help: http://www.lsoft.com/manuals/user/user.html > > ________________________________________________________________________ __ > _ > To unsubscribe, send email to [EMAIL PROTECTED] and include in the > body > of the message "signoff SERVLET-INTEREST". > > Archives: http://archives.java.sun.com/archives/servlet-interest.html > Resources: http://java.sun.com/products/servlet/external-resources.html > LISTSERV Help: http://www.lsoft.com/manuals/user/user.html ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html ___________________________________________________________________________ To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff SERVLET-INTEREST". Archives: http://archives.java.sun.com/archives/servlet-interest.html Resources: http://java.sun.com/products/servlet/external-resources.html LISTSERV Help: http://www.lsoft.com/manuals/user/user.html