Node.js Operators and Operating System Processes

SAP Data Intelligence runs every Node.js operator in its own operating system process, which allows the Node.js subengine to use multicore CPUs and parallel system architectures.

Also, running Node.js operators in its own operating system provides isolation between Node.js operators for enhanced security.

A Node.js process communicates by TCP socket-based IPC (interprocess communication), which is coordinated by the Node.js subengine. In turn, SAP Data Intelligence runs the Node.js subengine in its own process. There's one coordinating Node.js subengine process per subgraph that consists of only Node.js operators.

When all multiplexers run directly in the Node.js subengine process, there's a reduction in communication overhead. To configure all multiplexers to run directly in the node.js subengine process, set the Subengine to com.sap.node in the Node.js subgraph configuration pane. If you don't configure the subengine in this manner, the subgraph divides into two Node.js subgraphs with a multiplexer in between running in Go or another subengine.