sergeant-savage / chatter

A small Rust websocket chat
MIT License
4 stars 4 forks source link

Consider move away from WebSockets #35

Closed sergeant-savage closed 5 months ago

sergeant-savage commented 5 months ago

While Websockets are an excellent platform for realtime communication, I have a feeling that they will not scale well, especially given that they timeout so quickly. I have a feeling we should use POST requests to send messages back and forth. We will of course have to figure out a way to deliver new messages to users, but we should start discussing and considering this move.