Interesting blog post comparing netty to raw NIO
"이희승 (Trustin Lee)"
trustin at gmail.com
Wed Nov 10 21:35:14 EST 2010
I implemented pretty simple workaround in NioWorker but I'm not sure it
is working. So far, as far as I remember, nobody reported this bug when
using Netty. If someone experienced this issue, please report it to me.
HTH
Bo Hu wrote:
> I just learned a jvm
> bug: http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6403933, which
> will cause 100% cpu usage.
>
> <http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6403933>I searched
> into the source code of Netty, and didn't find related information.
>
> Does Netty have a workaround about this bug?
>
> On Wed, Aug 25, 2010 at 8:49 AM, "이희승 (Trustin Lee)"
> <trustin at gmail.com <mailto:trustin at gmail.com>> wrote:
>
> 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/
> _______________________________________________
> netty-users mailing list
> netty-users at lists.jboss.org <mailto:netty-users at lists.jboss.org>
> https://lists.jboss.org/mailman/listinfo/netty-users
>
>
>
>
> _______________________________________________
> netty-users mailing list
> netty-users at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/netty-users
--
Trustin Lee - http://gleamynode.net/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 290 bytes
Desc: OpenPGP digital signature
Url : http://lists.jboss.org/pipermail/netty-users/attachments/20101111/7a8dd87f/attachment-0001.bin
More information about the netty-users
mailing list