4 ms·
The nice thing about persistent connections is that you know when they’ve been closed so you could literally signal that the connection was going down for a dep
by meheleventyone 6y ago
The nice thing about persistent connections is that you know when they’ve been closed so you could literally signal that the connection was going down for a deployment and close everyone’s connection. Clients can retry the connection until it comes back up or use another service to monitor the status.
Games basically do this routinely.
- rootusrootus 6y agoBut you can do that sort of communication already with existing websockets, without trying to add the complexity of pushing all your regular traffic over that link.