Updated Architecture: Cluster Multi Process (markdown)

TJKoury 2016-10-20 17:21:56 -04:00
parent 5da7296ddd
commit e23f107e5c
1 changed files with 8 additions and 0 deletions

@ -1,11 +1,19 @@
##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
| 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. |
|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