1.

What is API Gateway?

Answer»

API Gateway is a special class of microservices that meets the need of a single client application (such as android app, web app, angular JS app, iPhone app, etc) and provide it with single entry point to the backend resources (microservices), providing cross-cutting concerns to them such as security, monitoring/metrics & resiliency. 

Client Application can access tens or hundreds of microservices concurrently with each request, aggregating the response and transforming them to meet the client application’s needs. Api Gateway can use a client-side load BALANCER library (Ribbon) to distribute load across instances based on round-robin FASHION. It can ALSO do protocol translation i.e. HTTP to AMQP if necessary. It can handle security for protected resources as well.

Features of API Gateway

  1. Spring Cloud DiscoveryClient integration
  2. Request Rate Limiting (available in Spring Boot 2.x)
  3. Path Rewriting
  4. Hystrix Circuit Breaker integration for resiliency


Discussion

No Comment Found