Skip to content

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

Notifications You must be signed in to change notification settings

JGameEngine/mmo-server

 
 

Repository files navigation

mmo-server

intro

  Using Java, netty, zookeeper, spring boot and mongo, redis tools to development of game hot update distributed framework. Clients and gateways use TCP custom protocols, Intranet message forwarding USES 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
  • mmo-engine Framework underlying core logic, network communication, threading models, common tools classes
  • mmo-common Common logic code
  • mmo-message protobuf message
  • mmo-gate gate
  • mmo-login Login authentication
  • mmo-game Game Demo
  • mmo-manage Web background management, GM, etc
  • mmo-res Server resource files, Docker scripts, documents, etc
  • mmo-scene: Mmo combat scenario Demo, pause
  • mmo-world: World service demo, pause
  1. Abandoned module
  • mmo-db: akka+spring Cross-server data sharing using Demo
  • mmo-bill: kotlin+spring+netty+gradle billing use demo
  • mmo-cluster: Netty tcp,http demo
  • mmo-log: Log storage operations, Akka Stream operations log Demo

Technology selection

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

QQ Communication group: 143469012

About

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

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 97.4%
  • Kotlin 1.7%
  • Batchfile 0.5%
  • Dockerfile 0.2%
  • HTML 0.1%
  • Scala 0.1%