1. Realtime APIs
What you need to know, and why.
Thursday, October 27, 2011
2. Who am I?
• Damien Tanner - @dctanner
• Co-founder of 3 companies
• Most recently: Pusher -
Realtime messaging platform.
• Used by global agencies,
startups and enterprises to
power the next gen of realtime
apps
Thursday, October 27, 2011
11. Realtime APIs today
• One company leads the
way:
• Twitter streaming API
• Instagram 'realtime' web
hooks API
• ... many more in the works
I'm sure...
Thursday, October 27, 2011
12. The enabling
technology
Thursday, October 27, 2011
13. 1st gen
Pubsubhubub
• HTTP REST based
• Tell provider you want to
be pinged every time new
content is published
• Best for low frequency
• Popular with blogging and
content services
Thursday, October 27, 2011
14. 2nd gen
HTTP Streaming
• Twitter required more
• HTTP Streaming is a one
way fire hose
• Efficient and fairly easy to
implement
Thursday, October 27, 2011
15. Next gen
Bi-directional socket APIs
• Efficient socket allows
both subscription control
and data push/streaming
• Next year I predict we will
see the first examples
• Why now...?
Thursday, October 27, 2011
16. HTML5 WebSockets
• Now browsers can make
bi-directional socket
connections.
• We can push data to
browsers
• This tech will also be
applied to sever comms
and APIs
Thursday, October 27, 2011
17. Release your realtime data
and let the developer community create
Thursday, October 27, 2011
18. Thanks!
Want to know more?
damien@tanner.me
@dctanner
pusher.com
Learn more about Websockets
and the future of the web
Thursday, October 27, 2011