Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
10.1145/3517077.3517113acmotherconferencesArticle/Chapter ViewAbstractPublication PagesicmipConference Proceedingsconference-collections
research-article

Design and Implementation of Gobang Game Server Based on Distributed Cluster Technology

Published: 22 May 2022 Publication History
  • Get Citation Alerts
  • 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).

    References

    [1]
    Mao Weipeng,Zhang Ying. Distributed game server design based on Pomelo framework[J]. Electronic Design Engineering,2019,27(09):35-38+42.
    [2]
    Mao Renwei. Research on load balancing and related technologies in massively multiplayer online games[D]. Capital Normal University,2014.
    [3]
    Xiao Kai. Research on Muduo network framework technology based on Reactor pattern[D]. Wuhan Institute of Post and Telecommunications Science,2016.
    [4]
    Young Bu Kim, Jae Hwan Bae. Analysis of Open Source Boost (C++ libraries) for Design of Game Network. 2015, 28(3):81-86.
    [5]
    Apache Zookeeper [EB/OL]. https://Zookeeper.apache.org/.
    [6]
    Zhang Xugang, Li Donghui, Yu Jun, Zhu Guangxin, Zheng Lei. Implementing MySQL distributed database clusters based on Zookeeper framework[J]. Computer and Digital Engineering,2016,44(09):1855-1859.
    [7]
    Zhu Chaofan, Guo Jinwei,Cai Peng. Implementation and optimization of Paxos-based distributed consistency algorithm[J]. Journal of East China Normal University (Natural Science Edition),2019(05):168-177.
    [8]
    Chen Tianwei, Peng Lingxi. Design and implementation of a distributed system architecture based on Zookeeper[J]. Communication Technology,2018,51(01):87-91.
    [9]
    Zhang Jianhui. Design and implementation of weather forecasting business system based on distributed technology[D]. Southeast University,2018.
    [10]
    Deng Jie,Tong Mengjun,Hu Wenzhe,Lin Yingjie,Hu Shen. Building a quasi-real-time index update system based on Zookeeper and its monitoring[J]. Computer Age,2020(02):58-61+66.
    [11]
    Li Bing. Performance optimization strategies for Linux deployment of highly concurrent WEB servers [J]. Computer Knowledge and Technology,2019,15(31):19-20.
    [12]
    Chen Yulin, Wang Wu.Analysis of four abnormal states of Zookeeper distributed locks[J]. Computer Programming Skills and Maintenance,2019(09):28-29.
    [13]
    Software Testing; Researchers from School of Electronics Engineering and Computer Science Detail New Studies and Findings in the Area of Software Testing (Model-based Testing of Apache Zookeeper: Fundamental Api Usage and Watchers) [J]. Computers, Networks & Communications,2019.
    [14]
    Qiu Qi. Real-time Linux symmetric multiprocessing system application research[D]. Southwest Jiaotong University, 2012.
    [15]
    Zhuang Peng. Design and implementation of Zookeeper-based distributed service middleware[D]. Shenzhen University,2016.
    [16]
    Wu Yanqi, Chen Dalei, Wang Yu, Song Huajun. Intelligent human-computer game Gobang robot design[J]. Electronic Devices,2019,42(04):968-972.
    [17]
    Mohammad M. Ghiasi,Sohrab Zendehboudi,Ali Asghar Mohsenipour. Decision tree-based diagnosis of coronary artery disease: CART model[J]. Computer Methods and Programs in Biomedicine,2020,192.
    [18]
    Shazia Afzal, Verena Veulemans, Laura Kleinebrecht  Fusion Imaging During the Interventional Closure of Patent Foramen Ovale and Atrial Septal Defects[J]  JACC: Cardiovascular Imaging.

    Cited By

    View all

    Recommendations

    Comments

    Information & Contributors

    Information

    Published In

    cover image ACM Other conferences
    ICMIP '22: Proceedings of the 2022 7th International Conference on Multimedia and Image Processing
    January 2022
    250 pages
    ISBN:9781450387408
    DOI:10.1145/3517077
    Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

    Publisher

    Association for Computing Machinery

    New York, NY, United States

    Publication History

    Published: 22 May 2022

    Permissions

    Request permissions for this article.

    Check for updates

    Author Tags

    1. cluster structure
    2. distributed structure
    3. gobang intelligence
    4. message queue
    5. thread pool

    Qualifiers

    • Research-article
    • Research
    • Refereed limited

    Conference

    ICMIP 2022

    Contributors

    Other Metrics

    Bibliometrics & Citations

    Bibliometrics

    Article Metrics

    • 0
      Total Citations
    • 25
      Total Downloads
    • Downloads (Last 12 months)6
    • Downloads (Last 6 weeks)1

    Other Metrics

    Citations

    Cited By

    View all

    View Options

    Get Access

    Login options

    View options

    PDF

    View or Download as a PDF file.

    PDF

    eReader

    View online with eReader.

    eReader

    HTML Format

    View this article in HTML Format.

    HTML Format

    Media

    Figures

    Other

    Tables

    Share

    Share

    Share this Publication link

    Share on social media