Comment on Do C10K testing with geventparentComments−nivertech15yeach socket can be uniquely identified by 4-tuple: {LocalIP,LocalPort,ServerIP,ServerPort}LocalIP:LocalPort -> ServerIP,ServerPortSo even if number of ports is limited by 64K, total number of incoming sockets per IP address isn't.−nichol4s15yYes, but when you are load testing a specific server, as in this case, you are bound to a specific serverIp and serverPort.And thus, the total amount of sockets you can have open to that server is limited by the amount of IP's your machine has.−stonemetal15yIf we are testing a web server on port 80, such that ServerIP,and port are fixed, then the only way you are getting more than 64K connections is through multiple client IP addresses.
Comments
each socket can be uniquely identified by 4-tuple: {LocalIP,LocalPort,ServerIP,ServerPort}
LocalIP:LocalPort -> ServerIP,ServerPort
So even if number of ports is limited by 64K, total number of incoming sockets per IP address isn't.
Yes, but when you are load testing a specific server, as in this case, you are bound to a specific serverIp and serverPort.
And thus, the total amount of sockets you can have open to that server is limited by the amount of IP's your machine has.
If we are testing a web server on port 80, such that ServerIP,and port are fixed, then the only way you are getting more than 64K connections is through multiple client IP addresses.