- Cloud-Native Applications in Java
- Ajay Mahajan Munish Kumar Gupta Shyam Sundar
- 249字
- 2021-06-24 19:07:19
Benefits of an API gateway
Use of API gateways provides the following benefits:
- Separation of concerns: Insulates the microservice providers from the service consumers on the application side. This allows the separation of the application tier from the service requesting clients.
- Consumer oriented: API gateways provide a unified hub for a large number of APIs and microservices. This allows the consumer to focus on API utility instead of locating where a service is hosted, managing service request limits, security, and so on.
- API oriented: Provides an optimum API based on the type of the client and required protocols.
- Orchestration: Provides the ability to orchestrate multiple services calls into one API call, which in turn simplifies the logic for a client. Now, instead of calling multiple services, it can invoke one API. Fewer requests means less invocation overhead and improve the consumer experience overall. An API gateway is essential for mobile applications.
- Monitor: An API gateway also provides the ability to monitor API invocations, which in turn allows enterprises to evaluate the success of APIs and their usage.
Besides the overall benefits, API gateways add more pieces to the overall puzzle. Meaning more infrastructure to manage, more configurations to manage, more points of failure, and additional hops to the requests. So, unless the benefits outweigh the drawbacks, use of API gateways needs be carefully scrutinized for the business requirements and benefits.
Next, we will see the process of breaking down the application functionalities as a set of APIs or microservices.
推薦閱讀
- Premiere Pro與After Effects從入門到實戰(zhàn)(微課版)
- 元器件易學通:常用元件分冊
- SDH技術(第3版)
- 手機結構設計完全自學與速查手冊
- 信息論基礎(第2版)
- 通信網(wǎng)絡智能管道架構與技術實現(xiàn)
- 創(chuàng)客電子入門
- Untangle Network Security
- 數(shù)字新基建的大動脈:光纜技術革新與管線施工
- 一個APP的誕生2.0:從零開始設計你的手機應用
- 液晶彩電易損電路上門維修速查手冊
- 被動雷達寬帶數(shù)字接收機技術
- 無源RFID電子標簽天線理論與工程 (清華開發(fā)者書庫)
- IMS技術行業(yè)專網(wǎng)應用
- 傳感器與檢測技術(第3版)