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 (10 months ago)
- Default Branch: main
- Last Pushed: 2024-10-06T15:44:30.000Z (9 months ago)
- Last Synced: 2025-06-13T10:04:57.490Z (about 1 month 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