Coder Social home page Coder Social logo

flyarong / skynet-qp-server Goto Github PK

View Code? Open in Web Editor NEW

This project forked from caogtaa/skynet-qp-server

0.0 2.0 0.0 6.29 MB

一个基于skynet的棋牌游戏服务端,也可以作为其他类型的游戏服务端

Makefile 0.82% Lua 72.26% C 24.25% PureBasic 1.89% Shell 0.15% Python 0.63%

skynet-qp-server's Introduction

基于skynet的棋牌游戏服务端,也可以作为其他类型的游戏服务端

  • 1.git submodule update --init --recursive
  • 2.cd skynet
  • 3.make linux

中心服务器(center_server)

  • 1.负责登陆服务器 网关服务器 大厅服务器 游戏服务器相关信息的管理
  • 2.管理陆服务器 网关服务器 大厅服务器 游戏服务器的正常关闭退出
  • 3.与网站后台的通讯及功能处理

登陆服务器(login_server)

  • 1.注册 登陆 以及其他相关处理
  • 2.水平扩展 通过其他服务来确定使用哪个登陆服务器
  • 3.连接到中心服务器 获取网关服务器的负载状态
  • 4.负载均衡 登陆完成后确定使用哪个网关服务器

网关服务器(gate_server)

  • 1.和客户端直连,作为客户端的连接点,由登录服务器选择负载选择网关给客户端
  • 2.负责包转发、协议加解密等
  • 3.管理大量客户端连接
  • 4.连接到中心服务器 定时报告负载状态 如果有多个网关也可以通过中心服务器通知所有网关服务器给所有用户推送消息

大厅服务器(hall_server)

  • 1.个人信息管理
  • 2.游戏列表管理
  • 3.银行 排行榜等

游戏服务器(game_server)

  • 1.负责具体游戏信息和游戏逻辑

数据库服务器(db_server)

  • 1.和数据库的连接和交互
  • 2.维护redis缓存(棋牌类的游戏基本没必要使用redis,直接通过查询语句或者存储过程操作mysql就可以了)

性能测试服务器(benchmark_server)

  • 1.创建指定数目的的agent来模拟用户的操作

skynet-qp-server's People

Contributors

nybdech avatar

Watchers

James Cloos 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.