in reply to Persistent MySQL connection handle on FastCGI dispatcher

I don't think FASTCGI will do what you want. Have a look at Jifty::Script::Fastcgi form Jesse Vincent and see what he did. I note that he doesnt try to pass a handler through - FASTCGI apparently cannot even call your CGI with command line parameters.

jdtoronto

  • Comment on Re: Persistent MySQL connection handle on FastCGI dispatcher

Replies are listed 'Best First'.
Re^2: Persistent MySQL connection handle on FastCGI dispatcher
by RnC (Sexton) on Aug 15, 2006 at 00:56 UTC

    Thanks!

    I read this snippet in the page you mentioned:

    When you're ready to move up to something that can handle the increasing load your new world-changing application is generating, you'll need something a bit heavier-duty than the pure-perl Jifty standalone server. FastCGI is what you're looking for.

    So I might as well not even go down this path. I expect this script to be receiving no less than 800 requests per second, as it's part of another application that will perform logging over HTTP. Having the application in question connecting directly to the database isn't an option in this case.

    But thanks again anyway!