Skip to content

Latest commit

 

History

History
12 lines (10 loc) · 2.04 KB

Swarm_Learning_component_interactions.md

File metadata and controls

12 lines (10 loc) · 2.04 KB

The Swarm nodes interact with each other in many ways using network ports that are dedicated for each purpose:

Callout Description
1 (SN Peer-to-Peer Port)
This port is used by each SN node to share blockchain internal state information with the other SN nodes. The default value of this port is 30303.
2 (SN API Port)
This API server is used by the SL nodes to send and receive state information from the SN node that they are registered with. It is also used by SWCI and SWOP nodes to manage and view the status of the Swarm Learning framework. The default value of this port is 30304.
3 (SL File Server Port)
This port is used by each SL node to run a file server. This file server is used to share insights learned from training the model with the other SL nodes in the network. The default value of this port is 30305.
4 (License Server API Port)
This port is used by the License Server node to run a REST-based API server and a management interface. The API server is used by the SN, SL, SWOP, and SWCI nodes to connect to the License Server and acquire licenses. The management interface is used by Swarm Learning platform administrators to connect to the License Server from browsers and administer licenses. The default value of this port is 5814.
5 (SWCI API server port)
This port is used by the SWCI node to optionally run a REST-based API service. This SWCI API service can be used to control and manage the Swarm Learning framework from a program by using the library provided in the wheels package. The default value of this port is 30306.
6 (SL_REQUEST_CHANNEL and SL_RESPONSE_CHANNEL)
These named pipes (FIFO) are used between each pair of ML and SL nodes for exchanging the model parameters.