I have reverse proxy and multiple WebSocket servers behind it. I'm confused whether it makes any sense from scaling perspective, because I see it like that:
- The WebSocket server A has 30_000 active connections
- The WebSocket server B has 20_000 active connections
All connections are through reversed proxy. So I guess that my proxy has 50_000 active connections, because it proxies every of them to appropriate WebSocket server (or maybe it doesnt work like that? I'm not sure)
So does it make sense to reverse proxy the WebSocket servers only from scaling and performance perspective?