Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How RSS and ATOM inform client about updates? long polling or polling or something else?

I read that RSS and ATOM are HTTP-based using XML format. So how an RSS or Atom reader get informed about content updates if HTTP doesn't support connections? Do they need to poll the server periodically? I'm interested in using it in a real time web application but I heard that "polling doesn't scale".

like image 482
Piotr Jak Avatar asked Dec 12 '22 18:12

Piotr Jak


1 Answers

This is pretty similar to this question. Please read my answer there.

There is no currently long polling for RSS feeds. The technology you're looking for is PubSubHubbub : it will allow the feed publisher to push you the content when it's available.

like image 146
Julien Genestoux Avatar answered Dec 27 '22 21:12

Julien Genestoux