Which is better and why?
Having a hard time choosing what’s best.
I find kryonet easier to use, but I think that netty is more powerful. But both are great at what they do.
I find KryoNet easier aswell, but regarding performance. Which is better?? They’re both NIO
Use whichever is easier for you. Neither is going to have bad performance if used correctly.
That’s good to know. Thanks
I’ve never used Netty, but I can definitely vouch for Kryonet. The fact that I’ve never had to find a different networking library for my games because Kryonet works so well is a testament to the library in and of itself.
Hey,
This is actually the first time I announce it officially inside the forum but it might be interesting for you. I’m working on a project which for Java builds on netty but simplifies the API massively. It also adds some other features on top, maybe you like it: https://github.com/noctarius/tengi
I might try that some day, look’s pretty good!
Kryonet is much easier and after a few tweeks to its code, it can be powerful a.f
Well It depends on whether you want out of the box serialization. Then Kroynet is the way to go.
But I send encrypted bytes and need custom encoders/decoders. (Which I’m sure you can do with Kryonet.)
However, I found that since you must start from the bottom with MINA that it was easier for me to learn how to get it all together.
PS: I tried Netty and I wouldn’t receive my packets. I was definitely doing something wrong.
Mina is discontinued though? the developers moved to Netty. There was a bug with Mina where performance would drop significantly at a certain point.
MINA does not seem to be entirely dead, 1 issue was RESOLVED-FIXED in the past 16 weeks:
MINA isn’t dead. As far as I know MINA 3 will be released at some point.