In this section, we will look at how to build an API Gateway. In the microservice-based architecture, the API gateway is just like a router that routes client requests to the appropriate microservice. So, while we build an API gateway application, we need to consider the various best practices in order to avoid any design issues. We will discuss potential design issues for the API gateway in this section.
Building an API gateway
API gateway performance and scalability
The performance and scalability of an API gateway application are very important because they are both single points that all client requests pass. With that in mind, we need to consider asynchronous and non-blocking I/O platforms when building an API gateway...