« prev next »

Bandwidth Crisis - Part Two


Related Categories
  Blogging
  Friends
  Life
  Me
  Misc
  This Site
  Wendy
  YLF
  Yifan
  Backstage
  Blog Tips
  Hosting
  Map
  MovableType
  Other Sites
  Spam
  Webcam
  Bluehost
  IPowerWeb

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:

screen-site.traffic-2004.png
Data source: ipowerweb.com 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 http://home.wangjianshuo.com/archives/2002/11/11/tokyo-islands-in.the.sea.jpg in this entry: http://home.wangjianshuo.com/archives/20021111_flying_over_the_pacific.htm seems to resides on the server home.wangjianshuo.com. Actually, it is not. I used the following rewrite rule:

RewriteEngine on
RewriteRule (archives/200[1234]/.*\.jpg) http://blog.wangjianshuo.com/$1 [R]
RewriteRule (photo/.*.jpg$) http://bbs.wangjianshuo.com/$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 http://home.wangjianshuo.com; get it from blog.wangjianshuo.com, 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).

Donation?

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.

"Bandwidth Crisis - Part Two" was posted by Jian Shuo Wang at January 6, 2005 10:04 PM under (My Life » This Site » Hosting) category. Copyright: You are free to redistribute this work, as long as you keep this disclaimer and this link: http://home.wangjianshuo.com/archives/20050106_bandwidth_crisis_-_part_two.htm

Entries Related to "Bandwidth Crisis - Part Two": Hosting

  1. Avoid Blog Blocked in China August 3, 2007
  2. Setup a Blog like This? June 21, 2007
  3. Suggestions to Choose Hosting Company January 13, 2006
  4. Professional Web Hosting February 22, 2005
  5. Bandwidth Crisis - Part Two January 6, 2005
  6. Reserve Every Byte October 22, 2004
  7. Band Width Crisis October 14, 2004
  8. Speed Improvement after Switching Server July 3, 2004
  9. Support Experience of iPowerWeb April 9, 2004

Comments on "Bandwidth Crisis - Part Two"

"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..

Posted by: Nirmalya (external link) on January 9, 2005 5:15 AM

unable to access your homepage..maybe just aol acting the fool?

Posted by: k.swim on March 1, 2005 4:46 AM
Post a comment on Bandwidth Crisis - Part Two
Name:

Email Address: (will not show)

URL: (optional)

Comments:


It may take up to 30 seconds before the server returns a result. IP address recorded.
Remember my information?

<-- Please click POST only once

This article Bandwidth Crisis - Part Two and the rest of this blog:
© 2001 - 2008 Jian Shuo Wang. All right reserved.