[CS-FSLUG] FastCGI

Micah Yoder micah at yoderdev.com
Sun Apr 11 17:35:36 CDT 2021


No recent Perl experience, but I do know that php-fpm (the FastCGI 
version of PHP) is vastly preferable to mod_php for several reasons.

Python applications commonly use WSGI, which is its own protocol but 
similar.

Basically IMHO that or something like it is the only sane way to run web 
applications.  Old-school CGI should pretty much never be used, and 
bundling the language in the web server (mod_*) is a bad idea too.

On 4/11/21 5:21 PM, Timothy Butler wrote:
> Hey, everyone,
> Does anyone on here have insight into using FastCGI to speed up Perl 
> execution? I’ve been playing with it the last week and I am amazed at 
> the results, but FastCGI seems to be mostly dormant. My CMS goes from 
> taking around 600ms to fulfill a request to as low as 180ms (all but 
> as fast as a static page). So far as I can tell, it has several 
> advantages over mod_perl, most importantly that it works with Suexec 
> to keep scripts from running with privileges beyond the current site’s 
> own.
>
> On the other hand, the FCGI module for Perl seems to have broken UTF-8 
> support, which is a pretty nasty thing in 2021.
>
> Thoughts?
>
> Tim
>
>
> *Timothy Butler*
> tbutler at ofb.biz <mailto:tbutler at ofb.biz>
>
> /"The best theology would need no advocates: it would prove 
> itself."/ —Karl Barth
>
>
> _______________________________________________
> ChristianSource FSLUG mailing list
> Christiansource at ofb.biz
> http://cs.uninetsolutions.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://ofb.biz/pipermail/christiansource_ofb.biz/attachments/20210411/1db904e2/attachment.htm>


More information about the Christiansource mailing list