architecture - What is the benefit of having health check address on different port instead of using a different path? -


when search best practices microservice architectures, different port application used health check address. practice microservices , pros , cons method?

there no inherent benefit of making health checks on different port on different url path - or vice versa.

at end, port abstraction of underlying operating system, routing traffic different processes.

what can matter concrete network infrastructure / setup in use: firewall, load balancers, service discovery, etc.

maybe different ports easier configure rules in firewall / ips / web application firewall? - implementation specific.

to recap: both fine. use makes life easier, unless discover concrete need infrastructure / network setup.


Comments

Popular posts from this blog

php - Vagrant up error - Uncaught Reflection Exception: Class DOMDocument does not exist -

vue.js - Create hooks for automated testing -

Add new key value to json node in java -