"The theoretical limit is 65k connections per IP address"
What's the driving factor for that limitation?
What's the driving factor for that limitation?
> The client side has similar settings but does not need to set up multiple IP addresses, obviously
Also as I know, Linux will only use one IP for outbound connections, unless forcefully bind to another IP address in the code.
The server only uses only one port. 9001 according to the code. https://github.com/uNetworking/uWebSockets.js/blob/875f16e1f...
This blog post does not make any sense.
There's two ways to get more connections: use more client IPs or use more host IPs. In this post the OP has decided to add more host IPs.
In real world there will be more client IPs and the host will be listening on 1 IPv4 on 1 port.
so 2 * 16 == 65k