RSS Amplifier

sysid blog · May 27, 2020

Server Sent Events

0
Sign in to vote or save

This page cannot be shown here. You can still read it on the original site — the toolbar below keeps your place in the directory.

If you are looking for realtime features in WEB applciations you often end with Websockets . Just to be complete I also mention ‘Long/Short polling’ as a client-side pull option. I regard it as mere workaround to a realtime communication implementation. As always, requirements are key: If you need bi-directional realtime features with high volume and low latency, Websocket is your…

If you are looking for realtime features in WEB applciations you often end with Websockets.

Just to be complete I also mention ‘Long/Short polling’ as a client-side pull option. I regard it as mere workaround to a realtime communication implementation.

As always, requirements are key:

  • If you need bi-directional realtime features with high volume and low latency, Websocket is your choice.
  • If you need to deliver realtime information to many clients, but you can live with the HTTP Request/Response model to trigger actions, Server Sent Events (SSE) are a powerful contender.

SSE is a mechanism that allows the server to asynchronously push the data to the client once the client-server connection is established. The client subscribes to the server data via an Event Source.

Read on /server-sent-events/

Comments

Nothing yet. Say the first thing.

    Sign in to join the conversation.