Paul Holbrook's Radio Weblog : Worth $40 a year? You decide ..
Updated: 4/8/2003; 8:56:53 PM.

 

Subscribe to "Paul Holbrook's Radio Weblog" in Radio UserLand.

Click to see the XML version of this web page.

Click here to send an email to the editor of this weblog.

 
 

Thursday, August 22, 2002
mod_perl and MovableType are good together

Dan Kapusta (of In My Experience) asks about what kind of performance improvement I saw from getting MovableType to work under mod_perl.

I was originally running MT on a P133 without mod_perl. Response time dragged - probably 4-5 seconds after each click to get the system to response.

When I moved to mod_perl, performance crossed a threshold. Most responses came back in about 2 seconds, which is pretty good - I've got a DSL line at home, and doing a click on CNN.com seems to take about 3 seconds.

mod_perl really only helps with response time. If it take a while to rebuild your pages, chances are it will still take a while: mod_perl only really helps on startup; once Perl and MT is loaded into memory, it should take basically the same time.

Speed is also worth a lot. I've been running MT on a 1GHZ+ P4 under mod_perl, and performance is very snappy. I like it.

I just completed migrating a couple of MT blogs from my home P133 running under DBI to another system running MT with MySQL. The migration went ok, but there were a couple of bumps:

  • For reasons I didn't understand, when I did an export of my items off my home system and then a re-import on the new MySQL based MT install, it doubled all my posts: they all showed up twice. I ended up manually deleting half of them, but now that I think about it, I probably could have done something better in SQL. (But my SQL skills aren't good, so it was probably fast to delete by hand.)

  • Not surprisingly, my links back to previous items within my blog had troubles. All the ids for the posts changed, so I had to fix those manually. Fortunately, I only had a few, and I was able to use a SQL select statement to help me find the bad links. This points up a perhaps better reason to move to MySQL: moving from one machine to another should be smoother: I can recreate all my site settings by exporting and recreating the MySQL db.

11:00:52 PM      comment []
Les Orchard brings Wiki and weblogs closer

Les Orchard, who runs the 0xDECAFBAD blog, has come up with something brilliant. (0xDECAFBAD comes up at the head of my blogroll, at least until some other hex-inspired blogger does him 0x1 better.)

Les has created two MovableType plugins that allow users to type content using Wiki tags instead of HTML tags. For those who don't Wiki, Wiki systems use simple-yet-powerful markup that Wiki systems translate on the fly into HTML. For example, in a Wiki system, preformatted text may be indicated by indenting the content two spaces. A list item may be created by starting a line with '* ' --- you get the idea.

One of the things I've had to learn to do in order to use Radio under Mozilla (no nice IE-based HTML tool) or MovableType is learn to compose simple HTML on the fly. (Actually, if I'm going to type anything of any length, I paste it into NT Emacs, edit it using the html-helper mode, and paste it back into Radio/MT). It's not that it's that hard, but it is an impediment to introducing others to using these tools. I've been using UseModWiki for about two years, and one thing I can say about Wiki text formatting rules is that they are dead easy to use.

Les's plugins let you type Wiki-format text in your MT entries, and then use either a local or an XML-RPC service to convert your Wiki format text into HTML when you republish your pages.

Weblogs are great for the thought of the moment, but Wikis are great for aggregating content around a given area, or remembering other kinds of knowledge. Les has been publishing both a weblog and Wiki for some time. For me, the combination he's put together has been interesting but not compelling, but I think with this idea he's really onto something very good.

The only downside so far is that Les doesn't quite support UseModWiki yet. Les is TWiki guy. (I tried TWiki once, but found the resulting sites a little too cluttered.)


10:54:08 PM      comment []

© Copyright 2003 Paul Holbrook.



Click here to visit the Radio UserLand website.

 


August 2002
Sun Mon Tue Wed Thu Fri Sat
        1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31
Jul   Sep


 4/7/03
 1/29/03
 1/26/03
 1/23/03
 1/23/03
 1/23/03
 1/21/03
 1/21/03
 1/16/03
 1/16/03
 1/15/03
 1/14/03
 1/14/03
 1/14/03
 1/5/03
 1/5/03
 1/3/03
 1/2/03
 1/2/03
 1/1/03
 12/30/02
 12/28/02
 12/26/02
 12/24/02
 10/8/02
 10/8/02

Home Page