mirror of https://github.com/node-red/node-red.git
Updated Architecture: Cluster Multi Process (markdown)
parent
5da7296ddd
commit
e23f107e5c
|
@ -1,11 +1,19 @@
|
||||||
##Multi-Process Model
|
##Multi-Process Model
|
||||||
|
|
||||||
|
The multi-process version of Node-RED starts the admin server, interface, and API on the master process, then spawns workers that run the flows independently of the master process.
|
||||||
|
|
||||||
|
Communication from the worker processes to the master is handled via IPC.
|
||||||
|
|
||||||
##Files
|
##Files
|
||||||
| File | Description |
|
| File | Description |
|
||||||
|:-----|:------------|
|
|:-----|:------------|
|
||||||
|clusterRED.js| In charge of general process management. Returns a 'clusterRED' object. Has methods to initialize master and worker processes, spawn and kill new processes, provide status on child processes. |
|
|clusterRED.js| In charge of general process management. Returns a 'clusterRED' object. Has methods to initialize master and worker processes, spawn and kill new processes, provide status on child processes. |
|
||||||
|
|red.js| Controls instantiation of admin server, api , core admin UI, and static server.|
|
||||||
|
|
||||||
|
##Issues
|
||||||
|
- [ ] **Config node capabilities**.
|
||||||
|
- [ ] **Static server**. Run single-processed on master, or instantiate new static path on each clustered http-server instance? Does this option reside in the http-server config node menu, along with a static path?
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
##General Notes
|
##General Notes
|
||||||
|
|
Loading…
Reference in New Issue