Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/alexatsu/quick-chat-go

Comparison between websockets vs sse in chat application.
https://github.com/alexatsu/quick-chat-go

Last synced: about 1 month ago
JSON representation

Comparison between websockets vs sse in chat application.

Awesome Lists containing this project

README

        

# Chat Application

>Use WebSockets when:
- You need bi-directional communication.
- You require low latency and efficient communication.
- Supports binary data
- Better suited for live updates/games
>Use SSE when:
- You only need to push updates from the server to the client/or from client to server. But you can do chats as i did here.
- You want a simpler implementation.
- You want auto reconnections
- More secure by default