Bandwidth Crisis – Part Two

This is the second time I claimed the bandwidth crisis (the last one). This time, it is more urgent and more severe.

The Data

The problem to be a successful blog related to high traffic is the bandwidth issue. Here is the data:


Data source: traffice report

The data indicates this site is serving 16,1797 visitors in December 2004, and transfered 51.53 gigabyte of data the same month. There is a huge jump in the number in the first 6 days of 2005. 17G of data has been transmitted till now. I got the warning from ISP that the bandwith for this month will run out in the middle of this month.

The Solution

URL redirect is my solution to this problem. Since Tim Berners Lee educated us that Cool URIs Never changes. I strongly believe a good website citizen needs to keep the URL of the published content unchanged. So I won’t consider move any part of the existing content on my website to another location.

I used the URL Rewrite Engine in my host computer. It works this way:

The URL for the picture has been “hard coded” in each of the blog entry. For example, this picture in this entry: seems to resides on the server Actually, it is not. I used the following rewrite rule:

RewriteEngine on

RewriteRule (archives/200[1234]/.*\.jpg)$1 [R]

RewriteRule (photo/.*.jpg$)$1 [NC,R]

This rule indicates, whenever a client request a file that resides in archives/2001, archives/2002, archives/2003, archives/2004 folders with a .jpg extension, the server tell it not to bother to ask it from my server; get it from, a server without any bandwidth limit instead. So I keep the content of each entry unchanged. Meanwhile, I kept a replica of the archive folder on the new server. I can change this location at any time. For /photo, it is the same.

I hope this is helpful for others who face the same situation. (Congratulations if you also worry about this issue).


Eric offered to donate to help me overcome this problem. I appreciate it but it is not neccessary. It is far more expensive to add bandwidth to the existing package than buying a completely new one. I have choosen the URL Redirect solution. The Google advertisement on my site has covered all the hosting cost already.

2 thoughts on “Bandwidth Crisis – Part Two

  1. “The Google advertisement on my site has covered all the hosting cost already.” — Hi, JianShuo, wouldn’t placing this text under “Donation” trigger users to be “coaxed” into clicking the Ads (thereby violating the Terms & Conditions of AdSense) ? Just a thought..

Leave a Reply

Your email address will not be published. Required fields are marked *