Edit this page

Hub node

What is Hub node?

Hub node is a main SONM component for Supplier that provides the Supplier's resources to Consumer. Hub manages Workers' resourses, and distributes tasks among resources.

Hub node is implemented in Go. Run on the Supplier's PC, that was selected as hub.

Functions

  • Resource management and control. Interaction with Worker nodes over open channels, encrypted with TLS.
  • Place ASK orders om Marketplace. Interaction with Marketplace over open channels, encrypted with TLS.
  • Check proposed deals from Consumer. Interaction with Consumer's Client node over open channels, encrypted with TLS.
  • Accept, control, close deals. Interaction with Smart contract over open channels, encrypted with TLS.
  • Manage tasks. Interaction with Worker nodes over open channels, encrypted with TLS.
  • Entering data to calculate ratings. Interaction with Smart contract over open channels, encrypted with TLS.

What is a high-availability cluster

For achieving high availability Supplier may organize high-availability cluster with three or more hubs.

High-availability cluster is a group of computers with server application that can be reliably utilized with a minimum amount of down-time. They operate by using high availability software to harness redundant computers in groups or clusters that provide continued service when system components fail. Without clustering, if a server running a particular application crashes, the application will be unavailable until the crashed server is fixed. HA clustering remedies this situation by detecting hardware/software faults, and immediately restarting the application on another system without requiring administrative intervention, a process known as failover. As part of this process, clustering software may configure the node before starting the application on it.

For organizing high-availability cluster for hubs Supplier in SONM may use software: