3 ms·
The thing is, at that rate, you'll likely run out of ports without more advanced / exotic TCP configurations. .. Ain't 65536 a capital B. Edit: @toast0: valid
by metadat 3y ago
The thing is, at that rate, you'll likely run out of ports without more advanced / exotic TCP configurations.
.. Ain't 65536 a capital B.
Edit: @toast0: valid point, thanks for the correction.
- toast0 3y agoTcp connections are a 4-tuple {PeerAIP, PeerBIP, PeerAPort, PeerBPort}, if you hold your IP and port fixed, because you only listen on port 443, you can do 64k connections to each other peer's IP... if the other peer can manage to use them all. Chances are you'll never run into that limit for this service, because even if there's a ton of users behind the same IP due to NAT, they don't need to hold long sessions, and you can disable http keep-alive and close connections right away. Chances are you'll have some ip diversity in 400k requests/second though.