FastAPI Microservice Patterns: Service discovery in container orchestration platforms
Enabling FastAPI service communication in Kubernetes explained
What’s the problem?
To enable communication between services based on synchronous communication mechanisms like REST or gRPC the services need to know each others location (IP address and port). But how can a client (service which depends on an endpoint of another service) discover the location of the service it depends on?