tech/webdev magazine

February 11, 2016

Creating a Scalable WebSocket Application in an Hour With Scala

Thursday, February 11, 2016 Teklinks

In general, a web browser does not keep the HTTP connection open when it requests a resource from a server. Of course, there are several exceptions when the web browser keeps the connection open for a period of time such as long polling (which is kind of hacky way to do a push notifications), Pushlet, SSE, web browser plugins, and WebSocket. Some of them take advantage of HTTP keep-alive while some use different protocols.

Full article