Skip to content

How It Works

Bwar edited this page Mar 4, 2019 · 7 revisions

nebula process     Nebula's process model is shown above and consists of manage processes and worker processes. When booting, the boot program first creates the manage process, the manage process reads the configuration file, and then binds the host, listens on the port, and fork worker processes.
    The manage process is responsible for monitoring and managing the worker process, communicating with the registration center to report current node information, receiving other node information, configuring delivery, receiving a new connection, and transmitting the connection file descriptor to the worker process.
    The work process is responsible for data transmission and processing.
    Two (control flow and data flow) UnixSocket communication between the management process and the work process.

Clone this wiki locally