- Hands-On Serverless Computing
- Kuldeep Chowhan
- 220字
- 2021-08-05 10:35:29
API gateway
One of the things that I mentioned about FaaS earlier is the API Gateway. An API Gateway is a layer that stands in front of backend HTTP services or other resources, such as FaaS, and decides where to route the HTTP request based on the route configuration defined in the API gateway solution. In the context of FaaS, the API Gateway maps the incoming HTTP request parameters to the inputs to the FaaS function. The API gateway then transforms the response that it receives from the function and converts it into an HTTP response and returns that HTTP response back to the caller of the API gateway.
Each cloud provider has an offering in this space:
- AWS has an offering called API gateway
- Microsoft Azure has an offering called Azure API management
- GCP has an offering called Cloud Endpoints
The working of the Amazon API gateway is as shown in the following figure:

API gateways provide additional capabilities along with routing the requests, including:
- Authentication
- Throttling
- Caching
- Input validation
- Response code mapping
- Metrics and logging
The best use case for FaaS + API gateway is the creation of a feature-rich HTTP-based microservice with scaling, monitoring, provision, and management all taken care of by the provider in a true serverless computing environment.
- Instant Raspberry Pi Gaming
- Dreamweaver CS3 Ajax網(wǎng)頁(yè)設(shè)計(jì)入門與實(shí)例詳解
- 火格局的時(shí)空變異及其在電網(wǎng)防火中的應(yīng)用
- PostgreSQL 11 Server Side Programming Quick Start Guide
- Python Algorithmic Trading Cookbook
- INSTANT Autodesk Revit 2013 Customization with .NET How-to
- 可編程序控制器應(yīng)用實(shí)訓(xùn)(三菱機(jī)型)
- 人工智能實(shí)踐錄
- Troubleshooting OpenVPN
- Windows Server 2008 R2活動(dòng)目錄內(nèi)幕
- Working with Linux:Quick Hacks for the Command Line
- Visual C++項(xiàng)目開發(fā)案例精粹
- Mastering Ansible(Second Edition)
- 自適應(yīng)學(xué)習(xí):人工智能時(shí)代的教育革命
- 實(shí)戰(zhàn)Windows Azure