⛩️ API Gateway

Gunho·2025년 1월 4일

⛩️ API Gateway

⛩️ API Gateway is an intermediary between a client and a server which plays a privotal role in implementing MSA services.

API Gateway provides the below features:

  • 🚥 Routing/Forwarding
  • 👮 Security
  • 🔌 Protocol Translation
  • ✍️ Logging
  • ⚙️ Others

Microsoft Azure Available at here


API Gateway is often considered as a superset of a reverse proxy implying that an API Gateway offers all the available features of a reverse proxy and offers more features. Below could be a good comparison between the two:

Baeldung Available at here



🚥 Routing/Forwarding

🚥 Routing/Forwarding is a feature that forwards a request into a service that runs the most relevant URL.

Routing/Forwarding in API Gateway can be considered as identical to the same feature in a reverse proxy, and via Routing/Forwarding application's overall performance (low latency) and management can impove following:

  • Load Balancing
  • Reduced Return Trips
  • Filters
  • API Management
  • Caching

👮 Security

👮 Security in API Gateway refers to extra security layers that consist of authentication, authorisation, rate limiting and etc.


🔌 Protocol Translation

🔌 Protocol Translation is a feature that converts a requested protocol into a server-acceptable protocols.


✍️ Logging

✍️ Logging refers to the same logging at the app-level in which in the MSA environment, undertaking the app-level logging implicitly impose difficulties in analysing.

API Gateway becomes a good point where a Logging could take place followed by the fact that all requests are incoming via API Gateway if implemented.


⚙️ Others

In regards of others features of API Gateway, common features can be aggreated and orchestrated to present data in a short latency as well.



📚 References

Micorosft Azure
Baeldung
F-Lab

profile
Hello

0개의 댓글