All Questions
Api Gateway medium

In the 'Microservices' philosophy, why is it considered an 'Anti-Pattern' to place complex business logic (e.g., calculating tax or loyalty points) inside the API Gateway?

  1. A Because Gateways are built only with C++ and cannot execute complex mathematical formulas.
  2. B It creates a 'Thick Gateway' (Monolithic logic at the edge), making the Gateway hard to test, slow to deploy, and a centralized bottleneck for all development teams.
  3. C It prevents the microservices from being able to access the internet.
  4. D Business logic in the Gateway forces the frontend to skip authentication.

One system design question a day, with spaced repetition so the ones you miss come back.

Get the app

Related questions