En utilisant AWS re:Post, vous acceptez les AWS re:Post Conditions d’utilisation

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

demandé il y a 3 ans329 vues
1 réponse
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
répondu il y a 3 ans
profile pictureAWS
EXPERT
vérifié il y a 3 ans

Vous n'êtes pas connecté. Se connecter pour publier une réponse.

Une bonne réponse répond clairement à la question, contient des commentaires constructifs et encourage le développement professionnel de la personne qui pose la question.

Instructions pour répondre aux questions