Hi Matt,

On 4/8/06, Matt Keane <[EMAIL PROTECTED]> wrote:
>
> Hi Trustin
>
>  I would greatly appreciate your advice regarding MINA.
>

Thank you for your feedback.  We also appreciate it so much. :)

I am interested in creating a highly scalable Client-Server architecture. Does
> MINA support:
> - Highly scalability (i.e. could handle 100,000+ simultaneous Clients) ?
>

Per one server application? We once tested MINA to maintain that amount of
client connections, but it caused 100% CPU usage unfortunately.  I think
this is a general performance problem of NIO.  Java 6 (mustang) will resolve
this because it uses epoll which is performing far better.  But I think you
need to test it by yourself with a prototype.

- Load balancing, e.g. A Server Cluster of 10 PC's each handling 10,000
> clients each ?
>

10,000 clients are fine. Someone implemented SOAP with MINA and he tested
9000+ clients in a production system I guess.  (Dave, let me know if this
information is wrong)

- High throughput ?
> - Low latency ?
>

We support single thread model when you want low latency.  If you want high
throughput, you can use the default multi-thread model.  The latency is not
extremely low but it's not bad comparing to other implementation. (Julien
was supposed to run a test on this issue.  Let me update you later)

- Graceful degradation, i.e. handle server disconnection / crash and
> recovery (e.g. by backing up data) ?
>

MINA handles the disconnection very nicely.  There's a callback so you can
just listen for the event and do your post-processing.  Regarding crash and
recovery, it's up to your implementation because MINA cannot know what data
you're taking care of and what recovery strategy you chose.  If you give us
more detailed information on this, we could give you a better answer.

Do you have class/sequence diagrams for MINA?
>

No, but there's a nice animation which explains how MINA works.  I think it
explains better than sequence diagrams.  Please visit 'getting started' page
and take a look at the PPT presentation file.  Please keep posting
questions; we are eager to answer them. :)

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
  • Re: MINA Trustin Lee

Reply via email to