Diarkis Server

Overview

To deploy the Diarkis server in a production environment, you need to select an appropriate cloud service and customize the settings according to the requirements. This section provides detailed information about the Diarkis server.

Primary Programming Language

The Diarkis server primarily uses the Go 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 that involve callbacks usually indicate the internal use of goroutines, although this is not always the case.

Diarkis Server Cluster and Application Server

To establish a connection for communication with the Diarkis server cluster, it is necessary to obtain connection endpoints and other required data from the cluster via the HTTP API.

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

The Diarkis cluster can be composed of MARS, HTTP, UDP/RUDP, or TCP.

MARS

A mandatory server for the Diarkis cluster

HTTP

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

UDP/RUDP

Real-time communication server via UDP/RUDP

TCP

Real-time communication server via TCP

These server configurations can be quickly initialized using the Diarkis server template.

Diarkis Server Template

Last updated