On 8 Oct 2009, at 18:00, Brett Slatkin wrote:
Hey Kalv,
On Thu, Oct 8, 2009 at 9:42 AM, Kalv <[email protected]> wrote:
First off love the protocol!
I'm working with twitterfeed in London, to implement pubsubhubbub as
one of the ways to get updates happening in realtime (well almost).
Very cool!
In development we have implemented subscribing the topic with the
relevant hub and for some we are getting notifications coming
through.
But i'm having some issues and would like to voice them and see if
anyone has any advice:
- We keep on getting multiple notifications from the
pubsubhubbub.appspot.com hub, comparing the md5 of the notification
they do seem to be the same, for now we do a duplicate check before
processing any further. Is this normal behaviour? We do get normal
duplicates, that are different, which are probably updates to the
article.
What is your average latency of handling delivery? The reference hub
will only wait 5 seconds before giving up on subscribers, after which
point it will retry. This is most likely what you are seeing. If you
can change your subscriber to work asynchronously, that would be
ideal. I'm still figuring out if making the deadline 10 seconds would
be worth-while.
Thanks for the reply Brett.
It's pretty quick, under a second or so. I understand that it might do
this so I will change the subscriptions to be handled by async as I
will be handling errors in our async backend so no need for the hub to
keep resending on error.
- I thought that blogspot had implemented Pubsubhubbub (http://
buzz.blogger.com/2009/08/blogger-joins-hubbub.html), but by
creating a
test blog I didn't see any hub declaration in an atom/rss feed,
anyone
know why this is so? Are they doing something different or just not
implemented fully?
It's implemented for Atom feeds on Blogger; we have not yet turned it
on for the RSS feeds (because the code paths are different). What's
the test blog you're trying this with?
Neither atom or rss shows the hub, the test blog is:
http://tfpush.blogspot.com/
- I'm finding it hard to debug subscriptions with TypePad, we set
up a
blog there and subscribed, is there a way to confirm that the
subscription was successful? The hub sends the challenge as a http
get
to the callback and we send that back, but we don't get new post
notifications - maybe this of topic here and could be a problem on
their end.
Do you have a similar test blog on TypePad to test with? What's the
URL? Just thinking I could help debug if I had more data. If you got
the verification request, then the subscription should be live.
The typepad test blog is http://tfwars.typepad.com. I'll be looking
into this more tomorrow, I only set up the blog today, not sure if
their system needs time to update something for it to work properly.
-Brett