Gzip Compression or No?

mod_gzip, zlib.output_compression or whatever way you compress your web pages is a great way of reducing your network traffic costs but comes at the cost of increased CPU usage. Despite what you might think, it can be more expensive to send data over the network, especially to slow clients than compress it first of all and send a smaller burst.

Unfortunately this little server may not be up to the task of gzipping content at an acceptable rate to make it worthwhile. I’ll leave it run for another few hours and check the stats tomorrow.

Flocking Fast!

Wow, Flock is fast! I wonder if it chews memory like FF 1.5 too?
It’s also a lot more polished than when I tried it a few months back while debugging their sign up page on WordPress.com: preferences, cookies and form data were all imported from Firefox. The little Greasemonkey face isn’t showing in the status bar so I’ll have to install that again.

Oh, and it doesn’t spew out a ton of debug messages to the console any more! 🙂

kick.ie – Irish news, community driven.

kick.ie is a site like digg.com but for Irish news and sites.
They linked to my photoblog which is how I became aware of it.
Tim O’Reilly’s attack on IT@Cork for using the term “Web 2.0” as their conference name is shocking. They have a trademark on the phrase “Web 2.0” so be careful about labeling your website or blog posts!

RSS Overload

The thing about being away is that stuff collects.. My bloglines aggregator is now chock a block with feeds containing 20 or more posts. A few sites such as /. and el register have hit the max of 200. I shall probably do the equivalent of mark all as read for many of them. I already did that several times in Thunderbird!

Life’s too short..

I listened to one podcast

I listened to one podcast, no, maybe two podcasts in their entirety. One promised a keyword for a competition to win a camera or some prize, and the other was Mark and Ciaran’s Nightsight, a videocast which I enjoyed despite not mentioning Web 2.0 anywhere! Maybe that was a good thing, considering the objective of the movie..

In a similar vein, all the videos on blogs thanks to youtube are great! Even though Pomme and Kelly were among the most popular bloggers on WordPress.com for the past few weeks I only saw their version of Respect this morning. They are the very first Google Idols apparently. They’re a little mad aren’t they? 🙂

InnoDB: Starting shutdown…

Calling all MySQL admins! When you’re working with InnoDB tables you may have noticed that MySQL takes an extraordinary amount of time to shutdown. Don’t panic! It’s normal.
InnoDB has extensive logs that it must run through and if your server is at all busy these logs can be quite big.
After you’ve started the equivalent of “/etc/init.d/mysql stop” it may not return for quite a while. Simply open another terminal and examine the system log. On a Debian or Ubuntu box, look at /var/log/daemon.log and you’ll see the “InnoDB: Starting shutdown…” message.
Now, go off and make a cup of tea because this could take a while. On a fairly large and busy database it might be half an hour or more!
Please, please, please don’t be tempted to killall -9 mysqld because bad things will happen! Even if your boss is looking over your shoulder, and you’ve promised that the company webserver will be online in 2 minutes, don’t do it.
However, cases where it is ok to kill the database with a “kill -9”:

  • International terrorists are planning on robbing the World Bank and you’re the only secret agent who can bring down the database which will stop them.
  • Lassie will be run over by the evil farmer who plagued the local village with his monster cows unless you can corrupt his database in time.
  • Or finally, you like hard work and restoring from backups!

Site registration – why make it hard?

I used to work at a company providing financial data nd services online. When a potential customer wanted to register they had to go through about 6 pages before they were a member of the site. Unfortunately we were constrained by outside forces but having to go through Terms and Conditions, personal details forms, choosing a product, choosing exchanges, agreeing to exchange agreements and more to register was always going to be a major obstacle!
That’s why I smiled when I read today’s OK/Cancel. 🙂
Thankfully at the new job, signing up is a lot easier!