Small D Class - New version of the micro-services springcloud + registry Docker tutorial _3-01 What is micro-services

notes


Chapter III SpringCloud core component registry



registry 1. What is micro-services
    Description: to explain what is the registration center, which used the registry (drawing)
        
        understand the registry: service management, there is a core service registry, heartbeat mechanisms for dynamic maintenance

        service provider provider: start time reported to the registry own network information
            
        services consumer consumer: when to start their own network information reported to the registry, pull the relevant network information provider's


        Why:
            micro application services and more and more machines, caller needs to know the network address of the interface, if by way of the configuration file to control the network address for the dynamic new machine, maintenance great question

        mainstream registry:
            ZooKeeper, Eureka, Consul, etcd etc.

Start

There are three nodes abc Goods Services servers are deployed in goods and services.

Registration centers will each service node heartbeat. For example, sixty seconds of each heartbeat packets are sent to the registry. This indicates that the current service is available.







 

Guess you like

Origin www.cnblogs.com/wangjunwei/p/11440282.html