30 Jun

ABN Techweek: What does API Gateway do?

ABN Tech Week trains engineers on the most important issues in building highly scalable software systems. The topic for today is: API Gateways, what do they do?

What does API gateway do? The diagram below shows the detail.

Step 1 – The client sends an HTTP request to the API gateway.

Step 2 – The API gateway parses and validates the attributes in the HTTP request.

Step 3 – The API gateway performs allow-list/deny-list checks.

Step 4 – The API gateway talks to an identity provider for authentication and authorization.

Step 5 – The rate limiting rules are applied to the request. If it is over the limit, the request is rejected.

Steps 6 and 7 – Now that the request has passed basic checks, the API gateway finds the relevant service to route to by path matching.

Step 8 – The API gateway transforms the request into the appropriate protocol and sends it to backend microservices.

Steps 9-12: The API gateway can handle errors properly, and deals with faults if the error takes a longer time to recover (circuit break). It can also leverage ELK (Elastic-Logstash-Kibana) stack for logging and monitoring. We sometimes cache data in the API gateway.

About ABN Asia: ABN Asia was founded by people with deep roots in academia, with work experience in the US, Holland, Hungary, Japan, South Korea, Singapore, and Vietnam. ABN Asia is where academy and technology meet opportunity. We’re the software maker with academy origins that’s shaking up the SME game in Asia. With our cutting-edge solutions and competent software development services, we’re helping small and medium-sized businesses level up and take on the big players.

AbnAsia.org Software. Faster. Better. More Reliable. +84945924877 (Asia# Mobile, WhatsApp, Telegram, Viber, Zalo); +16699996606 (US# Mobile, WhatsApp, Telegram) [email protected]

Call Now Button