My Code

What I do: Power DNS Real World Results

We have had a Power DNS recursing cacher deployed at one of our busiest sites for a few months now and I thought others might benefit from some real world performance info.  This is running on some older hardware.. dual Xenon 2.8Ghz system with 4G of ram and the only job it’s doing is running this recursor. These three graphs tell the tale.  The first shows that the system is handling peaks of about 3800 queries per second and that about 99% of those are being answered in a fraction of a millisecond.  The second shows that cache hits are averaging about 70-75% and the third shows that it’s doing this work while using at most one quarter of the CPU.  Add to those impressive performance levels that I’ve had zero issues since putting it in production six months ago.

What I do: Mysql Reporting Date Range Cheat Sheet

If you have to do any sort of reporting using mysql or other databases you will probably need to use relative date ranges that don’t depend on what day the report is being run. That is if you need a report for ‘last month’ that runs from the first to last day of the previous month.. or previous 3 months etc but not include any days in the current month.   Here is a small collection of queries…

Traffic Shaping for VOIP With Linux

I’ve been meaning to write this document for a while… but only just did. It took me a while to figure out how to do this ‘right’ so I thought it would be a good idea to write it all down and post it out here.. both for my reference and for yours. I lay out exactly how to do useful and easy to manage traffic shaping on your linux router to make your VOIP calls sound good and keep all your other data traffic happy.

Click to dial from OSX with Asterisk PBX

Here is a nice little utility that I put together and have been using for a while. If you use OSX and keep your contacts in the native Address Book application like I do.. and happen to have an Asterisk PBX… this will let you do a simple click-to-dial. It should be easy enough to setup for just about anyone and installation instructions are included. I didn’t wirte it from scratch.

Amavisnewsql 0.8.0 Released

After much dragging of heels I have released the new version of my SquirrelMail plugin AmavisNewSql. There have been lots of tweaks and updates.. as well as a few important bug fixes. Check out the ChangeLog for the full details. You can download it here.