paint-brush
Pros and Cons of WebSocket and EventSourceby@michaelpautov
19,647 reads
19,647 reads

Pros and Cons of WebSocket and EventSource

by Michael Pautov4mOctober 15th, 2021
Read on Terminal Reader
Read this story w/o Javascript
tldt arrow
EN

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
Michael Pautov

Michael Pautov

@michaelpautov

Software Engineer

Learn More
LEARN MORE ABOUT @MICHAELPAUTOV'S
EXPERTISE AND PLACE ON THE INTERNET.
L O A D I N G
. . . comments & more!

About Author

Michael Pautov HackerNoon profile picture
Michael Pautov@michaelpautov
Software Engineer

TOPICS

Languages

THIS ARTICLE WAS FEATURED IN...

Permanent on Arweave
Read on Terminal Reader
Read this story in a terminal
 Terminal
Read this story w/o Javascript
Read this story w/o Javascript
 Lite