GameLift architecture

0

Guys, good afternoon! I wanted to know a little more about all this architecture to close some ideas and I have some (a little silly) questions that I want to ask. When you create a fleet of instances in Amazon GameLift, what does the game session represent? Is it an instance of the instances given by the fleet? And the player session? Is it another extension but given by the game session? I'm right?

已提問 2 年前檢視次數 263 次
1 個回答
0
已接受的答案

Hey there @REDACTEDUSER

  • A GameLift fleet is a collection of managed Ec2 instances.

  • Each instance runs a number of serverProcesses (up to max 50). You specify the number/configuration for the serverProcesses by passing in a RuntimeConfiguration to the CreateFleet API.

  • The number of active, healthy server processes is the # of available gameSessions that you can run on your fleet.

  • When you create a gameSession (either via CreateGameSession / StartGameSessionPlacement / StartMatchmaking APIs), you reserve one of those healthy server Processes for usage

  • Once you have an ACTIVE GameSession PlayerSessions can be created on it. Each PlayerSession has an PlayerSessionId, and provides connection information for a player to connect to the ec2 instance your GameSession is running on.

  • The # of PlayerSessions that can be created on a GameSession is specified on the API call used to Create the Session:

已回答 2 年前

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

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

回答問題指南