Interesting blog post comparing netty to raw NIO

"이희승 (Trustin Lee)" trustin at gmail.com
Tue Aug 24 20:49:00 EDT 2010


Yeah, it's interesting indeed - I never tested that far obviously. :)

I'm not sure about the 100% CPU issue with no logged exceptions though
since Netty doesn't swallow an exception.  Maybe GC thrashing or VM bug?

On 08/25/2010 05:41 AM, falconair wrote:
> 
> http://blog.urbanairship.com/blog/2010/08/24/c500k-in-action-at-urban-airship/
> 
> Table 1: Connections Handled Before Failure
> 
> Implementation	Connections	Memory Used
> Java Pure NIO	512,000 +	2.5 GB
> Java w/Netty	330,000 	2.2 GB
> Scala w/Netty	173,000 	1.5 GB
> 
> 
> Table 2: Memory Efficiency per Connection
> 
> Implementation	Connections	Memory Used	Delta
> Java Pure NIO	80,000 +	581 MB	1x
> Java w/Netty	80,000  	711 MB	1.3x
> Scala w/Netty	80,000  	937 MB	2.26x
> 
> 

-- 
what we call human nature in actuality is human habit
http://gleamynode.net/


More information about the netty-users mailing list