jzyong / GameServer4j

Distributed Java game server, including login, gateway, game demo

Home Page:https://jzyong.github.io/GameServer4j/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Intro

  Using Java, netty, zookeeper, spring boot and mongo, redis tools to development of game hot update distributed framework. Clients to gateways use TCP custom protocols, Intranet message forwarding use GRPC forwarding, all stateless services can be horizontally extended, and stateful services can be horizontally extended through partition, state binding and other rules. The basic architecture of the project is shown below:

Architecture diagram

Module

  1. Logical scripts that end with the project module at the end of scripts as the corresponding project can be hot-updated. docker run

Technology select

  1. spring-boot
  2. mongodb
  3. maven
  4. netty
  5. grpc
  6. redis
  7. zookeeper
  8. kafka

Document
QQ Communication group: 143469012

TODO

  • add microservice
  • protobuf sync to GameServer4g
  • world 开发
  • 添加加载脚本和配置 maven插件

About

Distributed Java game server, including login, gateway, game demo

https://jzyong.github.io/GameServer4j/

License:MIT License


Languages

Language:Java 97.7%Language:Kotlin 1.6%Language:Batchfile 0.3%Language:Dockerfile 0.2%Language:Scala 0.1%Language:HTML 0.1%Language:Shell 0.0%Language:Mustache 0.0%