<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
</head>
<body>
<p>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.</p>
<p>Python applications commonly use WSGI, which is its own protocol
but similar.</p>
<p>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.<br>
</p>
<div class="moz-cite-prefix">On 4/11/21 5:21 PM, Timothy Butler
wrote:<br>
</div>
<blockquote type="cite"
cite="mid:19c38.9735afaf67.19c38.8735decc0a.A6F7A2E3-CC2F-42C9-907D-3E6967FA9766@ofb.biz">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
Hey, everyone,
<div class="">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.</div>
<div class=""><br class="">
</div>
<div class="">On the other hand, the FCGI module for Perl seems to
have broken UTF-8 support, which is a pretty nasty thing in
2021. </div>
<div class=""><br class="">
</div>
<div class="">Thoughts?</div>
<div class=""><br class="">
</div>
<div class="">Tim</div>
<div class=""><br class="">
</div>
<div class=""><br class="">
<div class="">
<div style="color: rgb(0, 0, 0); letter-spacing: normal;
orphans: auto; text-align: start; text-indent: 0px;
text-transform: none; white-space: normal; widows: auto;
word-spacing: 0px; -webkit-text-stroke-width: 0px;
word-wrap: break-word; -webkit-nbsp-mode: space;
-webkit-line-break: after-white-space;" class="">
<div style="color: rgb(0, 0, 0); font-family: Helvetica;
font-style: normal; font-variant-ligatures: normal;
font-variant-position: normal; font-variant-caps: normal;
font-variant-numeric: normal; font-variant-alternates:
normal; font-variant-east-asian: normal; font-weight:
normal; letter-spacing: normal; line-height: normal;
orphans: 2; text-align: -webkit-auto; text-indent: 0px;
text-transform: none; white-space: normal; widows: 2;
word-spacing: 0px; -webkit-text-stroke-width: 0px;
word-wrap: break-word; -webkit-nbsp-mode: space;
-webkit-line-break: after-white-space;" class="">
<div class=""><b class="">Timothy Butler</b></div>
<div class=""><a href="mailto:tbutler@ofb.biz" class=""
moz-do-not-send="true">tbutler@ofb.biz</a></div>
<div class=""><br class="">
</div>
</div>
<i style="font-family: 'Book Antiqua', Georgia, Times,
serif;" class="">"The best theology would need no
advocates: it would prove itself."</i><span
style="font-family: 'Book Antiqua', Georgia, Times,
serif;" class=""> —Karl Barth</span></div>
</div>
<br class="">
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<pre class="moz-quote-pre" wrap="">_______________________________________________
ChristianSource FSLUG mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Christiansource@ofb.biz">Christiansource@ofb.biz</a>
<a class="moz-txt-link-freetext" href="http://cs.uninetsolutions.com">http://cs.uninetsolutions.com</a>
</pre>
</blockquote>
</body>
</html>