Netflix eureka (registration discovery)
In the microservice mode, a large web application is usually split into many smaller web applications (services). At this time, there needs to be a place to store the relevant information of these services, so that each small application can know each other. At this time, you need to register with the registration center. Each application registers its own information (ip address, port number, service name, etc.) with the configured registration center when it starts, and the registration center saves them. When the services call each other, they can be found in the registration center through the service name. Corresponding service information, so as to communicate. Registration and discovery services bring convenience to calls between microservices and solve the problem of hard coding. The service can obtain the service of the other party only through the service id of the other party without knowing its ip and port.
Last updated