API Gateway

Introduction

  • It acts as bridge between client and backend services

  • It performs authentication, load balancing, circuit breaking, service discovery, protocol translation, monitoring and logging, but also caching

Flow

  • Firstly, receive the request from client and check that it is in correct format

  • Then, check that the domain is in allow-list and the identity of the user

  • But also check the request rate is over the limit or not

  • With the help of service discovery to locale the corresponding backend registered by path matching of API gateway

  • Transform the suitable protocol to communicate with backend services, and finally transform back to http protocol to send back the response back to client

References

Last updated

Was this helpful?