Diarkis Server

Overview

To operate the Diarkis server in production, you need to select the cloud service to be used and customize the settings according to the requirements. This document explains the details of the Diarkis server.

Primary Programming Language

The Diarkis server primarily uses Go as its main programming language.

Goroutines

The Diarkis engine processes and manages goroutines internally. In most cases, the application logic does not require the use of goroutines. Functions provided by the Diarkis engine with callbacks typically indicate that goroutines are used internally, but this is not always the case.

Diarkis Server Cluster and Application Servers

To establish a connection to communicate with the Diarkis server cluster, you need to obtain connection endpoints and other necessary data from the cluster via the HTTP API.

The following diagram illustrates the relationship between clients, the Diarkis server cluster, and one or more application servers.

The Diarkis cluster can consist of any of the following: MARS, HTTP, UDP/RUDP, TCP.

MARS

A server that is always required in a Diarkis cluster

HTTP

An entry point for real-time communication via TCP, UDP/RUDP

UDP/RUDP

A real-time communication server using UDP/RUDP

TCP

A real-time communication server using TCP

You can easily get started with these server configurations by using the Diarkis server template.

Diarkis Server Template

最終更新