Critical infrastructure and latency in gaming

FusionAuth
3 min readApr 24, 2023

While esports competitions are high skill cap events, both hobby gamers and elite professionals alike expect optimal network conditions when they play games. A suboptimal network can turn an enjoyable event into an infuriating one that drives players away.

With tens of thousands of games released annually, it’s important to keep your players happy, and that involves making the right technical decisions. This is even more important in professional tournaments, where millions of dollars are on the line.

One of the biggest decisions you’ll need to make is choosing between self-hosting critical infrastructure or using third-party infrastructure-as-a-service (IaaS) or software-as-a-service (SaaS) providers. What you choose will directly affect latency and playability for your end users.

This post will take a closer look at such critical infrastructure and latency.

This blog post is an excerpt from The Benefits of Self-Hosting Critical Infrastructure to Reduce Latency in Gaming.

What Is Critical Infrastructure?

Critical infrastructure is what’s essential for your system to run correctly, whether it’s virtual or physical. This includes:

  • Servers that process game logic
  • Servers that send data to other players (if multiplayer)
  • Authentication servers responsible for login
  • Servers that allow your game to be downloaded

All software systems are planned and developed with the idea of redundancy, or ensuring your system can survive if services go down. But there are normally more important and less important parts to your system. For example, the part of your system that processes your game logic will likely be more critical than a store that allows users to change their cosmetic skins in-game.

The way you host this infrastructure will affect multiple aspects of your system:

A key factor, though, is the latency of your network.

Why Is Network Latency Important?

In order to ensure good gameplay, the critical infrastructure for your game needs to be hosted in a way that optimizes latency.

If your game is single-player, decreasing network latency won’t significantly increase the game’s quality. But many competitive games rely on fast reflexes. Genres like multiplayer shooters, real-time strategy (RTS) games, and multiplayer online battle arena (MOBA) games require their network latency to be as small as possible. The difference between winning and losing in these games can come down to milliseconds.

For example, professional esports teams worldwide are currently competing for the number one position in the Rocket League Championship Series, which boasts a $6 million USD prize pool for 2021–2022. However, Psyonix, the company behind Rocket League, has had issues with lag during past competitions. In 2021, a lag spike caused a player to disconnect and concede a goal during a game that decided which team would move into the finals — which is an incredibly high-stakes place to suffer this type of error.

As for shooter games, the community around Apex Legends has for years complained about the game’s server tick rate being too low. This can lead to scenarios in which players are shooting opponents, but due to network latency, those opponents are in a different place and the bullets will not register. The player can’t do anything about it.

The network essentially needs to send data from the player to the server, and then on to their opponents. This becomes more difficult with geographically separate players. Because of this, some tournaments will only take place as LAN events, such as world championships for the Apex Legends Global Series. Most games do their best to match players located close together to stop this problem from happening.

To learn about more about hosting options, latency, and more, read The Benefits of Self-Hosting Critical Infrastructure to Reduce Latency in Gaming.

--

--

FusionAuth

FusionAuth solves the problem of building essential user security without distracting from the primary application.