[fpc-pascal] web app and application persistency

Marcos Douglas md at delfire.net
Wed Aug 3 15:57:19 CEST 2011


On Tue, Aug 2, 2011 at 6:51 PM, Graeme Geldenhuys
<graemeg.lists at gmail.com> wrote:
> On 1 August 2011 16:32, Michael Van Canneyt wrote:
>>
>> If you really want the application running 100% of the time, there are only
>> 2 options:
>> - fastcgi with mod_fastcgi (NOT mod_fcgid) and ExternalFastCGIServer option.
>> - Embedded server (i;e. the application acts as a webserver).
>
> ...and option 3.
> Application on the server (as a daemon or service or something), and
> the CGI app is simply acting as a proxy. I did test this in a small
> test case and it worked well - no idea how well it will scale though.
>
> But the other two options are probably easier to program.

It's call _CGI gateway_ and I think this is a good option because you
can redirect the CGI to another app/server/information when you stop
the app service on the server.

Marcos Douglas



More information about the fpc-pascal mailing list