In the Evolution of Software Architecture post, we have seen the purpose of API Gateways.
API Gateways frontend the microservices and they provide the following features:
- API Registry – Microservices can register themselves to API Gateway
- API Composition – API Gateway can compose different microservices to a composite service
- API Security – API Gateway provide secutity to the Microservices from the external world
- Consumer Management – API Gateway manages the consumers who consume the API
- API Auditing – API Gateway provide Request and Response auditing to Microservices
- API Monetization – By managing consumers, and being able to track the number of requests, APIs can be monetized.