Archives

April 2004 (7)
March 2004 (12)
February 2004 (12)
January 2004 (22)
December 2003 (19)
November 2003 (16)
October 2003 (26)
September 2003 (18)
August 2003 (38)
July 2003 (80)
June 2003 (13)
May 2003 (24)
April 2003 (76)
March 2003 (75)
February 2003 (51)
January 2003 (73)

Category

Family (5)
FYI (18)
Games (2)
Geek (88)
Geographic (3)
Hacks (13)
Home (15)
Humor (54)
Ideas (20)
Ideaspace (15)
Local (15)
Metadata (10)
Microsoft (2)
MovableType (5)
Nitwits (66)
PKI (2)
Politics (22)
Quotes (3)
RDF (15)
RSS (4)
Security (3)
Semantic Web (13)
Site Info (13)
Social Networks (1)
Spam (9)
Sysadmin (1)
Tips (2)
Tivo (2)
TMFTOTHD (1)
To Do (1)
Unlisted (1)
Web (3)
Windows (1)

Local

« MetroBlogs »
DC metroblogs
beltway bloggers

Links


Assorted bits

Blogroll Me!
GeoURL
Listed on BlogShares




April 16, 2003

Use compression on your web server

As pages get larger and sites become popular the drain on available bandwidth can become a problem. The worst thing that can happen to a site is for it to become suddenly popular. Or an RSS feed gets pulled repetitively by dumb aggregator programs.

Many ISPs have contracts that let them bill your for increased in bandwidth use. Some ISPs are helpful in that they'll stop a site from serving up pages when it hits it's bandwidth limit. Others are quite happy to let you exceed your limit and gouge you on your next month's bill. You're either punished immediately by having your web page go offline or you get a heart-attack-sized bandwidth bill next month. Ugh.

One thing you can do to avoid some of this is to use gzip compression on your pages. The mozilla folks have an article on this from a performance aspect. WebRef's got one as well.

If you're using apache 1.3.x consider adding the mod_gzip module. For those using apache 2.0 see the mod_deflate directives. Other HTTP servers have varying degrees of features, check what yours offers and enable it.

Once you get it loaded test it via leknor. I've implemented it on my RSS feed. It reduces it from 9k to 2k. That's an over 4:1 savings. Multiply this against the number of readers and their repetitve downloading and you start to see some real savings.

It's a shame more sites don't do this. It's even more of a shame that reader programs don't ask for it. I'm watching the server logs here and on syndic8. It's disappoiting to see the client programs wasting the opportunity to save bandwidth. It's even more of a waste to see them repetitively requesting the same content at such rapid intervals. Please people, scale back your download requests to at least once an hour. There's no need to hammer on a feed every 15 minutes. I've half a mind to start showing a hit list of bandwidth wasters....

Geek
Perma  | Comments (1) | TrackBack (1) | 02:39 PM  | xml
Comments

It's about time someone stood up and said this. As one of the committers on Roller (http://www.rollerweblogger.com) I've added gzip compression for both the web pages and the RSS feed - it'll be coming in version 0.9.7.

Posted by: Lance on April 16, 2003 04:24 PM
Post a comment






* if you do not leave a valid e-mail or URL your comment may be deleted *







Navigation

Recent Entries

America and Europe: Vive la différence?
Server changes afoot
Diet behavior mod
Googling for sensitive info
Outlook 2003 and IMAP, a marriage made in Hell
Bike to Work Day, May 7th
Speakeasy rocks
Zippo USB?
When geographic data is nowhere 'near' correct
Local campaign contributions

User comments
Trackbacks

Contact

send me an e-mail E-mail
chat with me using MS messenger MSN Messenger
chat with me via AIM America Online
chat with me on ICQ ICQ
chat with me on Yahoo! Yahoo
Add my vCard to your electronic addressbook vCard
Friend of a Friend FoaF

Syndication

XML  RDF  CDF

Comments

XFML

Extra Stuff

foaf
vCard
pgp info
Linked In
Powered by
Movable Type 2.64