Skip to main content

Does this meet your needs

If you are here, it is to learn more about the sessions. Before starting, you absolutely must have explored the deployments.

Here are the links that you need to have previously read: Overview and Getting Started.

Do the sessions meet your needs.#

If you are in this section, it is probably because the regular flow of the deployment does not suit you perfectly. Let's quickly recap the flow of deployments.

Here is the flow of a standard deployment. You send us a list of IP addresses, we create a deployment with your app at the best location, and your users connect to it. When the game is over, you let us know and we delete the deployment. Each game equals a new deployment.

img

When you ask us to terminate the deployment, we delete the instance of your game and it is not accessible by your players no more. If you want a new instance of your app for four other players, you'll make another deployment request.

img

But what if you wanted to get your players in and out of an instance of your app as is the case in an MMO or an open-world game. In that case, your deployment is more likely to start empty (you open a new server in a new region for example).

img

And be filled over time as players come in and out of the deployment.

img

If you need a more persistent game instance with players coming in and out at all times, sessions are what you need. In the next section, we will go over the concept of sessions.