[REBOL] Re: About FastCGI
From: holger:rebol at: 3-Jul-2001 10:25
On Fri, Jun 29, 2001 at 12:07:45AM -0300, Rondon Andrade wrote:
> Hi Rebolers!!
> I've installed Rebol Command implementing the FastCGI in CGI Compatibility
> Mode. Is this the best way to get high performance, or I must implement
> FastCGI Stand-Alone Mode? What mode are you using? Do I have to install de
> Session Afinity also to get more performance ?
It depends. Usually CGI compatibility mode is fine. The only drawback is that
requests are serialized within each instance of REBOL. For most scripts this
is actually faster than multiplexing over ports (FastCGI native mode), in
particular if your script never waits (e.g. does not access databases via
ODBC etc.) and the amount of data it processes is rather small. If each
request takes considerable time to process (either because of backend
database accesses or because of large amounts of data being sent/received)
then consider using FastCGI native mode instead.