@startuml
'https://plantuml.com/component-diagram
title 网络代理集群模式设计集群初始化 node1 初始化后自动初始化node2

package "Network Cluster" {

     database "Network DB" {

     }

    node "node1"{

         node "Network Server Node1" {

         }
         node "Network Client Node1" {

         }

         "Network Server Node1" ----> "Network Server Node1" : 5. rescan node config and  register

         "Network Server Node1" --left--> "Network DB" :node1 config story get and use

'         "Network DB" --down-- "Network Client Node1" :node1 config get and use

         "Network Client Node1" --up--> "Network Server Node1" :node1 register

        ' "Network Server Node2" --> "Network Client Node1" :scan node config and  register
    }
    node "node2"{

         node "Network Server Node2" {

         }
         node "Network Client Node2" {

         }

         "Network Server Node2" ----> "Network Server Node2" : rescan node config and  register

         "Network Server Node2" --right--> "Network DB" :1. node2 config story get and use

'         "Network DB" --down--> "Network Client Node2" :node2 config get and use

         "Network Client Node2" --up--> "Network Server Node2" :2. node2 register..
         "Network Server Node2" --down--> "Network Client Node2" :3. node2 register success

         "Network Client Node2" --left-> "Network Server Node1" :4. send msg to all register server ,tail it  scan node config and  register
'         "Network Client Node2" ---> "Network Server Node2" :send msg to all register server ,tail it  scan node config and  register
    }

}


@enduml