
上QQ阅读APP看书,第一时间看更新
Benefits of the API gateway for microservices
There is no doubt that the API gateway is beneficial for microservices. With its use, you can do this:
- Services are invoked through the API gateway
- Round trips between the client and the application are reduced
- The client has the ability to access different APIs in one place, as segregated by the gateway
It provides flexibility to clients in such a manner that they are able to interact with different services as and when they need. This way, there is no need to expose complete/all services at all. API gateway is a component of complete API management. In our solution, we will use Azure API management and explain it further in Chapter 3, Integration Techniques.