So I'm writing this MMO server, and I'm really struggling in this topic. I'm writing a fast paced MMO, and the server max players would be 800.

I have read that one thread per connection is not a good idea, and also that thread-pooling is not ideal in some cases.

I think 800 threads listing for client message is bit to much. In my case, which approach is better?

  • 1
    \$\begingroup\$ I don't think "fast paced MMO" is a good match for "800 threads"... \$\endgroup\$ – Vaillancourt Jan 27 '17 at 20:22
  • \$\begingroup\$ What about netty? \$\endgroup\$ – tkausl Jan 27 '17 at 21:13
  • \$\begingroup\$ With 800 threads you'll get more trouble that you would get with a threadpool. So go with a threadpool. One thread per connection is always bad, for several reasons. \$\endgroup\$ – user743414 Oct 4 '18 at 13:50

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.