From e23f107e5cbbeca38344896017c4ac5a33386538 Mon Sep 17 00:00:00 2001 From: TJKoury Date: Thu, 20 Oct 2016 17:21:56 -0400 Subject: [PATCH] Updated Architecture: Cluster Multi Process (markdown) --- Architecture:-Cluster---Multi-Process.md | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Architecture:-Cluster---Multi-Process.md b/Architecture:-Cluster---Multi-Process.md index 0ab22d1..45d5c1b 100644 --- a/Architecture:-Cluster---Multi-Process.md +++ b/Architecture:-Cluster---Multi-Process.md @@ -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