O'Reilly logo

Mastering ServiceStack by Andreas Niedermair

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Server-sent events

The web has always been a different playing field from the ground up, leaving no chance to interact with the client once the response is finished. This changed in the early 2000's with the rise of Ajax. Suddenly, the clients could request resources without requesting new HTML page. The next big problem that needed to be solved was the communication from the server to the client, which was done by introducing long polling when the client opened an HTTP request to which the server subsequently responded to, but never closed. This raised several issues but the biggest was the waste of resources by keeping the connection constantly alive. Servers with multiple concurrent users ran out of connections and the idea of keeping a connection ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required