I found out that SE is using "simple" polling, but I wonder how SE chat works when multiple tabs in the same browser context are opened. When I open two or more tabs with some chat rooms it looks like (through developer tools) only one tab keeps active polling (obviously checking http://chat.stackoverflow.com/events for changes) and the others are "silent" (although I can see sporadic errors regarding polling and sometimes actively polling tab "change" their polling duty with other silent tab).
- do you somehow synchronize events between silent tabs and the active one which is polling for changes?
- I'm wrong and you are hitting parallel connections limit?
- I'm completely wrong and some other (non-secret) magic is involved?