What role does an API Gateway play in service discovery in a microservices architecture?

  • It acts as a mediator, directing requests to the appropriate microservices
  • It has no role in service discovery in microservices
  • It hosts the microservices and manages their communication
  • It only provides documentation for microservices
An API Gateway in a microservices architecture plays a role in service discovery by acting as a mediator, directing requests to the relevant microservices based on the request's destination.
Add your answer
Loading...

Leave a comment

Your email address will not be published. Required fields are marked *