GeyserMC / PacketLib

A library for packet-based networking between clients and servers.
MIT License
80 stars 40 forks source link

Use one thread per client. #17

Closed jdonkervliet closed 7 years ago

jdonkervliet commented 7 years ago

Limiting the Client to use only one thread allows for better scalability when you want to launch multiple clients from a single machine.

I'm not sure if in this case it is better to use NioEventLoop instead (which is a SingleThreadEventLoop) because I have never worked with Netty before.

ghost commented 7 years ago

Can you duplicate this change to the proxy path as well?

jdonkervliet commented 7 years ago

Yeah, I'll take a look at it. 👍