Looking for architectures to develop massive multiplayer game server
Hello all Where can I find开发者_StackOverflow architectures and examples of building massive multiplayer game server Does the does the concept of building it on top of libenevt is right ? or I need to think more on thread per connection ? im targeting to web players playing from flash / html5 clients . Thanks
Well, for examples, the MMORPG Ryzom is open source. It is made of several C++ services (processes), some of which can run in multiple instances for scalability. The front-end services use UDP to communicate with the clients, while the inter-process communication is done using TCP and/or shared memory.
I have never used libevent but the concept sounds good. You probably don't want one thread per connection, for a "massive" multiplayer game, because running hundreds of threads is not recommended (discussed here).
精彩评论