Web Development

Performance Tuning Movable Type

Today, after upgrade to MT 2.65 worked fine I took the time to tune the whole MT installation I setup in June for the future of a 40000 visitors/month site:

technical changes

  • installed MTFastInclude
  • installed MTMod by Sean Wilson to get full control over index template rebuilds – a really hot mod – and with a version control like CVS I am not really frigthened by such code-patches… the MT upgrade to version 3.0 will be fun anyhow
  • used already installed MTOptimizeHTML more

semantic and template changes

  • macros included inside MTEntries loop (oops) – moved outside, even cache-hits take their cpu, don't they?
  • rebuild only 1 php file for recent comments and trackbacks, thereby ignore and leave old counters for other index/category files
  • move blogroll with favorites from blogroll, technorati-index and recent comments/trackbacks and of course the outside-world with separate RSS aggregation into separate PHP includefiles that are rebuilt only for new entries, not comments as before
  • build category-index common PHPs to be included in different locale category php files (thereby looping over all entries of a category only once)

the amazing results

  • rebuilding category archives works from the browser again – no premature end of script (internal server error 500) problems anymore (was a timeout before actually)
  • saving disk space for having only 1 large category-common file per category and different locale-specific "head-files" (no redundance)
  • use MTOptimizeHTML to shrink category pages
  • saving time and diskspace by rebuilding recent entries/comments/trackbacks only when they occur
  • saving time and diskspace by rebuilding technorati index and recent changes from blogroll only for new entries
  • and most important: adding comments takes 15-30 seconds with entry rebuild, not 3 or 4 minutes as it was before…

Now this is a success…

Oh – and by the way – found the Mod-Rewrite-Url problem yesterday aswell – ...

Average rating
(0 votes)

Comments

Performance Tuning Movable Type

I only learned about Moveable Type recently as part of the whole blogging idea. I'd like to know more but am not a computer expert and Moveable Type told me they couldn't provide information. Either I go on their site and guess the rest or bad luck. So I'm looking for someone to be a partner in a project or for advice on where I should look to assess the suitability of Moveable Type and blogging for the project I have in mind.
Can you help? All advice welcome. Thanks. Joy

Similar entries