EsotericSoftware / kryonet

TCP/UDP client/server library for Java, based on Kryo
BSD 3-Clause "New" or "Revised" License
1.81k stars 415 forks source link

Migrate from Java Nio to Netty #135

Open NyxCode opened 6 years ago

NyxCode commented 6 years ago

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

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 commented 6 years ago

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

NathanSweet commented 6 years ago

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