Diarkis Server

Overview

To operate a Diarkis server in production, it's necessary to select the appropriate cloud services and customize settings according to requirements. This document provides details about the Diarkis server.

Primary Programming Language

The Diarkis server primarily utilizes 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 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 consist of any of the following: MARS, HTTP, UDP/RUDP, TCP.

MARS

A server that is essential in every 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

server cluster diagram

These server configurations can be easily started by utilizing the Diarkis server template.

Diarkis Server Template

Last updated

Was this helpful?