educative.io

Message handling question

Between Web Socket and SSEs, wouldn’t it be better to go with SSEs instead of Web Socket. Web Socket does not multiplex automatically with HTTP and I believe it will require the system to manage connection problems handled by HTTP. SSE will also enable real time updates of message and I was wondering which one should be a better fit for the problem.

Server sent events are not bi-directional nor full-duplex.

1 Like