Service Registry
Motivation: Use Nginx as an example
- Nginx is a reverse proxy. It knows the application servers' address because it is inside configuration file. This approach has some limitations: - When application servers scale up, needs to update Nginx's config file and restart. 
- When application servers have problems, also need to update Nginx's config file and restart. 
 
References
- Three ways for service discovery: https://time.geekbang.org/course/detail/100003901-2269 
- Discovery and internals: 
- TODO: Registry center: 
- TODO: Select among registry centers 
- TODO: Whether a node is alive: 
- Notification storm problem 高并发设计40问 
Last updated
Was this helpful?