What data transfer protocol does stackoverflow.com use? Interested in application protocol .

Interestingly, when you are on the page, it is not necessary to update it in order to see a new answer or comment. It turns out either the web application stackoverflow.com requests every n seconds, working via HTTP, or uses a two-way communication protocol.

  • 2
    ajax and / or websocket - Mike
  • 7
    wss://qa.sockets.stackexchange.com/ - websockets - Grundy

1 answer 1

First hand ( translation )

We use Websockets to implement forced updates in real time, such as displaying notifications in the upper horizontal menu, counting votes, generating statistics for new navigation, showing new answers and comments, and for several other tasks.