Code Monkey home page Code Monkey logo

goframework's Introduction

捕鱼侠游戏服务器

1.捕鱼侠游戏服务器包含: 登录服务器,游戏服务器和中心服务器; 2.基于捕鱼游戏数据特性,采用mongodb代替mysql; 3.中心服务器上的数据可能需要采用缓存,待定;

集群通信组件 1.集群服务器之间通过socket连接进行通信; 2.每个服务器都有自己唯一的通信组件ID,生成规则为: ServerType*1000+ServerID; ServerType为服务器类型,区间0-99; ServerID为服务器在同类服务中的index,区间为1-999; 3.目前初步使用的ServerType分配为: LOGIN_SERVER 10 //登录服务器组 GAME_SERVER 11 //游戏服务器组 LOBBY_SERVER 12 //中心服务器组

goframework's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.