So when the total number of incoming messages per
second is very big and one server can't cope with the huge throughput,  then
is there any idea to resolve it ?

Thank you.


On 12/27/06, Trustin Lee <[EMAIL PROTECTED]> wrote:

On 12/14/06, hpq852 <[EMAIL PROTECTED]> wrote:
>
> I've used MINA1.0 for a TCP server and the server hold the persistence
> connections of the clients. So the problem is that with the increasing
of
> client number then how to make the server get better throughput ?
Because of
> the persistence connection I can't do server cluster simplely as Session
> replicating. Does anyone have experience in this field?   Any help will
be
> appreciated.


Well, I think it really depends on the characteristics of your
application.
The number of connection is not really important if your application and
MINA work fine.  What important is the total number of incoming messages
per
second.  If it's small, then I think there's no big problem yet.  If the
number is big, you will have to optimized your server and play with
various
thread model candidates.

HTH,
Trustin
--
what we call human nature is actually human habit
--
http://gleamynode.net/
--
PGP key fingerprints:
* E167 E6AF E73A CBCE EE41  4A29 544D DE48 FE95 4E7E
* B693 628E 6047 4F8F CFA4  455E 1C62 A7DC 0255 ECA6


Reply via email to