Pros and Cons of WebSocket and EventSourceby@michaelpautov
19,446 reads

Pros and Cons of WebSocket and EventSource

tldt arrow
EN
Read on Terminal Reader
Read this story w/o Javascript

Too Long; Didn't Read

Websockets are a sort of PUSH technology that allows bidirectional communication over a single (TCP) socket. It's a protocol that allows programmers to create a permanent connection between a client and a server and send data in real-time. Websockets use handshake messages to establish or open connections, whereas HTTP uses the request-response messaging mechanism. The limitations of HTTP-based technology were the inspiration that brought about the development of WebSockets. Websockets allow us to create “real-time” applications without requiring the use of long pollination.

Company Mentioned

Mention Thumbnail
featured image - Pros and Cons of WebSocket and EventSource
Michael Pautov HackerNoon profile picture

@michaelpautov

Michael Pautov

Software Engineer


Receive Stories from @michaelpautov

react to story with heart

RELATED STORIES

L O A D I N G
. . . comments & more!