The limitations of the API gateway pattern include the following:
- API gateways must be created as Edge applications, which in turn must be developed, deployed, and managed
- It might increase response time due to additional network calls through the API gateway—this is not as time-consuming as the client-to-microservice approach, however
- It could become a single point of failure if the proper measures are not taken
Despite these drawbacks, the API gateway approach is widely used by most real-world applications.