Now a days real time updates are common in most popular sites which have heavy usages.
- StackExchange
I'm wondering how do these "real time updates" work? I'm just looking for a general bird's view perspective. I suspect that the JS can't be calling the server every X seconds for an update and then appending that to the <ul>
. Is a notification sent from the server went to pull more content?
Would be great if there is a simple how to article that explains this with a demo?