On 6/21/07, Emmanuel Lecharny <elecharny@gmail.com> wrote:
> ...
> I would suggest to switch from this pattern to a simpler one, where we
> keep the handler decomposition (I like the idea of decomposing
> treatments in small disconnected methods, compared to a big fat
> method), but using as many methods as we have handlers. Doing so will
> remove the 2 first points, without modifying the logic of the current
> code, while the 3rd point will substitute a parameter passing to a
> session storage.
Thanks for listing reasons.
I think it would help people to know what size performance
improvements you are seeing. It would help MINA developers to know
whether to use the IoHandlerChain or not.
I agree that we should move to a simpler method based structure.
Enrique
|