{"title":"Design and Implementation of Gobang Game Server Based on Distributed Cluster Technology","authors":"Dingying Tan, Huiling Liu, Hanjie Liang, Pingping Chen","doi":"10.1145/3517077.3517113","DOIUrl":"https://doi.org/10.1145/3517077.3517113","url":null,"abstract":"The distributed cluster structure has been widely used in the development of the server-side. The cluster structure is the basis to ensure the high availability and high scalability of the server-side. The distributed architecture reduces the coupling between the modules of the server-side and reduces the cost of development and maintenance. The paper developed a simple and extensible Gobang game server based on the distributed cluster structure. A simple method for network disconnection and reconnection is designed for different types of disconnection. In order to manage the thread resources uniformly, the paper designed a thread pool for the server. The result showed a 45.65 percent increase in operational efficiency while using thread pool in single core system. The design of double message queue has a good effect on avoiding frequent lock competition. Bitwise operation was used for instead of part of ordinary operation in this paper. In the case of large-scale operation, bitwise operation shows obvious advantages. The core algorithm code of the intelligent robot is within 500 lines. The time complexity of the algorithm can be stable at O (N2).","PeriodicalId":319898,"journal":{"name":"Proceedings of the 2022 7th International Conference on Multimedia and Image Processing","volume":"148 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"2022-01-14","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"132482799","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}
{"title":"Proceedings of the 2022 7th International Conference on Multimedia and Image Processing","authors":"","doi":"10.1145/3517077","DOIUrl":"https://doi.org/10.1145/3517077","url":null,"abstract":"","PeriodicalId":319898,"journal":{"name":"Proceedings of the 2022 7th International Conference on Multimedia and Image Processing","volume":"31 1","pages":"0"},"PeriodicalIF":0.0,"publicationDate":"1900-01-01","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":null,"resultStr":null,"platform":"Semanticscholar","paperid":"124128014","PeriodicalName":null,"FirstCategoryId":null,"ListUrlMain":null,"RegionNum":0,"RegionCategory":"","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":"","EPubDate":null,"PubModel":null,"JCR":null,"JCRName":null,"Score":null,"Total":0}