Search code examples
javanetwork-programmingnionetty

Java netty can only take X number of request per second?


Java netty can only take X number of request per second? With the selector approach is it true that it can be a bottleneck in terms of serving request per second? We find that when the traffic is high, clients are unable to connect through, resulting in a time out.


Solution

  • This is probably not due to selector being a bottleneck, but either due to TCP having too few ephemeral ports on the clients or due to server hitting the file descriptor limit.