Durch die Nutzung von AWS re:Post stimmt du den AWS re:Post Nutzungsbedingungen

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

gefragt vor 3 Jahren331 Aufrufe
1 Antwort
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
beantwortet vor 3 Jahren
profile pictureAWS
EXPERTE
überprüft vor 3 Jahren

Du bist nicht angemeldet. Anmelden um eine Antwort zu veröffentlichen.

Eine gute Antwort beantwortet die Frage klar, gibt konstruktives Feedback und fördert die berufliche Weiterentwicklung des Fragenstellers.

Richtlinien für die Beantwortung von Fragen