Giter Club home page Giter Club logo

dreamanlan / serverplatform Goto Github PK

View Code? Open in Web Editor NEW
7.0 5.0 10.0 584.46 MB

基于node.js与libevent的游戏服务器端通信底层架构与管理架构。主要用于支持C#实现的游戏逻辑服务器进程。可以支持windows、mac与linux(64bit)三种平台。

License: Other

C++ 10.00% C 24.01% Shell 10.87% C# 0.13% CMake 0.93% Python 0.73% JavaScript 0.01% Makefile 6.61% M4 0.61% Roff 46.04% sed 0.06% Batchfile 0.01%
serverplatform nodejs libevent

serverplatform's Introduction

ServerPlatform

基于node.js与libevent的游戏服务器端通信底层架构与管理架构。主要用于支持C#实现的游戏逻辑服务器进程。可以支持windows、mac与linux(64bit)三种平台。

通信架构是采用星形网络逻辑拓扑,ServerCenter类似交换机的功能,为星形架构中心,其他通信实体使用CenterClientLibrary与Center通信。多个Center间通过其中一个通信实体使用CenterHubLibrary同时连接多个Center来转发消息。

采用了与DSL元语言相同的语法实现了一个基于对象的解释执行的脚本语言,这个脚本语言用作管理与配置脚本,配置数据采用tab分隔的文本表格数据配置(可以使用excel编辑),一份配置同时配置互相连接的所有Server与Center,便于全服分发与校验。每个Server的个性配置一般在/etc/ip.txt,这里配置该Server的ip地址,Server启动时执行配置脚本,配置脚本根据ip地址在配置表里找到相应的配置数据并提供给上层使用。

CSharpGameFramework的服务器底层通信平台使用ServerPlatform。

serverplatform's People

Contributors

dreamanlan avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  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.