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.
Layer0 is designed to run as a Windows service.
- Run
cmd.exe
as Administrator layer0.exe --install --start
to install and start layer0
Once installed, layer0 can be started/stopped via services.msc
:
- Launch Start / Windows Administrative Tools / Services (or run
services.msc
) - Right-click service named Ruyi Layer0 and select Start/Stop
Or, to stop it from the command-line:
- Run
cmd.exe
as Administrator layer0.exe --stop