Original Post
Hello,
I'm currently coding my multiplayer server. Now my question here is how you use threads in multiplayer game servers?
I have different kind of messages like login, choose character, create character, move, engage, etc.
Do you usually have one thread/threadpool for each message type? Or do you usually use one thread/threadpool for related messages like login, choose character, create character?
How do most online game developers do this?
Oh, and I don't have to worry about synchronizing, race conditions, etc., because I'm planning to use the actor model for parallelism.
I'm currently coding my multiplayer server. Now my question here is how you use threads in multiplayer game servers?
I have different kind of messages like login, choose character, create character, move, engage, etc.
Do you usually have one thread/threadpool for each message type? Or do you usually use one thread/threadpool for related messages like login, choose character, create character?
How do most online game developers do this?
Oh, and I don't have to worry about synchronizing, race conditions, etc., because I'm planning to use the actor model for parallelism.