Archive for November, 2008

Stress Testing Apache Using ab

Sunday, November 30th, 2008

If you’ve ever written a web-app you’ve probably wondered how well it will hold up once the world discovers your awesome service. Will it work if you get dugg? What happens if 200 people all try to access your site at once? This is where benchmarking can provide some useful numbers to give you an idea as to how your server will hold up.

(more…)

Web Design Business Launch in 3 2 1

Sunday, November 16th, 2008

Over the past few months I’ve made a number of posts regarding various tools that are useful for web developers / contractors. Also, numerous posts on server management and web development in general can all lead to one conclusion… I run a web design company.

Nikki and I have recently launched Triple I Web Solutions. We specialize in developing websites for small to medium sized businesses and non-profit organizations. Our focus is to provide creative, usable web solutions catered to the goals of your organization.

Save Your State with Rsnapshot

Saturday, November 15th, 2008

We all know backups are an essential part of running a server. Being able to restore in the worst case scenario of complete drive corruption (let’s say that your RAID setup failed somehow as well) as quickly as possible is key. Another situation could be one of your clients deleted their incredibly important file 3 days ago, but decided to call you about it now.

Rsnapshot is a series of scripts and commands which can automate the process of backing up your files to a remote location, as well as keeping a incremental copy of any changes. I have it set to keep 7 daily copies, 4 weekly copies (on Saturdays) and 6 monthly copies. Now this may sound like it will use up a great deal of disk space, but rsnapshot makes clever use of hard links, which means it only needs to store copies of files that have changed since the last backup as well as aslight overhead. In my case, this means that for every 100 megs that is backed up, on average only 1 extra meg is stored per copy. So, if I had 1GB of data and 17 old versions (7 days + 4 weeks + 6 months) it would require approximately 1.2GB of physical disk space.

(more…)

Testing Webpages in Multiple Versions of Internet Explorer

Tuesday, November 4th, 2008

If you have done any xhtml / css, I’m sure you have experienced the joy of making the site look the same in all browsers. Typically went implementing a site, I will first develop it in FireFox to get the general layout correct, then test in Safari, Chrome, and the dreaded multiple versions of Internet Explorer. Recently, a colleague of mine pointed me in the direction of a tool called IETester.

(more…)