Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/alexatsu/quick-chat-go
- Owner: alexatsu
- Created: 2024-09-29T15:41:21.000Z (3 months ago)
- Default Branch: main
- Last Pushed: 2024-10-06T15:44:30.000Z (3 months ago)
- Last Synced: 2024-10-30T00:03:18.795Z (about 2 months ago)
- Language: Go
- Homepage:
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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