Stephane Rainville wrote:
I dont' think so.
Altough you are right a Socket can listen and open multiple connection on one port (Like a web server on port 80) when the server responds it responds on a RANDOM port between 1000 and 65000.
It responds using a random port associated to the client IP address. If a specific client tries to open more then 64536 connections to a server (very unlikely, if even possible !), then you will reach the limit. But as you will have many clients, everything is fine. Remember that a socket is defined by a couple of an IP address and a port.
So my question remains using MINA and long lived socket connections am i limited to 65000 long lived socket connections and how can I load balance that.
You are not limited to 65000 long lived session with more than _one_ client.
Although the question is mostly for comprehension sake's I'm curious of the experience of People using MINA under HEAVY load and how they reacted.
Some guys have tested MINA with 200K connections established, but the load was null (they just established the session and not sending any byte). The main problem will be with the data processing. If you have a multi-processor server with a lot of memory, that could scale, up to a point.

--
--
cordialement, regards,
Emmanuel Lécharny
www.iktek.com
directory.apache.org


Reply via email to