The Artima Developer Community
Sponsored Link

Python Buzz Forum
Prototype of a way to make weblog polling way more efficient

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Phillip Pearson

Posts: 1083
Nickname: myelin
Registered: Aug, 2003

Phillip Pearson is a Python hacker from New Zealand
Prototype of a way to make weblog polling way more efficient Posted: Dec 16, 2003 3:09 AM
Reply to this message Reply

This post originated from an RSS feed registered with Python Buzz by Phillip Pearson.
Original Post: Prototype of a way to make weblog polling way more efficient
Feed Title: Second p0st
Feed URL: http://www.myelin.co.nz/post/rss.xml
Feed Description: Tech notes and web hackery from the guy that brought you bzero, Python Community Server, the Blogging Ecosystem and the Internet Topic Exchange
Latest Python Buzz Posts
Latest Python Buzz Posts by Phillip Pearson
Latest Posts From Second p0st

Advertisement

One topic that just won't die is the one about how polling sucks for RSS.

It starts with someone complaining that having aggregators polling heaps of feeds all the time is inefficient, or that you don't get news until you poll, but it's not polite to poll as often as you'd like.

Then, someone either says that it would be too hard to work out an alternative, or that you shouldn't want to read news all that much anyway, or something.

Ignoring all that, here's something I hacked up tonight. It's an incremental improvement on what Dave Winer did wit Weblogs.Com -- the latter maintains a big XML file of URLs of blogs that have recently updated, so if you poll that one file often enough, you can avoid having to poll a whole bunch of blogs individually.

That's a huge improvement over polling all your blogs, but it's not as efficient in terms of bandwidth as it could be, as you end up downloading the whole XML file (which gets pretty big) every time something changes.

SO, I've set up something on the Topic Exchange server that collects pings (currently from blo.gs only, because it's easy, but I'd like to get it working with Weblogs.Com too) and sends them back out to clients. Clients connect in on port 9123, and it sends a single-line message to all clients when a ping is received.

Telnet to topicexchange.com port 9123 to see what I mean. For Windows users, hit the Start button, then click Run, and type telnet topicexchange.com 9123, then click OK. A window will open, and you'll see blog URLs appearing there as they update. To see how many users are connected, open this stats page.

It's just a prototype, so the protocol may change, and I'll almost certainly put in some sort of (voluntary) identification process so people who want to be visible will show up on the stats page ... anybody interested in using this in their aggregator product, do get in touch () and we can work out how best to make everything usable.

Comment

Read: Prototype of a way to make weblog polling way more efficient

Topic: Wax 0.1.43 available Previous Topic   Next Topic Topic: NeoPets CCG

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use