Beware that there is no such thing as lightweight C code if you run this
on Solaris, it will fork and to do that first assign enough memory as the
parent process (AOLserver) is using, which can be costly if your box is
hit hard.

Another way of doing this, if the app positively must run on the same
IP/hostname as AOLserver, is to use mod_proxy in Apache to forward any
request _NOT_ for the Perl app to AOLserver running on 127.0.0.1.

Bas.

John Sequeira said:
> Tilman,
>
> If your app was written portably enough to run under CGI,  then I would
> recommend going that route with AOLServer.
>
> If you want a performance boost,  look into persistent perl,  SpeedyCGI
> or FastCGI (using the cgi2fastcgi bridge,  since AOLServer doesn't
> support FastCGI).  There might be slight code modifications required to
> keep the code from exiting (see perldoc for CGI::Fast etc),  but it
> shouldn't be more than a handful of lines.
>
> All will keep perl interpreters memory resident so you can skip that
> overhead when serving a page.  You'll still launch a new process per
> request, but in each case it just runs exceedingly lightweight C code
> that communicates with the existing perl interpreters.
>
> John
> http://www.jsequeira.com
>
>
> Tilmann Singer wrote:
>
>>Hi,
>>
>>I have an application that runs under apache mod_perl, and I was
>>wondering if it would be possible to make it run under aolserver
>>somehow as well.
>>
>>There is this project for aolserver:
>>
>>http://sourceforge.net/projects/perl-aol/
>>
>>but it doesn't have any released files and is labelled alpha. Is
>>anyone using this - does it work?
>>
>>It is propably depending on how specialised on mod_perl the
>>application is - this one allegedly runs as cgi too, so I assume it is
>> fairly general.
>>
>>
>>thanks in advance, til
>>
>>
>>--
>>AOLserver - http://www.aolserver.com/
>>
>>To Remove yourself from this list, simply send an email to
>> <[EMAIL PROTECTED]> with the body of "SIGNOFF AOLSERVER" in the
>> email message. You can leave the Subject: field of your email blank.
>>
>>
>>
>
>
> --
> AOLserver - http://www.aolserver.com/
>
> To Remove yourself from this list, simply send an email to
> <[EMAIL PROTECTED]> with the body of "SIGNOFF AOLSERVER" in the
> email message. You can leave the Subject: field of your email blank.


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of 
your email blank.

Reply via email to