All Projects → magicsea → Ga_server

magicsea / Ga_server

基于protoactor框架的actor游戏服务器

Programming Languages

go
31211 projects - #10 most used programming language

Projects that are alternatives of or similar to Ga server

Akka.net
Port of Akka actors for .NET
Stars: ✭ 4,024 (+5125.97%)
Mutual labels:  actor-model
Bank Transactions
An Elixir project to make bank transactions using the actor model
Stars: ✭ 6 (-92.21%)
Mutual labels:  actor-model
Orleans
Orleans is a cross-platform framework for building distributed applications with .NET
Stars: ✭ 8,131 (+10459.74%)
Mutual labels:  actor-model
Ponyc
🐴 Pony is an open-source, actor-model, capabilities-secure, high performance programming language
Stars: ✭ 4,857 (+6207.79%)
Mutual labels:  actor-model
Actix
Actor framework for Rust.
Stars: ✭ 6,764 (+8684.42%)
Mutual labels:  actor-model
Mruby Actor
A actor library for distributed mruby
Stars: ✭ 11 (-85.71%)
Mutual labels:  actor-model
Qpc
QP/C real-time embedded framework/RTOS for embedded systems based on active objects (actors) and hierarchical state machines
Stars: ✭ 379 (+392.21%)
Mutual labels:  actor-model
Idris Elixir
A code-generator for Idris that targets Elixir
Stars: ✭ 56 (-27.27%)
Mutual labels:  actor-model
Citybound
A work-in-progress, open-source, multi-player city simulation game.
Stars: ✭ 6,646 (+8531.17%)
Mutual labels:  actor-model
Actor Zeta
Library that provides an actor style message-passing programming model (in C++).
Stars: ✭ 34 (-55.84%)
Mutual labels:  actor-model
Rockgo
A developing game server framework,based on Entity Component System(ECS).
Stars: ✭ 532 (+590.91%)
Mutual labels:  actor-model
Riker
Easily build efficient, highly concurrent and resilient applications. An Actor Framework for Rust.
Stars: ✭ 745 (+867.53%)
Mutual labels:  actor-model
Akka Bootcamp
Self-paced training course to learn Akka.NET fundamentals from scratch
Stars: ✭ 880 (+1042.86%)
Mutual labels:  actor-model
Scalecube Services
ScaleCube Services is a high throughput, low latency reactive microservices library built to scale. it features: API-Gateways, service-discovery, service-load-balancing, the architecture supports plug-and-play service communication modules and features. built to provide performance and low-latency real-time stream-processing. its open and designed to accommodate changes. (no sidecar in a form of broker or any kind)
Stars: ✭ 482 (+525.97%)
Mutual labels:  actor-model
Actor4j Core
Actor4j is an actor-oriented Java framework. Useful for building lightweighted microservices (these are the actors themselves or groups of them). Enhanced performance of message passing.
Stars: ✭ 48 (-37.66%)
Mutual labels:  actor-model
Coobjc
coobjc provides coroutine support for Objective-C and Swift. We added await method、generator and actor model like C#、Javascript and Kotlin. For convenience, we added coroutine categories for some Foundation and UIKit API in cokit framework like NSFileManager, JSON, NSData, UIImage etc. We also add tuple support in coobjc.
Stars: ✭ 3,921 (+4992.21%)
Mutual labels:  actor-model
Nact
nact ⇒ node.js + actors ⇒ your services have never been so µ
Stars: ✭ 848 (+1001.3%)
Mutual labels:  actor-model
Orleans.activities
Workflow Foundation (.Net 4.x System.Activities workflows) over Microsoft Orleans framework, providing stable, long-running, extremely scalable processes with XAML designer support.
Stars: ✭ 61 (-20.78%)
Mutual labels:  actor-model
Ptii
Ptolemy II is an open-source software framework supporting experimentation with actor-oriented design.
Stars: ✭ 53 (-31.17%)
Mutual labels:  actor-model
Pykka
🌀 Pykka makes it easier to build concurrent applications.
Stars: ✭ 944 (+1125.97%)
Mutual labels:  actor-model

停止维护。请移步新的项目

ga_server

基于protoactor框架的actor游戏服务器。

设计动机

  • 一套面向actor的分布式游戏服务器
  • 实现可伸缩设计,缩可以放在一个进程,伸可以扩展多台机器均衡负载

目录结构

  • cofig:游戏协议,gameproto存放c2s/s2c协议,msgs存放s2s协议。打包将生成到src的gameproto目录
  • src/GAServer:基本库代码,主要是gate模块和service类型的封装
  • src/Robot:机器人测试代码,robotMachine是压力测试,robotTest是简单功能测试

目前数据:robotCount= 500 time=ms 5457 all_qps= 91625.44

  • src/Server:里面是各种服务的实现。服务器的具体实现目录

启动

  • win编译出server执行文件
  • 可以直接执行server,默认读取config.json配置,所有服务在一个进程
  • 或者执行StartMultiServer.bat,启多个进程服务器,服务分开部署

登录流程

红色为单点,其他都是多点。 login使用http协议和客户端沟通,其他请求通过gate转发 image

依赖

主要依赖protoactor里的库,具体参考protoactor的readme。简单的直接使用LiteIde执行go get一下就自动下载。google的几个库需要科学上网,没条件的下载我网盘里的 google库

TODO

  • battleserver实现
  • gate加密
  • ...

QQ群:285728047

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].