Scaling stateful WebSocket connections across autoscaling server clusters requires a distributed messaging backbone like Redis Pub/Sub.

Managing Connection State in Distributed Clusters

When clients connect across distinct server pods, Redis adapter clusters broadcast messages to the specific host holding the recipient's active socket.