I'm looking at the Facebook News / Ticker feed right now, and I wonder what technology / architecture it uses for asynchronous data output when any of my connections are updating. One of the possibilities I can think of is javascript setInterval for a function that aggressively polls the server for new data.
I wonder how effective this is.
Another possible technology that I can think of is something like the Comet / NodeJS architecture, which binds the client when updating on the server. I am not very familiar with this technology.
If I wanted to create something like this. What should I look at? Is the first approach the preferred way to do this? What technologies are available there that will allow me to do this?
source share