Cons of the API Gateway pattern

These are the disadvantages of using an API Gateway proxy in your distributed application:

  • API Gateway is the single entry point to apply all common aspects, it could be risky sometimes because of the single point of failure if proper measures are not taken to make it highly available
  • Managing API information of various microservices might be difficult in the API Gateway service

We have discussed some pros and cons of using the API Gateway pattern in your microservices-based application. Let's see the API Gateway pattern components in the next section.

Get Mastering Spring Boot 2.0 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.