Using SSE Instead Of WebSockets For Unidirectional Data Flow Over HTTP/2
Original Source: https://www.smashingmagazine.com/2018/02/sse-websockets-data-flow-http2/
When building a web application, one must consider what kind of delivery mechanism they are going to use. Let’s say we have a cross-platform application that works with real-time data; a stock market application providing ability to buy or sell stock in real time. This application is composed of widgets that bring different value to the different users.
When it comes to data delivery from the server to the client, we are limited to two general approaches: client pull or server push.
Leave a Reply
Want to join the discussion?Feel free to contribute!