Scene One: Uniform Naming Service
We play to the service or application name, and then below there the corresponding ip address, this is easier to understand, similar to the DNS resolution
Scene Two:
We write the configuration file is / configuration file inside and then to three client / configuration node to monitor, when the change occurred after the node content, client will be told, then the client will receive a new configuration pull down, make changes
Scene Three:
The Unified Cluster management is real-time access to information nodes, this point is very important in the cluster, client start each one will be registered in zk cluster and listens, when the server is changed, it will make corresponding changes
Scene Four:
is the server will cluster server status information is written to the cluster zk, 2 occurs when the server changes, zk data will change, which will inform the client, it would not go cilent this connection server2 the server
Scene Five:
In zk cluster storage, access to the storage node information and the number of nginx cluster service, zk will be allocated according to the number of new requests access nodes.