game
A server framework developed specifically for global servers and large-scale distributed games, with high performance and very fast development speed.
The core code is very simple. based on NATS multi-cluster mode, easily achieve millions of qps,
Componentization, a large number of generic implementations, and mandatory constraints, use object pools to reduce GC consumption.
Can be used for all game development except global server MMORPG games
Of course, it can also be used as a server-divided mode, which can greatly save server resources
Support actor thinking
Support DDD mode development
Support event-driven
Support full memory model, support database model
All logic can be directly modularized, which is very friendly to companies that need to build a middle platform
专为全球同服、大型分布式游戏开发的服务器框架,性能高,开发速度非常快。
核心代码非常简单,基于nats多集群模式,轻松实现百万qps,
组件化,大量泛型实现,以及强制约束,使用对象池减少GC消耗。
能满足除全球同服mmorpg游戏以外的所有游戏开发
当然也能用作分服的模式,可以极大的节省服务器资源
支持actor思想
支持DDD模式开发
支持事件驱动
支持全内存模型,支持数据库模型
所有逻辑可直接模块化,对需要做中台的公司非常友好
It can now be used for production environment game development
目前已经能用作生产环境游戏开发了
But there is still a lot of work to be done
However, implementation solutions are reserved to make it as compatible as possible
For the functions that I don’t have time to complete for now, users can integrate them by themselves
但还有大量的工作未完成
不过都预留了实现方案,尽可能的兼容
暂时没时间实现的功能都可以自己实现集成进去
Welcome friends who are interested to participate in the development
欢迎有兴趣的朋友一起参与开发
游戏配置文件接入(Game configuration file access)
请暂时自己实现或者用(Please implement it yourself or use) luban
各大主流服务器配置文件接入(Access to configuration files for major mainstream servers)
consul etcd3 ....
file(json,yaml...)
请使用(please use) viper
i18n 多国家语言(Multi-language)
use tools/gen-proto-error to generate errmsg
使用tools/gen-proto-error 生成errmsg代码和文件可以解决多语言和错误堆栈等问题
详情可以看
common/tools/gen-proto-error/README.md
gateway
推荐使用(Recommended use) nbio
支持得比较全面, 性能也不错(The support is comprehensive and the performance is good)
数据库集成(Database Integration)
内存模式开发对象管理(Memory Mode Development Object Management)
- user data manager
- global data manager
- base use(or global server)
- ddd (or global server)
- event driven (or global server)
- actor (or global server)
- fps (or global server)
- etc...
监控集成(Monitoring Integration)
- prometheus
- grafana
- etc...
日志收集(Log Collection)
链路追踪(Tracing)