[openbeos] Re: Web hosting from DreamHost, for free.

  • From: Mikael Jansson <lists@xxxxxxxxxxxxxxxxx>
  • To: openbeos@xxxxxxxxxxxxx
  • Date: Thu, 07 Dec 2006 09:44:48 +0100

Michael Phipps skrev:
A normal CGI does a fork and exec() to start the CGI application.

FastCGI runs in a loop (think BLooper), waiting for requests. There is a thin wrapper that your CGI needs, but it is pretty trivial to change one into the other.

The downside of fastcgi is that if you have a memory or handle leak (db, ldap, whatever), code that runs in a CGI will break under load.

... which is basically the same problem you'd run into were you to run the application as a daemon, right?

-- tic

Other related posts: