M
millerch
Has anyone tried to monitor 50000 socket connections in java?
I have an application that needs to do just that.
I can open 50000 sockets with no problems, but things get unstable when
I try to listen to 5000 to 6000 of them.
My configuration is a combination of 50 threads to listen to 1 socket
each, 500 threads pooled and waiting for the ServerSocket.accept(), and
2500 listening for data on 20 sockets each. Tested on Red Hat Enterprise
up to 6000 sockets. I am pretty sure there no deadlocks, or anything
strange.
Has anyone done something similar? Is this idea even sane?
Thanks
I have an application that needs to do just that.
I can open 50000 sockets with no problems, but things get unstable when
I try to listen to 5000 to 6000 of them.
My configuration is a combination of 50 threads to listen to 1 socket
each, 500 threads pooled and waiting for the ServerSocket.accept(), and
2500 listening for data on 20 sockets each. Tested on Red Hat Enterprise
up to 6000 sockets. I am pretty sure there no deadlocks, or anything
strange.
Has anyone done something similar? Is this idea even sane?
Thanks