MARS Server
Overview
The MARS (Mesh network Announcement Relay Storage) server is a unique server possessed by Diarkis and is an essential component for any Diarkis cluster.
The MARS server is characterized by its ability to function without the need for scaling or redundancy, and it does not become a single point of failure. Even if a short downtime occurs, it does not impact the overall Diarkis cluster. In the event of an issue, the integrity of the Diarkis cluster can be maintained by simply restarting the server.
Setting Up the MARS Server
Configuring the MARS Server
Configuration is specified in JSON format.
address
"127.0.0.1"
The address to which the UDP server binds
port
"6779"
The port for binding the MARS server. The UDP server will automatically search for an available port starting from the specified port.
fullSyncRoles
["HTTP"]
An array of server roles that synchronize all mesh data
enableMetricsLogging
false
If set to true
, the MARS server will output JSON data for metrics to standard output every second.
When Launching Different Versions of Diarkis
The MARS server segregates and manages data based on the Diarkis server version. This prevents user data from being mixed across applications with different versions.
Last updated
Was this helpful?