I'm trying to figure out the maximum number of concurrent connections that a socket can handle without considering computational resources of RAM and CPUs. of course, I google it and checked SO and found some similar questions, but I'm not satisfied with none of the answers. So, I'll try to be very specific:
Assume the following piece of Java code, which is involved in the context of a multithread http proxy, and where serverSocket is an instance of ServerSocket and ProxyThread extends from Thread:
while (listening) {
new ProxyThread(serverSocket.accept(),prop).start();
}
Question: How many "accepts" can we handle concurrently? (so, how many incoming connections can be established and processed in parallel?).
I know everything is limited by the resources, but I'm interested in knowing if besides the computational resources there are other limits that do not depend on that. In other words, if there exits a limit that cannot be broken even if adding more CPUs, more RAM etc. Thanks.