Self-Hosting

What is Self-Hosting?

Self-hosting is when you take on the responsibility of launching, managing and scaling replication servers using your own server infrastructure. coherence Cloud offers a secure and comprehensive solution for hosting Replication Servers but if you already have server capacity, and the technical capability, you might consider this option.

Using the replication server for self hosting requires special licensing, please contact [email protected] for more info.

Launching the Replication Server

Similar to local development, self hosting relies on launching the Replication Server application in either world or rooms mode using command line options:

replication-server (world|rooms) [options]

Which options to use and other settings depend on which mode is selected. See World and Rooms for more info.

The SDK includes binaries of the replication server suitable for 64 bit systems:

  • Windows (10/11)

  • Darwin (universal)

  • Linux (intel and ARM)

These binaries are found in the SDK package Runtime~ folder.

Monitoring

Once the ReplicationServer is launched, it can be monitored for health and a variety of metrics can be scraped to provide performance information. Also, the Replication Server provides logs to both the stdout and stderr channels.

Last updated

Was this helpful?