Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Migrate from Java Nio to Netty #135

Open
NyxCode opened this issue Jul 22, 2017 · 2 comments
Open

Migrate from Java Nio to Netty #135

NyxCode opened this issue Jul 22, 2017 · 2 comments

Comments

@NyxCode
Copy link

NyxCode commented Jul 22, 2017

Currently, Kryonet uses the nio library of java. It does its job, but, In my opinion, it suffers from poor maintainability and performance. If we migrated to Netty, we would get

  • better, more maintainable code
  • better performance, especially on Linux or Mac using native transport

In the next few weeks, I'll look into it and submit a pull request. In the mean time, I would appreciate if we could discuss this topic here.

@NyxCode
Copy link
Author

NyxCode commented Jul 23, 2017

Also, I noticed that implementing SSL would be easy after migrating...

@NathanSweet
Copy link
Member

I experimented with this some time ago:
https://github.com/EsotericSoftware/kryonetty
Supporting all the same features as KryoNet would take some work.

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

No branches or pull requests

2 participants