Grokking Microservices for System Design Interviews
0% completed
Service Discovery and the Service Mesh
1. Service Discovery: The Problem and Its Two Shapes
Checkout needs to call Payments. What address does it use?
Instances are ephemeral, which means they come and go constantly. Autoscaling adds them, deployments replace them, and failures remove them. Every one of those events moves the IP addresses around.
So a fixed list of addresses in a config file cannot work. **Hardcoded addresses died with the static datacenter
.....
.....
.....
Like the course? Get enrolled and start learning!