Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search

[REBOL] Re: About FastCGI

From: petr:krenzelok:trz:cz at: 29-Jun-2001 6:12

Hi! 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 ? > > I just want to have the finest tunning for my server. Any clues ?
So, I downloaded Apache for Windows + mySQL just yesterday, and so far I am able to run only CGI. FastCGI for windows is some .dll (other modules are surprisingly .so files even under Windows). The situation repeats as always - you will not find what you need in your docs. I don't know how to properly specify load module directive. The strange thing is, my Apache CAN run .fcgi files as CGI, while .fcgi suffix can't be found in any of config files. I thought that by default it runs only .cgi. As for performance - it will be probably better to run it in standalone mode, but I talked to Maarten and he told me he runs it in Server mode only, and it works great. The piggy thing about all the fastcgi concept is, that web server sends your requests to whatever instance it wants. There is session afinity patch available, but I don't know if it is kept being up-to-date. However, I joined fastcgi ml, and was told that session afinity is going to become part of fastcgi itself. It is somehow on priority list, but depends upon author, if he finds enough of free time soon. I too, would like to achieve some fine-tuned setup. The other thing about Apache under Windows is - it uses threads, but only synchronous connections. They will not change it, so Windows users will be better with Apache 2.0, but it is still just beta. I am somehow confused currently and don't know if I should use AddHandler, SetHandler directive, where do I specify FastCGI server or FastCGIExternal server, how do I load module itself ... on the other hand, I am playing with it just not more than one hour. If there is somoene with fastcgi + /Command experience, please share with us :-) Thanks, -pekr-