August 19, 2009

August 19, 2009 · 2 MIN READ · BY LOUIS GRAY

Google Alerts Gets PubSubHubbub, Real-Time Programmable Hooks

The Web is speeding up, and Google is playing a big role in making how we get our information faster - no matter its type. Recently, a pair of the company's engineers, Brett Slatkin and Brad Fitzpatrick, have teamed up to roll out a new protocol, PubSubHubbub, to accelerate just about every major part of the Google sphere in which I play - from Google Reader shared items to FeedBurner, Blogger and today, Google Alerts.

If you thought Google Alerts was fast before, it's like Google went out and gave it an entirely new engine. Now, if Google comes across a term I am tracking, I can expect to get near-instant updates saying it has been found. In a blog post today, Slatkin says it's more than just about getting these terms faster and quicker, but also to help developers create tools and write Web applications that take advantage of this functionality. He writes, "Think of it as an AJAX search API that tells *you* when it finds new results. Acting upon these notifications your app could update your website, email friends, send an SMS -- the possibilities are endless."

Thus far, I've never really considered Google Alerts as a potential development platform, but as Slatkin suggests, the opportunity is now there to create an entire family of applications pointed at Alerts, much like others have pointed to the company's Maps product to make interesting mashups.

Anything that can help the Web get quicker, aid discovery, and enable even sharper apps is exciting, and I've been watching the developments with PubSubHubbub very closely. If I were a developer making a news discovery product based on topics (like Technorati or Lazyfeed, for example), I would check and see how I could tap into this real-time firehose for Google Alerts.

Google has been dinged, relative to Twitter and others, for not owning the real-time search race. But as the PubSubHubbub religion gets propagated, I think it is pretty clear where this is all headed. Not only will Google get this real-time space and lead again, but they are helping developers by enabling access to quality code and the best data faster than ever before.

15 Comments

Nice! I like where this is going and agree with you, it's the beginning of Google's rise to the top of the real-time web.

Jeroen de MirandaAug 19, 2009via Disqus

Excellent article! When Google gets behind realtime web functionality, it will will indeed make it more populair.

Until now, for me the Google Alerts experience was mediocre. I keep getting alerts of events that sometimes happened weeks ago. Hope this will improve!

Can someone help me with context? How mature is PubSubHubbub at this stage? By that I mean is it SOX ready?

SOX ready in what sense? Could you elaborate on your use-case? It sounds interesting!

Despite there now being no latency between you and Google Alerts, isn't there still latency between publisher and Google News/Alerts though? Wouldn't it be faster still to put a publisher's feed right into Feedburner yourself? What am I missing here?

If you know who you're subscribing to, yes. With Google Alerts the feed contains anything that's searchable on the web, so you don't know where the results may be coming from.

Good to know! I hate to run feeds that aren't mine through Feedburner but the problem I have w/ Google News alerts is that it is a bit inconsistent. It will grab only some posts from a source when I consider posts it neglects to pull from said source to also be appropriate for the alert. So to build around it is not so cut-and-dry but it has a lot of potential and performs well as is.

@Brett I thinking specifically about a company issuing earnings news via a feed (perhaps through FeedBurner). The critical problem with doing this to date has been that there was no way companies could ensure that all subscribers received the information simultaneously because they were polling the feed at different intervals. Tim Bray wrote about the issue here http://www.tbray.org/ongoing... PubSubHubbub seems to answer this, but this is an area where "seems to" isn't good enough.

Dominic: Wow great article reference. I've seen that one before, a long time ago, but I totally forgot about it! I think Hubbub could probably do this very well, especially with the Atom feed format he describes. However, "simultaneously" is a funny term; nothing is really simultaneous. There are going to be delays between notifications to all recipients. So the question is, what's the maximum size of the notification the SEC would allow for pushing content like this to make it "fair" for all recipients? What do you think that window should be?

True, simultaneity is relative. The accepted standard for "fair" right now is the latency you get with Business Wire or PR Newswire. This varies from a few seconds to a few minutes, depending on where you access the information (wholesaler's news , Yahoo! Finance, Google Finance, your brokerage's website etc.)

Sorry, hit enter before finishing... A few seconds is ideal.

That seems achievable to me. It scales with the number of individual subscribers. If you have 1,000,000 pushes to do, and you do them at 10,000/second, you still need 100 seconds to get the data to everyone. So a delay of up to 120 seconds seems like it would have enough buffer for this case. In practice it is much faster than that, but it's good to be careful with financial stuff.

Business Wire has a patent for something they call NX. Basically, they pre-deliver information to subscribers then unlock it at a set time. In practice, though, unless you have their software installed, you don't get the news until later. NX is described in this patent document http://patft.uspto.gov/netacgi...

In most cases, companies would be pushing out to a few hundred subscribers. A company like GE would be maybe 20,000 or so. You get into the millions when you're a Reuters, Bloomberg or Google News.

jstratfordAug 19, 2009via Disqus

They are headed the right way now! It'll be great when developers get a hold of this and start utilizing it to it's fullest potential. Do you happen to know if it's also in the Google Wave arena? It'd be great to have another real time search application or set of applications with a different slant or varied, but complementary capabilities.