Here is a very detail article about Server-send events . there are code examples and awesome descriptions on the mechanism and logics behind server-send event polling. https://www.html5rocks.com/en/tutorials/eventsource/basics/
Greenruby.com - A technical marketing and engineering consultation company specializing in IoT & cloud services