Service Registry
Last updated
Was this helpful?
Last updated
Was this helpful?
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.
Three ways for service discovery:
Discovery and internals:
Theory:
Practical:
TODO: Registry center:
TODO: Select among registry centers
TODO: Whether a node is alive:
Notification storm problem 高并发设计40问