Skip to content

Decentralized policy

VictorSB edited this page Mar 23, 2011 · 1 revision


Scenario

  1. John registers at Social Stream Madrid node. From now on John is identified as [email protected]. (via WEB) (triggered by user)

  2. Social Stream Madrid node registers all John feeds with the nearest and free Social Stream Hub. (triggered by 1) (Pubsubhubbub protocol)

  3. Jack in Social Stream Palma wants to follow John's public feeds, Jack knows John's identifier ([email protected]) (via WEB) (triggered by user)

  4. Social Stream Palma requests the hub url and the feeds url of for [email protected] (Webfinger protocol) (triggered by 3)

  5. Social Stream Madrid responses with the required hub and feeds. (Portable Contacts "PoCo" protocol) (triggered by 4)

  6. Social Stream Palma creates a remote actor for Jack and link it with the subscription to the hub. (PubSubHubBub protocol) (triggered by 5)

  7. John updates a feed (via WEB) (triggered by user)

  8. A publish message is sent to the hub (PubSubHubBub protocol) (triggered by 7)

  9. The hub pushes the subscriber (SS Palma) with the update (PubSubHubBub protocol) (triggered by 8)

--> Jack receive the update in almost, real-time. (VIA WEB) (triggered by user)