From fe515934d4f2d356aea594ac11a9a1c5513e15ee Mon Sep 17 00:00:00 2001 From: TJKoury Date: Tue, 12 May 2015 06:59:29 -0400 Subject: [PATCH] Updated Design: Runtime extension points (markdown) --- Design:-Runtime-extension-points.md | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Design:-Runtime-extension-points.md b/Design:-Runtime-extension-points.md index e9b9509..923a7ba 100644 --- a/Design:-Runtime-extension-points.md +++ b/Design:-Runtime-extension-points.md @@ -35,4 +35,7 @@ The requirements are: - Using the Cluster module, instantiate the master process within which runs the main server instance with the admin interface. The settings file defines how many processes to spawn, with a 'max' argument spinning up one process per logical core. The master process listens for child death and respawns a set number of times as configured in the settings file. - Communication between the cluster master and child processes is handled by passing serialized JSON messages. All messages are defined by originating node id designation, and multi-process enabled nodes listen to the message event from the cluster master on the local cluster and call the 'send' method on the enabled node, activating the flow at that point. - - Individual nodes that are multi-process enabled \ No newline at end of file + - Individual nodes that are multi-process enabled have a drop-down to define multi-process behavior + -- Node can receive a message from the identical node on another process/machine and execute flow as if request originated with that node, by listening to the process 'message' event. + -- Node can debounce request based on timed input (ws heartbeat, timer input), making sure that at least one or no more than one signal is processed during the timer duration + -- Node can debounce request based on external event (file system change, system state change) with a minimum debounce interval (e.g., disregard all messages from node with id 814577ba.7eba88 and payload /tmp/test.txt within 50 ms of the last message meeting those criterion) \ No newline at end of file