Many threads or as few threads as possible?
问题 As a side project I'm currently writing a server for an age-old game I used to play. I'm trying to make the server as loosely coupled as possible, but I am wondering what would be a good design decision for multithreading. Currently I have the following sequence of actions: Startup (creates) -> Server (listens for clients, creates) -> Client (listens for commands and sends period data) I'm assuming an average of 100 clients, as that was the max at any given time for the game. What would be