How to Make a Game Server Activate Itself?

0

Hi,

I am wondering if there is any way that a game server can activate itself without receiving the onStartGameSession event?

The scenario I am looking at is roughly like this: I am using a 3rd part matchmaking library; This library allows the game server starts a session and wait for the players. I am planning to make the stand-by game servers create their sessions and wait until a player connects to them; At this point I want to make a call to a GameLift api like ActivateGameSession to tell the GameLift the server is activated so that it adds another game server to stand-by pool.

The problem I have here is that in the documentation it is mentioned that the ActivateGameSession should be called in response to the onStartGameSession event.

Is the scenario I described possible to implement with the GameLift? If it is, how could I do it? Are there any caveats?

Look forward to hearing from you.

Regards, Aydin

Aydin
已提问 2 年前235 查看次数
1 回答
0

Hi Aydin,

It sounds like your use case is to have a holding pool of game servers ready to place matches as soon as the matchmaking library returns a match, is that correct? Have you considered using fleet auto-scaling to scale up your fleet based on utilization?

Reference: https://docs.aws.amazon.com/gamelift/latest/developerguide/fleets-autoscaling.html

AWS
已回答 2 年前
profile pictureAWS
专家
Toni_S
已审核 2 年前

您未登录。 登录 发布回答。

一个好的回答可以清楚地解答问题和提供建设性反馈,并能促进提问者的职业发展。

回答问题的准则