Architecture
Architecture
Architecture Description
Node Description
Registry
: The registry center responsible for service registration and discovery in dubbo-goConsumer
: The service consumer that calls remote servicesProvider
: The service provider that exposes services
Process Description
0. register
: When the service provider starts, it will automatically register its services with the registry center1. subscribe
: The service consumer will subscribe to the services it needs from the registry center upon starting2. notify
: The registry center returns service registration information to the service consumer. When the subscribed service changes, the change data will be pushed to the consumer3. invoke
: The service consumer selects a suitable service address based on the service addresses obtained from the registry center and initiates a request after applying the load balancing algorithm