in reply to Fast CGI or mod_perl

Or is this another case of more than one way to do it.

You're bang on with that.

I've used FastCGI for a long time now. I spent half an hour with Apache::Perl and didn't find is as instantly accessable so I still use FastCGI.

I believe this is down to my laziness rather than anything else.

Performance increase is extremely impressive. As a testy-fudgy-see-how-I-can-thrash-Apache test, I wrote a quick CGI routine which was basically an XML server which listened for requests and could also call itself to recurse informtation.

Utterly brutal way of doing things, but heck - it was a laugh.

Running as a simple CGI, a request which called itself around 14 times (all in all, about 15 executions of the same CGI) came back with result in 10 seconds.

By simply changing it to run as a fast-cgi script, the results arrived after 0.3 seconds.

I am sure, if I were to investigate using Apache::Perl, that I could have the same results.

I think it's all down to whatever floats your boat really. Interesting to see how passionate some monks are about this subject though.

--
Gregor Anderson, Edinburgh. http://www.deletia.org/