Re: FastCGI with CGI.pm and/or I/O Multiplexing?

David Crane (dcrane@mr_magoo.sbi.com)
Fri, 26 Jul 96 11:17:46 EDT

Date: Fri, 26 Jul 96 11:17:46 EDT
From: dcrane@mr_magoo.sbi.com (David Crane)
Message-Id: <9607261517.AA03450@mr_magoo.sbi.com>
To: fastcgi-developers@openmarket.com
Subject: Re: FastCGI with CGI.pm and/or I/O Multiplexing?


> David,
> 
> Not sure if I fully understand how you are going about things....
> 
> However CGI.pm can work well with fastcgi - I found all that I had to 
> do was add
> 	undef(@CGI::QUERY_PARAM);
> to lose the CGI state at the end of each transaction.
> 
> For my App I wrote it all as one bit object, and built the object 
> within the FCGI loop, so all state was lost from there too.  Its much 
> faster than normal CGI!
> 
> 	Nigel.
> 
> -- 
> [ Nigel.Metheringham@theplanet.net   - Unix Applications Engineer ]
> [ *Views expressed here are personal and not supported by PLAnet* ]
> [ PLAnet Online : The White House          Tel : +44 113 251 6012 ]
> [ Melbourne Street, Leeds LS2 7PS UK.      Fax : +44 113 2345656  ]
> 
> 
> 
Thanks.  That answers my first question very nicely!  You just saved me 5-10
seconds per access.

Now, if someone knows whether fastcgi is compatible with perl's functions
select, socket, bind, listen, accept, sysread and syswrite...

David Crane
Salomon Brothers, Inc.
dcrane@sbi.com