李海燕. 高性能MMO服务器架构与模式设计[J]. 微电子学与计算机, 2010, 27(7): 97-101.
引用本文: 李海燕. 高性能MMO服务器架构与模式设计[J]. 微电子学与计算机, 2010, 27(7): 97-101.
LI Hai-yan. High-performance MMO Server Architecture and Model Design[J]. Microelectronics & Computer, 2010, 27(7): 97-101.
Citation: LI Hai-yan. High-performance MMO Server Architecture and Model Design[J]. Microelectronics & Computer, 2010, 27(7): 97-101.

高性能MMO服务器架构与模式设计

High-performance MMO Server Architecture and Model Design

  • 摘要: MMO服务器设计过程中,需要关注整体结构、通讯模块和服务器的鲁棒性.结合经典设计模式,讨论MMO服务器构建的关键技术点.采用模块化的构建方法组织服务,通讯模块使用IOCP机制保证网络服务的并发性和高效性.融合油漆工、代理、观察者等多种模式,实现服务模块的低耦合结构.加入共享内存机制和进程通信机制,将服务数据与服务逻辑分离,保证服务器的鲁棒性.

     

    Abstract: Process of MMO server design should focus on the overall structure, communication module and the server robustness. This paper presents MMO servers key technologies and modular organization based on design patterns. The communications module uses IOCP mechanism to guarantee network service concurrency and efficiency. With low coupling, the MMO service module structure is designed with decorator, proxy, observer and other patterns. To ensure the robustness of the server, the service data and service logic are separated with shared memory mechanism and process communication mechanism.

     

/

返回文章
返回