I have read a lot of MMORPG server DesignsArticle, We all think there are multipleProgramCollaborate to complete a task. I have also considered this issue. However, with the development of technology, the current servers are basically multi-core CPUs. If you design multiple programs, you need to consider more issues, such: communication Problems of various programs. Why not design a program, bind each module to a different CPU, break the multi-thread transfer, and turn it into real parallel, c/C ++ can be improved using OpenMP technology.
The following is my improvement on an online game server. The theory is that the 6-core CPU is the best configuration. If this is the case, there are some drawbacks: I/O reading speed, which is hard to bear for a single machine.
I don't know how much efficiency has been improved, but I still need to perform a specific test. I used this technology when loading resources, which significantly increased the efficiency and reduced the loading time. It seems that the knowledge is endless, continue to cheer, and work hard :)