Font Size: a A A

Design And Implementation Of High Concurrency Game System Under Cloud Platform

Posted on:2022-06-07Degree:MasterType:Thesis
Country:ChinaCandidate:T XuFull Text:PDF
GTID:2518306524480244Subject:Computer Science and Technology
Abstract/Summary:PDF Full Text Request
With the advent of the Internet era,online game games have been integrated into the entertainment life of people all over the world.Chess and card games have developed rapidly on traditional online platforms due to their simple operation,rich strategy,and fast game rhythm,and have won a large number of loyal players.Online gaming,where education is fun,has developed rapidly in the current stage of the epidemic.Based on real project requirements,this topic designs an online multiplayer game system for chess teaching activities.Based on this,this paper designs and implements a chess game system under the cloud platform to provide a cross-platform game system for global chess game players to meet the teaching and entertainment needs of multiplayer concurrent games.The main basic functional requirements of the game system include matching function,game function,training function,and chat function.The main work of the thesis is the analysis of the needs of the system,the overall design of the system,the overall design of the microservice architecture,the concrete realization of the system,and the functional testing and performance testing of the system.This article first introduces the research background and significance of the subject,and studies the current situation at home and abroad.After a detailed demand analysis of the game system,the system functions of the system and the overall framework of the platform are designed.After that,based on the idea of microservices,the entire game system is split into multiple independently deployed microservices to meet high concurrent service requirements and high availability.After registration through Zookeeper,the Dubbo distributed microservice framework is used for service exposure and service discovery.At the same time,according to the actual needs of the platform,the HTTP interface layer and the WebSocket interface layer are designed.The concurrent communication and load balancing are realized based on the Reactor multi-threaded communication and the Kubernetes ingress controller,and the dual ingress API gateway is designed to provide services outside the cluster.In addition,in terms of database design,this article uses data read-write separation,horizontal splitting and vertical splitting schemes for data read and write efficiency caused by high concurrent and large user access,and uses Redis cache to play real-time in the game.Data enables the platform to have better scalability,high concurrency and high reliability.Finally,an easy-to-use,user-friendly front-end interactive interface and back-end management interface are developed based on Vue.After completing the design and implementation of the game system,the system was tested for function and performance on the virtual machine created at the Iaa S infrastructure platform layer of the laboratory,which verified that the system has high performance while realizing basic functions.Availability and high concurrency performance.Finally,it summarizes the work of the full text,and puts forward the areas to be improved in the system and the prospects for future work.
Keywords/Search Tags:Cloud platform, Microservices, WebSocket, Battle platform
PDF Full Text Request
Related items