Server-based Worker Nodes
Last updated
Last updated
A Worker Node is a lightweight off-chain processing unit with an ability to execute business logic in a form of NodeRed flow file.
A Worker Node executing logic can actively contribute in meaningful way to range of use cases. Examples can be found here: Worker Node Usage Use Cases.
Worker Nodes functionalities and EWX blockchain connection enable transparency and verification capabilities for your system. Additionally, thanks to its lightweight architecture, worker nodes are perfectly suitable and a good fit for applications that require decentralized execution components.
Worker Node, apart from its initial set-up, is entirely controlled by Blockchain based actions. That means that after your initial Worker set-up is completed, no additional changes will be needed.
Blockchain based action controlling Worker Node behavior could be applied via the Marketplace App - an EW built Blockchain Operator UI, or by directly interacting with blockchain.
To understand more about how Worker Nodes can be used, please go to the Sample Use Cases section.
Below you can find a High Level Architecture to understand how worker node fit into the wider EWX ecosystem.
Server based Worker Node main differentiation is visible when you compare it to the Marketplace Desktop App.
The Marketplace Desktop App contains both Worker Node running engine as well as Blockchain Interaction UI.
For Server based Worker Nodes, the Blockchain Interaction UI was de-coupled from Worker Engine to achieve the best from both sides.
You want to have a reliable PROD-level set-up for your Worker Node
You don't want/can't use desktop application for blockchain set-up management/worker engine (e.g. because you don't want to keep your desktop running 24/7)
You anticipate heavier loads to be run on top of your Worker Node