kryonet icon indicating copy to clipboard operation
kryonet copied to clipboard

Migrate from Java Nio to Netty

Open NyxCode opened this issue 8 years ago • 2 comments

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 avatar Jul 22 '17 16:07 NyxCode

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

NyxCode avatar Jul 23 '17 00:07 NyxCode

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

NathanSweet avatar Aug 23 '17 09:08 NathanSweet