Skip to main content

Configure persistent session

Last updated on April 18, 2024

Overview

The Persistent Session feature ensures that sessions remain active despite scenarios such as player absence, dedicated server crashes, or session timeouts.

In survival games, servers frequently operate continuously to accommodate the constant flow of players entering and exiting. However, extended periods of dedicated server operation often result in performance degradation. While dedicated servers perform optimally with continuous operation, maintaining consistent performance is essential. Game developers require a solution that ensures uninterrupted 24/7 session availability for players while maximizing dedicated server performance.

How it works

info

The persistent session configuration cannot be modified dynamically. It adheres strictly to the persistent configuration set during initialization when the template is configured.

This section contains a flowchart showing how persistent session works in AGS.

Configure persistent session in the Admin Portal

danger

It's essential to delete the Persistent Session when it's not actively in use. Extended periods of inactivity can lead to significant resource consumption, as the session may repeatedly spawn dedicated servers over several days or even months.

  1. Navigate to Game Management and select Session Template.

Session template

  1. Click on Add Session Template to initiate the creation of a new session template. A pop-up menu will appear for adding the new session template.

  2. Within the Add Session Template creation, populate the Session Type field and select DS - Armada from the options.

Session template configuration

info

At present, persistent session support is available exclusively for Armada. Support for AccelByte Multiplayer Servers (AMS) will be implemented at a later date.

  1. Toggle the switch to True to activate Persistent session.

Persistent session configuration

  1. Click the Add button to finalize the creation of the session template.