[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mina-dev
Subject:    [MINA 3.0] Chains and other general consideration
From:       Emmanuel Lecharny <elecharny () gmail ! com>
Date:       2011-08-30 8:49:28
Message-ID: 4E5CA418.9000902 () gmail ! com
[Download RAW message or body]

Hi guys,

we are having a lot of discussion about the way to process chains, FSM 
and other high level concerns.

This is *really* interesting.

Although, this is just part of the problem.

Julien has already coded a rough semi-working soltuion using a very 
basic chain, with some HTTP protocol codec implemented. I do think we 
should use this experiment not as a base for any Chain implementation, 
but as a base for a performance benchmark.

I think that we need to determinate what is the best approach regarding 
the core system (ie, Acceptor and Processor). How many threads ? How 
many selectors ? How to spread events (OP_READ, OP_WRITE) on selectors ? 
Etc.

This can be seen as an orthogonal work, but a very important one. We can 
have the best possible chain API, but if we have some kind of bottleneck 
in the front end, we are dead anyway.

Once we have some good metrics on this part, changing the internal chain 
will be really easy, IMO.

Just my morning random thougths...

-- 
Regards,
Cordialement,
Emmanuel Lécharny
www.iktek.com

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic