in reply to Is forking the best solution for a CGI running a heavy/slow process?

Another possibility is to fork off another process which uses HTTP::Daemon or POE::Component::Server::HTTP to provide updates on the status of that job, and then redirect the browser to that process which does the long running job (and also provides status updates to the browser without tying up an Apache process).

  • Comment on Re: Is forking the best solution for a CGI running a heavy/slow process?