Real-time communication patterns with WebSocket, Socket.io, Server-Sent Events, and scaling strategies