Analyzing the Game Application

Before deploying the game application, learn the application components to be deployed and the relationships between these components.

Figure 1 Game application architecture

The entire game application consists of four components: game client on the foreground, wow-auth login authentication system, wow-world game server, and MySQL database on the background. The following table describes these components and their relationships.

Table 1 Application environment

Item

Description

Application Components

  • Foreground: game client

The game client is prepared in advance. You can directly download the client to install the game.

  • Background: database (MySQL)

Stores game data.

  • Background: authentication system (wow-auth)

Authenticates login of game players.

  • Background: game server (wow-world)

Provides the game.

Relationships between the components

  • Both wow-auth and wow-world need to connect to the MySQL database for data storage. In this example, they are connected by using environment variables.
  • wow-auth needs to connect to wow-world. In this example, they are connected through environment variables.