You are viewing a plain text version of this content. The canonical link for it is here.
Posted to server-dev@james.apache.org by Norman Maurer <no...@apache.org> on 2010/04/18 13:48:00 UTC

Replace MINA by Netty

Hi all,

due the last weeks we encountered some problems realted to memory
usage etc. To see if the problem is within MINA (or our usage of
MINA), I wrote a socket implementation using NETTY
(http://www.jboss.org/netty). Since the release of NETTY 3.x its
license under the ASL2. The Framework is written by Trustin Lee which
was one of the main authors of MINA, before he dedicited to leave the
project.

Now it seems like MINA it self is not the problem with the OOM. It
seems it was caused by some infinity loop which was caused by some
"bad" usage ( but I still  think it should not happen if MINA would be
a bit smarter about this...). Anyway after more tests it seems like
NETTY just performs better in terms of CPU and Memory. I would even
say its "better" maintained..

I know all the "eat you own dogfood" voices, but I would like to just
remove all the MINA code and only use NETTY.

Thoughts ?

Bye,
Norman

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Re: Replace MINA by Netty

Posted by Norman Maurer <no...@apache.org>.
Ok I will take all needed steps to remove MINA then..

Bye,
Norman


2010/4/19 Eric Charles <er...@u-mangate.com>:
> I can confirm netty implementation is running fine after 1 week with real
> "prod" traffic and "prod" users.
> Tks,
> Eric
>
> On 04/19/2010 01:22 PM, Manuel Carrasco Moñino wrote:
>>
>> +1, Netty being a popular OpenSource project, If it performs better,
>> it is enough for me.
>>
>> -Manolo
>>
>> On Sun, Apr 18, 2010 at 1:48 PM, Norman Maurer<no...@apache.org>  wrote:
>>
>>>
>>> Hi all,
>>>
>>> due the last weeks we encountered some problems realted to memory
>>> usage etc. To see if the problem is within MINA (or our usage of
>>> MINA), I wrote a socket implementation using NETTY
>>> (http://www.jboss.org/netty). Since the release of NETTY 3.x its
>>> license under the ASL2. The Framework is written by Trustin Lee which
>>> was one of the main authors of MINA, before he dedicited to leave the
>>> project.
>>>
>>> Now it seems like MINA it self is not the problem with the OOM. It
>>> seems it was caused by some infinity loop which was caused by some
>>> "bad" usage ( but I still  think it should not happen if MINA would be
>>> a bit smarter about this...). Anyway after more tests it seems like
>>> NETTY just performs better in terms of CPU and Memory. I would even
>>> say its "better" maintained..
>>>
>>> I know all the "eat you own dogfood" voices, but I would like to just
>>> remove all the MINA code and only use NETTY.
>>>
>>> Thoughts ?
>>>
>>> Bye,
>>> Norman
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
>>> For additional commands, e-mail: server-dev-help@james.apache.org
>>>
>>>
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
>> For additional commands, e-mail: server-dev-help@james.apache.org
>>
>>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
> For additional commands, e-mail: server-dev-help@james.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Re: Replace MINA by Netty

Posted by Eric Charles <er...@u-mangate.com>.
I can confirm netty implementation is running fine after 1 week with 
real "prod" traffic and "prod" users.
Tks,
Eric

On 04/19/2010 01:22 PM, Manuel Carrasco Moñino wrote:
> +1, Netty being a popular OpenSource project, If it performs better,
> it is enough for me.
>
> -Manolo
>
> On Sun, Apr 18, 2010 at 1:48 PM, Norman Maurer<no...@apache.org>  wrote:
>    
>> Hi all,
>>
>> due the last weeks we encountered some problems realted to memory
>> usage etc. To see if the problem is within MINA (or our usage of
>> MINA), I wrote a socket implementation using NETTY
>> (http://www.jboss.org/netty). Since the release of NETTY 3.x its
>> license under the ASL2. The Framework is written by Trustin Lee which
>> was one of the main authors of MINA, before he dedicited to leave the
>> project.
>>
>> Now it seems like MINA it self is not the problem with the OOM. It
>> seems it was caused by some infinity loop which was caused by some
>> "bad" usage ( but I still  think it should not happen if MINA would be
>> a bit smarter about this...). Anyway after more tests it seems like
>> NETTY just performs better in terms of CPU and Memory. I would even
>> say its "better" maintained..
>>
>> I know all the "eat you own dogfood" voices, but I would like to just
>> remove all the MINA code and only use NETTY.
>>
>> Thoughts ?
>>
>> Bye,
>> Norman
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
>> For additional commands, e-mail: server-dev-help@james.apache.org
>>
>>
>>      
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
> For additional commands, e-mail: server-dev-help@james.apache.org
>
>    


---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org


Re: Replace MINA by Netty

Posted by Manuel Carrasco Moñino <ma...@apache.org>.
+1, Netty being a popular OpenSource project, If it performs better,
it is enough for me.

-Manolo

On Sun, Apr 18, 2010 at 1:48 PM, Norman Maurer <no...@apache.org> wrote:
> Hi all,
>
> due the last weeks we encountered some problems realted to memory
> usage etc. To see if the problem is within MINA (or our usage of
> MINA), I wrote a socket implementation using NETTY
> (http://www.jboss.org/netty). Since the release of NETTY 3.x its
> license under the ASL2. The Framework is written by Trustin Lee which
> was one of the main authors of MINA, before he dedicited to leave the
> project.
>
> Now it seems like MINA it self is not the problem with the OOM. It
> seems it was caused by some infinity loop which was caused by some
> "bad" usage ( but I still  think it should not happen if MINA would be
> a bit smarter about this...). Anyway after more tests it seems like
> NETTY just performs better in terms of CPU and Memory. I would even
> say its "better" maintained..
>
> I know all the "eat you own dogfood" voices, but I would like to just
> remove all the MINA code and only use NETTY.
>
> Thoughts ?
>
> Bye,
> Norman
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
> For additional commands, e-mail: server-dev-help@james.apache.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: server-dev-unsubscribe@james.apache.org
For additional commands, e-mail: server-dev-help@james.apache.org