Font Size: a A A

Research And Design Of The Single World-wide Webgame Server

Posted on:2013-06-11Degree:MasterType:Thesis
Country:ChinaCandidate:P D LiFull Text:PDF
GTID:2248330374975446Subject:Computer system architecture
Abstract/Summary:PDF Full Text Request
At present, the development of traditional online game is becoming increasingly slow,while the webgames spring up everywhere, becoming a new growth point for the online game.As a key point of the webgame, webgame server is under a severe test of the performance andload pressure. In order to provide a good quality of service, the webgame server-sidehigh-performance, stability, security and scalability are particularly important.In this thesis, based on the practical application, webgame server is designed andimplemented in detail and the following studies are completed:First, the key technologies in the design of the online game server are researchedin-depth: server models commonly used in the architecture are summarized, and then thenetwork IO models, especially epoll model are introduced in detail. Finally, reactor eventhandling mechanism, as well as receiver and connector design patterns are also discussed.Second, the webgame server-side function and structure are systematically analyzed.Adhering to the principles of stability, efficiency and scalability, load balance is achieved bythe way of cluster and division of multiple servers, and the function of each server is detaileddescribed in turn, especially for the implementation of the hotel server.Third, common components in the server are designed and implemented: Object memorypool is customized, and then reactor event handling mechanism is implemented combinedwith epoll network IO model. Finally, the data communication model is fully discussed,including the design of the packet format, packet extraction and distribution.Finally, from the perspective of the server software development, server security,including the account security,game logical security and data communications security aredetailed analyzed and a number of security technologies are implemented, ensuring the gamestability and security. In addition, some optimization methods are introduced for the problemsarised in the game operation.
Keywords/Search Tags:webgame, server side, object memory pool, load balance
PDF Full Text Request
Related items