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 年前

您尚未登入。 登入 去張貼答案。

一個好的回答可以清楚地回答問題並提供建設性的意見回饋,同時有助於提問者的專業成長。

回答問題指南