mas-bandwidth/yojimbo

Not ideal for MMOs?

Closed this issue · 2 comments

Net5F commented

I saw mention here and here about using other libs (potentially raknet/slikenet) for something like an MMO, but I couldn't find much beyond that. Mind giving a quick explanation of why?

Thanks.

MMOs have lots of players. Generally, you need to spend a lot of time optimizing your socket layer to support many simultaneous connections. I've already done that for this library, and it's reasonable up to 256 simultaneous connections, but beyond that I make no guarantees, and I think you'll need to optimize parts of the library.

So, in short, you're welcome to try to use it. I think there's probably places where you'll want to optimize away O(n) walks across session arrays. But aside from that, netcode is as good as any library for an MMO.

cheers

  • Glenn
Net5F commented

Thanks for the elaboration!