What the API Gateway !!

Narendra Lakshmana Gowda
4 min readMar 8, 2020

This story is the written form of the series of videos I made on the same topic. If you would like to watch more concepts about microservices, watch them here is this playlist

Lets learn why do we need API gateway and there advantages and disadvantages.

If you see the below product page, its fetching data from many microservices

  1. Number of items in the shopping cart
  2. Order history
  3. Customer reviews
  4. Low inventory warning
  5. Shipping options
  6. Various recommendations, including other products this product is frequently bought with, other products bought by customers who bought this product, and other products viewed by customers who bought this product
  7. Alternative purchasing options

When using a monolithic application architecture, client retrieves these data by making a single one or two calls to the application

GET http://myecommerce.com/productdetails/productId

--

--