- 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.
推薦閱讀
- 雷達(dá)微波新技術(shù)
- App Inventor移動(dòng)應(yīng)用開(kāi)發(fā)標(biāo)準(zhǔn)教程
- SELinux Cookbook
- 教你看懂CRT數(shù)字高清彩色電視機(jī)線路圖
- 開(kāi)關(guān)電源維修從入門到精通(第3版)
- 2018—2019年中國(guó)無(wú)線電應(yīng)用與管理藍(lán)皮書
- TD-LTE無(wú)線網(wǎng)絡(luò)規(guī)劃與優(yōu)化實(shí)務(wù)
- 大話無(wú)線室內(nèi)分布系統(tǒng)
- 基于加權(quán)多維標(biāo)度的無(wú)線信號(hào)定位理論與方法
- 圖解液晶電視機(jī)電源板維修實(shí)戰(zhàn)
- Android商業(yè)軟件開(kāi)發(fā)全程實(shí)戰(zhàn)
- 信息論與編碼
- 電子裝配與調(diào)試
- 開(kāi)關(guān)電源驅(qū)動(dòng)LED電路設(shè)計(jì)實(shí)例
- 電力通信、信息原理與技術(shù) 下冊(cè):電力信息