imagine you blog & everybody is reading!
DESCRIPTION
On the architectural missmatch of polling feeds. Presentation on the BlogCamp 3 Zürich.TRANSCRIPT
Imagine you blog & everybody is reading!
on the architectural missmatch of polling feeds
Phot
o by
Jess
ica
GET latest blog posts
list ofposts back
You Blog Readers
BASICS
1 post8h per day (poll every 30min)40 people640 requests
BASICS
Client
Web
are we th
ere yet?
distracted
no.
bored
are we th
ere yet?distracted
no.
bored
are we th
ere yet?
distractedno.
bored
are we th
ere yet?
distracted
no.
bored
?
no. ?
no. ?
no. ?
no.
DB
And that was ideal. Under real world circumstances its even worse. And both the consumer and the server are burning cycles waiting.
http://www.slideshare.net/rabble/beyond-rest-building-data-services-with-xmpp-pubsub
BASICS
+ Google Bot+ Technorati+ Bloglines+ slug.ch+ FriendFeed+ Facebook+ Plaxo+ Tumblr+ .... ~99%
24h polling for updates on your blog....
feed requests are a waste of bandwidth!
*
* my personal guess
BASICS
http://twitter.com/timoreilly/statuses/866400327
Phot
o by
Pie
rre
Poul
iqui
n
Francis Bates in 1899Ph
oto
by R
osa
Say
HTTP 304
RSS Ping
XMPP
Long-Polling
Comet
Reverse Ajax
Web Hooks
Push RSS
Phot
o by
Cel
ine
Nad
eau
GNIP
service to service service to client
Firewall
1st requestfrom client
Push
Push✕
RSS Ping1. Ping
aka Pingback
Ping ServicesYour Blog
after publishing post
2. Polling3. Get Feed
GNIPis PING backwards
Data Producers Data Consumers
Notify
2.Call-back
& Poll
API visit: http://gnipcentral.com
Notify
Notify
3. Get Feed ?
GNIPis PING backwards
Data Producers Data Consumers
Notify
2.Call-back
& Poll
API visit: http://gnipcentral.com
Notify
Notify
3. Get Feed ?
SUPAnnouncement yesterday from
Simple Update Protocol
Comet - Long-Polling- Server-sent events- Web sockets- Ajax Push
Chat
Post Message
Message pushed to Browser
I’m online & ready to chat
Mike & Pia are online
still here..
still here..
still here..
New message from Mike
Challenge: Scaling Web Server?
XMPPit’s XML and can use HTTP as transport
use it as universal command line?
✗use it for service-to-service com?
That’s it
Cédric HüslerCTO local.ch
Blog: keepthebyte.ch
Phot
o by
Tho
mas
Haw
k
Got it?