|
|
|
|
|
by nsotelo
1690 days ago
|
|
There are many scenarios where it's useful, but I will illustrate a simple and important one. When you do a rolling upgrade, a new service must be assigned to an available port different to the existing one. After starting you'll probably run some health checks, and once satisfied you'll want to switch traffic over to the new instance and halt the old. How do you tell the rest of your infrastructure what the new port is? Service discovery. |
|
Rolling is trickier, but still, native cloud solutions do not use service discovery, imho.