Hey Brett! It's a fully blown poc. My startup is a blog aggregator (Inkzee.com) so I wanted to lift some pressure from the polling/fetching backend. I've coded a poc that downloads the rss feed, detects that supports pshb, registers the feed and gives a callback. Then the callback responds to the hub and waits for a new item. Yesterday I tested creating a new post and sure as hell I got...
more...
- Alex
That's great! Be sure to read this section of the wiki about multi-homing: http://code.google.com/p... Some people have been using Hubbub as another kind of "light" ping, and it doesn't work for the reasons described there. You have to treat it as authoritative content push. Anyways, I really look forward to seeing Inkzee in action!
- Brett Slatkin
Nice tips! You are right, if you use it as a ping mechanism you'll run into inconsistencies problems. In my case I want to use it as authoritative content, although I'll probably keep the polling mechanism to some extend to make sure the hub isn't down or failing. The difference will probably be the frequency. I have a question though, afaik Feedburner only publishes one hub link, wouldn't it be safer to publish at least 2 hubs?
- Alex
Yes, definitely continue to poll for the sake of reliability, though hopefully with a lower frequency. The primary issue is that the delegated hubs must be trusted by the publisher to properly distribute the content (authoritatively) to all subscribers. Such a relationship isn't always easy to set up, and there are sensitive details (like publishing traffic numbers) that not every...
more...
- Brett Slatkin
Hey Brett, yeah I'm sure the particularities of Feedburner add a lot of complexity. About publishers not wanting to share their traffic numbers, I guess it's a tradeoff, if you want to use the protocol you'll be giving that away. Although, it shouldn't be a problem from my point of view as that only exposes the users that that particular hub has, not all of them, nor the global rss subscribers count (which btw, many blogs already disclose with the Feedburner panels on their sites).
- Alex
About reliability yeah I'll probably keep polling with a much lower frequency. It would be great to have redundancy though, that way I could avoid polling altogether. All blogs should expose at least 2 hub urls, that way, even if one goes down subscribers can get the content. For example, the Wordpress plugin by Josh only allows to stick one url :(
- Alex
Don't trust MySQL's sql parser hehe If you have a table with multiple indexes, BE sure the sql parser is using the best one for that query. Sometimes for this to work you need to drop some of the WHERE conditions and this might add some extra parsing to the result of the query but it's worth it. ;)
- Alex
What, that it came from NASA or that Twitter is working (I know, kick them while their down... but hey, find me a time when they're up and I'll kick them then!)
- Johnny
hehe well they've been pretty stable during past weeks on my side. Although today I saw a couple of quirks going on after the scheduled maintenance
- Alex