Benjamin Hitz wrote on 02/09/2009 12:30 PM:
> 
> We have converted a plain cgi app under CGI::App (no dispatch) to run
> under FCGI without much difficulty (Solaris).  The biggest problem I had
> was some "mixed" apps where I was creating 2 distinct DBI database
> handles.  Once I got it down to 1, everything worked well.
> 
> Primary gain is start up time from stuff like DBIx::Class (but CGI::App
> and even perl are kinda heavy weight).
> 
> We still have to restart apache to debug it, although "in principle" you
> don't.

I recommend the "in principle" part. I run all my fastcgi apps using the
ExternalServer option, which I found well documented at the fastcgi
site. That lets me stop/start the app independently of apache, which is
nice for rolling out new versions, etc.

-- 
Peter Karman  .  pe...@peknet.com  .  http://peknet.com/


#####  CGI::Application community mailing list  ################
##                                                            ##
##  To unsubscribe, or change your message delivery options,  ##
##  visit:  http://www.erlbaum.net/mailman/listinfo/cgiapp    ##
##                                                            ##
##  Web archive:   http://www.erlbaum.net/pipermail/cgiapp/   ##
##  Wiki:          http://cgiapp.erlbaum.net/                 ##
##                                                            ##
################################################################

Reply via email to