in reply to Re: Is Plack ready for production?
in thread Is Plack ready for production?

Roubi, do you happen to be using mod_fcgid to run what mod_fastcgi would call a static server?   (In other words, the URL does not point to a filename; Apache (maybe) starts the server(s) when Apache is initialized.)

I had serious troubles figuring out if mod_fcgid could do that, to the point that I wound up compiling mod_fastcgi from source for a Linux box that didn’t supply it by default.   (It’s very obvious from the docs how mod_fastcgi supports that mode.   But it’s not at all obvious to me how/if mod_fcgid does, although for this mode to be unsupported seems quite “no, this just can’t be.”)

A snippet of the necessary config-file voodoo would be quite useful to me, if you did get it to work that way.

Replies are listed 'Best First'.
Re^3: Is Plack ready for production?
by roubi (Hermit) on Sep 28, 2011 at 15:30 UTC
    I am pretty sure my setup is closer to what mod_fastcgi calls "dynamic". Apache is in charge of starting and stopping the application instances based on load, and won't do so until the first hit to the app.
    In practical terms though, the monitoring scheme we've got here should ensure that the "dynamic" app is always up and so I haven't looked at a more static-ish setup. If you do find out how to do this with mod_fcgid I'd be interested to hear about it.