Home :: About InfoWorld :: Advertise :: Subscribe :: Contact Us :: Awards :: Events
InfoWorldHomeNewsTest CenterOpinionsTechIndex
 SUBSCRIBE  E-MAIL NEWSLETTERS  CAREER CENTER
 

 BLOG MENU

RECENT ENTRIES

ARCHIVES


Powered By
Movable Type 3.17

Email Chad Dickerson


INFOWORLD BLOGS
 Chad Dickerson 
 Jon Udell 
 Kevin Railsback 
 Ed Foster 
 Bob Lewis 
 Tom Yager 

RSS FEEDS
How this works
 Top News 
 Columnists 
 Tech Watch 
 Test Center Reviews 
 Applications 
 App Development 
 E-Business Solutions & Strategies 
 End-user Hardware 
 Networking 
 Operating Systems 
 Platforms 
 Security 
 Standards & Protocols 
 Storage 
 Telecommunications 
 Wireless 
 Web Services 

IDG LINKS
InfoWorld
ComputerWorld
NetworkWorld
CIO
CSO
Chad Dickerson: CTO Connection


July 30, 2004

Cell phones and civic involvement

To most people, cell phones are a must-have item for navigating modern life, but the use of cell phone has introduced an array of new annoyances into our culture, even spawning a funny public service announcement shown at many movie theaters featuring "Inconsiderate Cell Phone Man":

The courtesy-clueless star, Bob, known as the "Inconsiderate Cell Phone Man," is described as a laughable loudmouth who uses his phone at the wrong place and time such as a wedding, a court room, a group therapy session and, of course, in a theater.

This wouldn't be funny if it wasn't so true-to-life. One of the reasons I don't generally mind air travel is that I don't have to listen to people yammering on their cell phones at 30,000 feet. Cell phones can make train travel on something like the Acela Express a bit annoying -- flaky cell phone reception and a fast-moving train means a lot of "HEY, I'M LOSING YOU. LET ME CALL YOU BACK." and the old stand-by, "I'M ABOUT TO GO INTO A TUNNEL."

All that being said, I had a cell phone moment this morning that was akin to my holiday "bluetooth to the rescue" experience when I used my Bluetooth phone and PowerBook to help a harried couple find their rental car reservation. As I was walking into work this morning, a woman stopped me on the street and asked if I knew how to get to a particular address. I told her that I didn't, but then remembered that I had my Treo in my pocket with MapQuest bookmarked in my web browser (the MapQuest PDA version URL for maps is http://www.mapquest.com/pda/maps.adp, and http://www.mapquest.com/pda/directions.adp for directions). I pulled out the Treo and told her I would help her find her way to her destination, and in a couple of minutes, she was on her way -- walking backwards towards her destination, looking back in my direction exclaiming, "that is so cool! Thanks! That is so, so cool! THANKS!" A nice way to start a Friday.

The simple act of giving directions might just be the foundation of civic involvement -- if you have a cell phone or wireless device with web capabilities, bookmark MapQuest. The next time someone asks you for directions, you'll know how to get that person where they need to go. It's a good feeling. Cell phones can be sublime.

Posted by Chad Dickerson at 10:42 AM

July 20, 2004

RSS growing pains

While I've been buried in other CTO duties, I've seen a lot of useful feedback on my latest column, "RSS Growing Pains." There's even a healthy discussion going on over at Slashdot, including entertaining (at least to me) debates about InfoWorld IT departments past and present. Rob Malda noted in his post: "We've seen similiar problems over the years. RSS (or as it should be called, 'Speedfeed') is such a useful thing, it's unfortunate that it's ultimately just very stupid."

Mark Fletcher of Bloglines recognized the scaling problem I was talking about (and by the way, Mark, we love Bloglines for it's functionality and what it does to reduce the load by acting as a proxy for so many people):

This is the scaling problem that I've been talking about since we launched Bloglines a year ago. It's a serious concern. Centralized services like Bloglines avoid this problem because we only fetch a feed once regardless of how many subscribers we have to it. Desktop aggregators can't do that, of course, and end up generating huge amounts of traffic to sites like Infoworld. There are various things that a desktop aggregator can do to mitigate the load, like using the HTTP last-modified header and supporting gzip compression. But the aggregator still has to query the server, so there will always be a load issue.

Because Bloglines has a vested interest in increasing RSS (in the generic sense) adoption, we're looking at ways we can help. We are working on a couple of projects right now, and we're of course open to suggestions.

Tim Bray posted a pointer to my column last Friday on the atom-syntax mailing list, and Dare Obasanjo responded with a post with some useful practical advice (I added links to the relevant technologies):

Testing their feed with http://www.rexswain.com/cgi-bin/httpview.cgi I see that Infoworld neither supports GZip encoding nor HTTP conditional GET. No wonder their bandwidth usage is so high. Using both techniques should reduce their bandwidth usage by at *least* a factor of 10.

Almost every time I see someone complain about how RSS wastes bandwidth, I check their RSS feed and find they aren't using basic HTTP techniques for saving bandwidth which are supported by ALL the major RSS aggregators. Until we find that existing solutions are inadequate it seems like premature optimization to start talking about even more sophisticated bandwidth management techniques specific to syndication feeds.

First, a quick quote from my column:

Our hourly RSS surge has all the characteristics of a distributed DoS attack, and although the requests are legitimate and small, the sheer number of requests in that short time period creates some aggravating scaling issues. These issues aren’t enough to make me want to abandon RSS (in fact, I’ll keep pushing it), but its workings can create operational annoyances. If RSS is going to go from fairly big to absolutely huge, we’re all going to need to do a little more work on the plumbing.

I pointed out this quote because the "operational annoyance" (not quite the level of a "problem") had less to do with bandwidth (as many folks who responded wrongly assumed) and more to do with Apache configuration (it's always worthwhile to re-read the "Apache Performance Tuning" page). I would advise folks out there to read this page and make sure that your Apache settings support the level of simultaneous connections that a bunch of newsreaders waking up at the same time will create. In our case, we had fairly conservative settings for MaxClients and ServerLimit. Read the Apache docs for more on these two settings and you'll know where I'm headed:

The MaxClients directive sets the limit on the number of simultaneous requests that will be served. Any connection attempts over the MaxClients limit will normally be queued, up to a number based on the ListenBacklog directive. Once a child process is freed at the end of a different request, the connection will then be serviced.

. . . .

Special care must be taken when using this directive. If ServerLimit is set to a value much higher than necessary, extra, unused shared memory will be allocated. If both ServerLimit and MaxClients are set to values higher than the system can handle, Apache may not start or the system may become unstable.

So, basically, the "operational annoyance" was the thousands of simultaneous connections at the same time that eventually overwhelmed our MaxClients settting and caused requests to queue at the top of the hour, slowing down our response time but not killing our servers our draining our bandwidth. It's the kind of thing you don't notice until you hit the wall, and as our RSS traffic grew steadily, we didn't see the wall approaching. We had a higher MaxClients setting than recommended anyway, but we raised the number further to something more respectable. Believe me, though -- when RSS gets really popular at your site, the characteristics of tons of incoming connections all at once on a regular basis will seem unusual relative to "regular" web traffic. This is not the kind of news-driven surge that I saw during big breaking news events during my days at CNN.com (and even Salon.com to a lesser degree) -- it really does look like a DDoS attack, even when you know it isn't.

In the final analysis, there are a number of ways to deal with RSS surges, and none of them are rocket science, but no one should assume they will just take care of themselves and it's clear from what I'm seeing that more people need to know about the solutions. Not every IT group will roll with the RSS punches, and the more conservative ones might just cut RSS off at the knees even if it's a minor hassle on top of everything else. One of the wonders of weblogs (and the web in general) though is that some poor soul will face the same annoyance we had and hopefully will find this post and fix it quickly.

I have a ton of e-mail to dig through with other suggestions that I will post, but work calls again. . . . stay tuned.

Update: More links and discussion:

  • "Will RSS Readers Clog the Web?" (story from Wired News in April)
  • Dare Obasanjo suggests gzip encoding and conditional GET, but notes: "The one thing that HTTP doesn't provide is a way for clients to deal with numerous connections being made to the site at once." There are methods to deal with that, of course (more servers, CDN services like Akamai and Speedera, etc.) but those solutions smack of mindlessly adding more lanes to the freeway instead of doing the hard work of analyzing the traffic problem and working on the fundamental issues.
  • Sam Ruby points back to Dare Obasanjo's suggestions and notes: The functionality is clearly there in HTTP.  The word is clearly not getting out to everywhere it should be.
  • Nick Bradbury of FeedDemon fame add his voice to the chorus, and also notes that FeedDemon only checks feeds every three hours by default
  • Phil Windley: None of these problems are unsolvable and frankly, its nice to have scalability problems. It's a sign of success. (Agreed!)
Posted by Chad Dickerson at 03:12 PM

July 07, 2004

Turning IT "up to eleven". . . or not

In my InfoWorld column this week, I make a reference to Nigel Tufnel of the pseudo-fictional metal band Spinal Tap and his habit of. . .well, over-playing. (Why is Spinal Tap "pseudo-fictional"? Spinal Tap is the only "fake" band I know of that actually releases records and goes on tour, but I can't quite call them "real." Hence, my first-ever use of the word "pseudo-fictional."):

Managing IT often seems like managing the affairs of a rock band, with its curious mix of creative talent, volatile personalities, and lots of gear. When a sysadmin brags about the blazing throughput of the Linux server he just built, it feels a little like listening to Spinal Tap guitarist Nigel Tufnel proudly describing his amp that “goes to eleven.”

There's more in there about Nigel and the perils of rocking just a little too hard, but I'll let you read the rest.

In doing my research for this column, I found a few fun factoids about Nigel, Spinal Tap, and the amp that goes to eleven (largely pulled from "Spinal Tap A to Zed")

  • This page really takes the discussion of the phrase "up to eleven" up to eleven.
  • Nigel's discussion of his amp that goes "up to eleven" actually resulted in an entry in the Shorter Oxford English Dictionary for the phrase "up to eleven" .
  • I didn't really think about it until I looked up This is Spinal Tap on IMDB, but it's been twenty years since the movie's release.
Posted by Chad Dickerson at 03:02 PM

July 01, 2004

Men seeking women at the NY CTO Club

No, this is not a personals ad. The two co-founders of the NY CTO Club (Jon Williams and Igor Shindel) wrote to me earlier today noting that the NY CTO Club has gradually turned into an all-male affair as the four female members have all relocated in recent months. If you're a female CTO (or know one) who would enjoy meeting with other NYC-area CTOs for a great monthly breakfast (second Wednesday of each month), then e-mail Jon and Igor at cto_club@yahoo.com. I've been to a few of the club meetings as a speaker and listener, and it's always a great program that is well worth the time.

Posted by Chad Dickerson at 05:02 PM


 HOME  NEWS  TEST CENTER  OPINIONS  TECHINDEX   About InfoWorld :: Advertise :: Subscribe :: Contact Us :: Awards :: Events 

Copyright © 2003, Reprints, Permissions, Licensing