SDET Interview Series : Load Balancer vs API Gateway

SDET
Sep 5, 2022

--

Application Load Balancer

  • It automatically distributes incoming traffic to different backend.
  • ALB works on layer 7 of the OSI model.
  • Infrastructure is managed by AWS, which can be horizontally and vertically scaled.
Application Load Balancer
  • AWS Lambda : Compute service that runs your code in response to events and automatically manages the compute resources.
  • Amazon EC2(Elastic Compute Cloud) : Resizable compute capacity in the Cloud.

API Gateway

  • Fully managed and server-less API service from AWS.
  • Infrastructure is managed by AWS, which can be horizontally and vertically scaled.
  • API Gateway basically act as an abstraction layer so that Frontend doesn’t have to worry about the backend micro-service.

Other Important Points :

Load Balancer can also be used along with API Gateway
BFF : Backend For Frontend Architecture

--

--

No responses yet