Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 26 Apr 2006 23:08:20 +0200
From:      =?ISO-8859-1?Q?=D8yvind_Skaar?= <os@odots.org>
To:        freebsd-questions@freebsd.org
Subject:   Re: CGI "service".
Message-ID:  <444FE144.4050603@odots.org>
In-Reply-To: <20060426152631.D6A0516A418@hub.freebsd.org>
References:  <20060426152631.D6A0516A418@hub.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> Hi, I´m developing a web app in C++. But it loads a huge amount of
> from a Database to memory, and I can´t afford doing this everytime
> someone asks for the page. Is there a way to make the program to keep
> running, and reading requests made via CGI?

Hi..

Maybe fastCGI can do what you are looking for..
(http://www.fastcgi.com/)


"Performance. FastCGI processes are persistent-they are reused to handle 
multiple requests. This solves the CGI performance problem of creating 
new processes for each request."


-- 
Øyvind Skaar | os _a odots.org | 482 78 480 | http://odots.org
http://last.fm/user/%67%69%7A%7A%6C%6Fn | http://43things.com/person/%C3%B8s
6865792c207768617420646f20796f75206b6e6f772c
796f752772652061206e65726420746f6f202e2e



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?444FE144.4050603>