1. XMPP and PubSubHubbub for
real-time large scale events
and notification distribution
Julien Genestoux @julien51
http://superfeedr.com
Thursday, February 3, 2011
2. PubSubHubbub
• Web-Hook based (HTTP)
• Feeds (RSS, Atom), but also any kind of web
resource (JSON...)
• Secure, without addressing or persistent
connections
• Fat pings
• Federated (OStatus)
Thursday, February 3, 2011
3. Subscribing
Subscriber Publisher
Discovery Follows feed
GET http://.../feed.atom
POST http://hub/
Subscription - http://topic
- http://callback
GET http://callback
- challenge
Thursday, February 3, 2011
4. Publishing
Subscriber Publisher
POST http://hub/
- http://topic
GET http://topic
POST http://callback/
<xml>
Thursday, February 3, 2011
6. Who?
Publishers Hubs Subscribers
Thursday, February 3, 2011
7. Compared XMPP?
XMPP PubSub PubSubHubbub
Transport XMPP/TCP HTTP/TCP
$5/hosting No Yes!
Format XML Any
Last Mile Perfect! Nope
Thursday, February 3, 2011
8. Superfeedr
• Bootstrapping Push (poll if needed)
• Protocol agnostic (bridge!)
• Content Agnostic : feed, APIs, Fragments
• Track : filter by keyword
Thursday, February 3, 2011