The real-time web
-
Upload
ehuard -
Category
Technology
-
view
1.755 -
download
0
Transcript of The real-time web
The Real-Time web
Elise Huard
Hype
Pushbutton web Anil Dash
Webhooks Jeff Lindsay
Relax
Nothing new !
callbacks over HTTP
(+ajax+push)
Callbacks ?
A function which should be called when something happens.
a callback is executable code that is passed as an argument to other code. It allows a lower-level software layer to call a subroutine (or function) defined in a higher-level layer. - Wikipedia
ex. before_save
Notification
Data syncing
Chaining
Modifications
Plugins
(Jeff Lindsay)
Notifications
examples:
Pubsub (hubbub)
Twitter Firehose
Ruby: Watercoolr
(test with Postbin)
Data sync
Twitter to Facebook
Google Wave
Google Docs
(also: browser push
ex. Juggernaut)
Chaining
like Unix pipes
Server1
Server2
Server3
event
callbackcallbackprocessing
Modifications/Plugins
Services on the web:
Allow the users to modify behaviour for their own use
allow external developers to extend functionality
'Programmability' of the web
Things to think about
Is HTTP really the best protocol for such things (TCP sessions) ? XMPP, AMQP
How will servers handle a high load of such processes ?
In which situations is this a real advantage ?
http://www.igvita.com/2009/06/29/http-pubsub-webhooks-pubsubhubbub/
http://www.slideshare.net/progrium/using-web-hooks
http://www.postbin.org
http://watercoolr.nuklei.com/
http://juggernaut.rubyforge.org/
http://www.pachube.com/
#