Show HN: 2M fully loaded concurrent WebSockets

Show HN: 2M fully loaded concurrent WebSockets

Server application listens to 100 ports from 8000 to 8099 (in order to prevent ephemeral ports exhaustion on the client – as we running all 2m clients on the same machine). Once there is a message on WebSocket, server will echo client’s message adding at the beginning. Each of 2-million websocket clients continuously sends messages to server.

Source: oatpp.io