<?xml version="1.0" encoding="UTF-8"?>
<essay xml:lang="en" version="5.0" xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:dcterms="http://purl.org/dc/terms/" xmlns:gal="http://norman.walsh.name/rdf/gallery#" xmlns:foaf="http://xmlns.com/foaf/0.1/">
<info>
    
    
    
    
    
    
    
<title>FastCGI and other changes</title><biblioid class="uri">http://norman.walsh.name/2005/12/02/fastcgi</biblioid>
<volumenum>8</volumenum>
<issuenum>156</issuenum>
<pubdate>2005-12-02T10:09:43-05:00</pubdate>
<date>$Date: 2005-12-05 12:25:41 -0500 (Mon, 05 Dec 2005) $</date>
<author>
      <personname>
<firstname>Norman</firstname>
	<surname>Walsh</surname>
</personname>
    </author>
<copyright>
      <year>2005</year>
      <holder>Norman Walsh</holder>
    </copyright>
<abstract>
<para>I've switched to FastCGI for several features and I've turned
off trackbacks. You aren't supposed to notice. [Update 5 Dec 2005:
but I sure did!]</para>
</abstract>
<dc:subject rdf:resource="http://norman.walsh.name/knows/taxonomy#SelfReference"/>
</info>

<epigraph>
<attribution>
      <personname>
<firstname>Steven</firstname>
	<surname>Levy</surname>
</personname>
    </attribution>
<para xml:id="p2">There has never been an unexpectedly short debugging period in
the history of computers.</para>
</epigraph>

<para xml:id="p5">[Update 5 Dec 2005: CPU usage is down by a
factor of about five. That puts me well under the limit and should get
me off the evaluation server.]</para>

<para xml:id="p1">I've been getting periodic admonitions from my
hosting company for excessive CPU usage. I think their definition of
“excessive” is a little stingy, but I also think that starting four
separate Perl processes for each page served could be considered
abusive, so I'm trying to do something about it.</para>

<para xml:id="p3">I've switched to
<link xlink:href="http://en.wikipedia.org/wiki/Fastcgi">FastCGI</link>
for those processes, which should help a lot. The scripts themselves
aren't doing very much, so I really think it was the overhead of
initializing Perl that was causing the problems. In any event, you're
not supposed to be able to tell, but if something looks broken, please
let me know. In particular, the comments and the
<link xlink:href="http://en.wikipedia.org/wiki/Folksonomy">folksonomy</link>
tag stuff are now being handled by FastCGI scripts.</para>

<para xml:id="p4">I've also completely removed support for
<link xlink:href="http://en.wikipedia.org/wiki/Trackback">TrackBacks</link>.
That gets all the grotty RDF in HTML comments out of the pages and
completely removes one process. There were a few pages with
TrackBacks, so if you really think they're important, let me know and
I'll consider putting them back with FastCGI.</para>

</essay>

