Possible Duplicate:
New Feature: real time updates to questions, answers, and inbox

Does it use AJAX? If so how often does it update? It seems pretty up-to-date when I see people voting on my posts. Does calling an AJAX request like that every second make a whole lot of difference to calling that same request every 5 minutes in terms of computer processing and latency?

  • 1
    I'm pretty sure that this utilizes the socket functionally added recently... In the same way that vote counts update and new comments... – Lix Nov 14 '12 at 15:42
  • 1
    It's a live client/server connection using web sockets which were introduced as part of HTML5. – Shadow Wizard Wearing Mask Nov 14 '12 at 15:49
  • I don't think that post is the right dupe... It only talks about new questions... – Lix Nov 14 '12 at 15:55
  • 1
    @Lix: from the post: As a few have mentioned below we are now experimenting with updating comment counts, votes on a post, and your reputation score. (emphasis mine). – Martijn Pieters Nov 14 '12 at 15:57
  • 1
    @Lix it introduced the use of web sockets in Stack Exchange; they later added more stuff so maybe that post need to be edited. – Shadow Wizard Wearing Mask Nov 14 '12 at 15:58

The counter uses web-sockets for that; here you can see them in the Chrome development console:

web sockets

| improve this answer | |

Not the answer you're looking for? Browse other questions tagged .