Skip to content

Latest commit

 

History

History
33 lines (19 loc) · 1.49 KB

layer0.md

File metadata and controls

33 lines (19 loc) · 1.49 KB

Layer0

Platform Architecture

The platform has the following architecture:

Layer0 is a background daemon that exposes features of the Ruyi platform as a set of "services". It runs atop a host OS such as Windows 10 running on your local workstation, or Z+ OS running on the console.

Client applications interact with the platform (and indirectly with eachother) via the SDK implemented with Apache Thrift. This provides a consistent, versioned, well-documented, and mostly standardized way of interacting with the platform from a wide variety of languages.

Asynchronous push messages are received by subscribing to topics published via ZeroMQ.

Online services are provided by a customized instance of brainCloud running within China.

Starting and Stopping

Layer0 is designed to run as a Windows service.

  1. Run cmd.exe as Administrator
  2. layer0.exe --install --start to install and start layer0

Once installed, layer0 can be started/stopped via services.msc:

  1. Launch Start / Windows Administrative Tools / Services (or run services.msc)
  2. Right-click service named Ruyi Layer0 and select Start/Stop

Or, to stop it from the command-line:

  1. Run cmd.exe as Administrator
  2. layer0.exe --stop