Interview Bootcamp
Ask Author
Back to course home

0% completed

Vote For New Content
Ricardo Franco
Service discovery

Ricardo Franco

Nov 23, 2023

If the API Gateway is the router, why do clients need service discovery to access the services?

4

0

Comments
Comments
LeafarBlu BR
LeafarBlu BRa year ago

The clients would not need it, but the API Gateway yes. With service discovery, the API Gateway can use the service discovery to define the target for a request, considering that the services and instances available can change dynamically.