Skip to content

Use Netty as a backend instead of java.io for much more efficient networking. #1

Open

Description

@me4502

Netty handles threading very well, unlike java.io sockets. Currently there is a large bottleneck in terms of single CPU performance due to usage of these old APIs.

Activity

  1. alejzeis commented on Aug 5, 2015

    @alejzeis

    Yes, I was thinking of using Netty, but I am not that well familiar with
    it. If you could help, that would be great (on a seperate branch first).

    On Wednesday, August 5, 2015, Matthew Miller notifications@github.com
    wrote:

    Netty handles threading very well, unlike java.io sockets. Currently
    there is a large bottleneck in terms of single CPU performance due to usage
    of these old APIs.

    —
    Reply to this email directly or view it on GitHub
    #1.

  2. net32 commented on Sep 24, 2015

    @net32

    I am finishing my version of JRakLib fully using ionetty, I'll publish it here when committing, not using while (true), is in the final version already, I'm just packing up some minor bugs, performance is very good, very low CPU usage.

  3. net32 commented on Sep 24, 2015

    @net32

    @jython234 you could create a new branch, named ioNetty ? thanks

  4. alejzeis commented on Sep 24, 2015

    @alejzeis

    @net32 Done.

  5. net32 commented on Sep 27, 2015

    @net32
  6. RazvanDu commented on Nov 30, 2015

    @RazvanDu

    Does the netty branch really improve performance?

  7. alejzeis commented on Nov 30, 2015

    @alejzeis

    I tested it and it actually appeared to be slower than master.
    On Nov 29, 2015 6:17 PM, "SenanYT" notifications@github.com wrote:

    Does the netty branch really improve performance?

    —
    Reply to this email directly or view it on GitHub
    #1 (comment)
    .

  8. me4502 commented on Dec 6, 2015

    @me4502
    Author

    If used correctly, Netty should provide better performance.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions