[Catalyst-dev] Is it possible to have fastCGI keep persistent database handle?

Boris G. Kolesnikov kolesnikov.boris at gmail.com
Tue Feb 15 18:35:02 GMT 2011

Use DBIx - it uses lazy initialization - connects on the first
requests and mantains persistent connection

2011/2/15 Joseph He <joseph.he.2008 at gmail.com>:
> All, good day.
> With fastCGI, I can achieve persistent script so I can save loading time,
> but I find that I don't have persistent dbi handle? Each time the
> application runs, database also opens a fresh handle.
> Search on net, people say Apache::DBI can do the job, but I found mod_perl
> is its prerequisite.
> Is it really possible to have persistent DB handle with Perl/fastCGI? My
> environment is Windows, SQL server, Perl.
> Many many thanks.
> Joe
> _______________________________________________
> Catalyst-dev mailing list
> Catalyst-dev at lists.scsys.co.uk
> http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst-dev

More information about the Catalyst-dev mailing list