3 ms·
Keeping those connections open probably isn’t super cheap and complicates deploying rolling updates - you’d need to kill all connections when you update and tha
by judge2020 5y ago
Keeping those connections open probably isn’t super cheap and complicates deploying rolling updates - you’d need to kill all connections when you update and that would require some sort of RPC (so that you only kill those existing connections after they’re done sending in-flight data).
- Nullabillity 5y agoWhy bother? Just kill them and let the clients reconnect on their own. They'll have to handle that case anyway...
- judge2020 5y agoWith polling you have to make sure you finish sending data for the current in-flight event. If you don’t then the client doesn’t receive that event, unless you also send them events from the past 30 seconds on first poll.
- Nullabillity 5y agoDon't delete the events from your queue until you receive a client ack?