PubSubHubbub is a networking protocol. Rackspace is Open Source but infamous for difficult to understand API documentation by normal human. Actually there are API Writers. For Rackspace who / the company who takes care about it, floods with so much information that it becomes quite difficult to remember what exactly you came to search for! Sajal Kayan is known Page Speed expert. He writes quite nicely. Once he wrote after fighting with setting TTL of Cloud Files (at that time GUI based TTL was not available) – something closer to it. IBM is also quite infamous. The sign not of bad – API actually should be explained in this way, but most of us have no degree on computer engineering, so the way of writing can confuse us. Let us start with explaining PubSubHubbub first.
PubSubHubbub Protocol
There are good slides available on the project :
1 | http://code.google.com/p/pubsubhubbub/ |
So the thing is related to information exchange – like we use our Feeds, Email delivery of Feed. XML Feed, not Fat Free JSON. 100% Fatty material. But, at the time PubSubHubbub was thought, it was important and still it is quite important as far XML despite being fatty carrying the work like junk foods. WordPress supports PubSubHubbub protocol, there is official plugin, 100% indirectly of Google. Here is protocol details :
---
1 | https://pubsubhubbub.googlecode.com/git/pubsubhubbub-core-0.4.html |
PubSubHubbub and Rackspace Cloud Queue
This hub is not of us :
1 | http://thecustomizewindows.superfeedr.com/ |
Not of us means, not hosted by us. Now forget the PubSubHubbub’s XML related materials. The basic thing is useful. Product, Information and Subscriber. RSS feed is the most common example of this Publisher-Subscriber model, which is actually important for Internet of Things.
That http://thecustomizewindows.superfeedr.com/
quite raw material, but the concept (= protocol) is great. Messaging Queue is free up to 1M per month, here is the scary documentation :
1 | http://docs.rackspace.com/queues/api/v1.0/cq-gettingstarted/content/DB_Overview.html |
Use this tool to test. Queue is a logical entity that groups messages. It has huge usage and possibilities, unfortunately, there are not much basic documentations available.
The reason this article is published is to understand the relationship with the Protocol and the practical own hub creation.