Re:The Hidden Complexity of Scaling WebSockets
by Sytten on Saturday January 25, 2025 @01:07PM
(#42823330)
The comment about Render/Railway gracefully tranferring connections seems weird? I am pretty sure it just kills the service after the new one is alive which will kill the connections. Not some fancy zero downtime reconnect.
[ Parent
| on HN ]
Re:The Hidden Complexity of Scaling WebSockets
by atul-jalan on Sunday January 26, 2025 @12:01AM
(#42827823)
It does, but it will generally give a grace period for outstanding requests to resolve prior to killing the service.
It's a good idea for short-lived HTTP requests, but will cause problems for a persistent connection.