February, 26, 2008 archives
don’t ask too many questions
chyrp is a nice looking piece of blog software. individual posts can have different styles, something it borrowed from the hosted tumblr service. i was interested to read about “the sql query massacre of january 19th, 2008” but the numbers gave me pause — 21 queries to generate the index page? that is down from an astounding 116, but that still seems ridiculous to me.
the number of queries to generate the index of this site? two. one of them is SET NAMES utf8
. i could see boosting that to three or four if i moved some things like the list of links in the sidebar into the database, or added archive links. call it five if i had user accounts.
but right now, the number of queries used to load the index page on a chyrp site grows with the number of posts displayed on the front page. not only that, it grows by two times the number of posts on the front page.
chyrp could use a security audit, too.
ouch
the city of los angeles passed a mandatory spay/neuter law recently. we have held off getting wonton “fixed” because most everything i read seemed to suggest that it was better to wait until after six months or so, and then there was just the time crunch of the holidays. but he has his appointment for friday, and then he will no longer be firing live ammunition.