当前位置:网站首页>Design of Cluster Gateway in Game Server
Design of Cluster Gateway in Game Server
2022-08-11 08:42:00 【zfoo-framework】
The gateway is actually located at the top layer in the game server and has the following basic functions:
1. The client can request the partition list.
2. Recommended server.
It can be seen that if the gateway is down, the player can't even get the partition list and can't enter the game.
At this time, in order to avoid single-point problems, the gateway needs to be designed as a cluster. At present, in our game, we use: nginx + multiple springboot projects to realize the cluster.Nginx can route to the specified springboot project for processing according to the player's ip, so that the traffic can be shunted and a gateway server can be hung with little impact.
边栏推荐
猜你喜欢
随机推荐
初级软件测试工程师笔试试题,你知道答案吗?
go sqlx 包
Analysis of the Status Quo of Enterprise Server Host Reinforcement
@RequiredArgsConstructor注解
Unity3D——自定义类的Inspector面板的修改
《价值》读书与投资
DataGrip配置OceanBase
基于consul的注册发现的微服务架构迁移到servicemesh
jenkins 流水线脚本详细解析Pipeline
剑指offer专项突击版第26天
klayout--导出版图为gds文件
CIKM 2022 AnalytiCup Competition: Federal Heterogeneous Task Learning
One network cable to transfer files between two computers
flex布局回顾
Interview questions about Android Service
持续集成/持续部署(2)Jenkins & SonarQube
C语言操作符详解
基础SQL——DDL
go-grpc TSL authentication solution transport: authentication handshake failed: x509 certificate relies on ... ...
观察表情和面部,会发现他有焦虑和失眠的痕迹









